Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions AppxManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:com4="http://schemas.microsoft.com/appx/manifest/com/windows10/4"
xmlns:com5="http://schemas.microsoft.com/appx/manifest/com/windows10/5"
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6"
IgnorableNamespaces="uap rescap com4 com5 uap10 desktop6">

<Identity
Name="GoPassManager"
Publisher="CN=GoPass"
Version="1.0.0.0"
ProcessorArchitecture="x64"/>

<Properties>
<DisplayName>GoPass Manager</DisplayName>
<PublisherDisplayName>GoPass</PublisherDisplayName>
<Logo>Assets\Logo.png</Logo>
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
<desktop6:RegistryWriteVirtualization>disabled</desktop6:RegistryWriteVirtualization>
<desktop6:FileSystemWriteVirtualization>disabled</desktop6:FileSystemWriteVirtualization>
</Properties>

<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.26100.2894" MaxVersionTested="10.0.26200.7019"/>
</Dependencies>

<Resources>
<Resource Language="en-us"/>
</Resources>

<Applications>
<Application Id="GoPassManager" Executable="test.exe" uap10:TrustLevel="mediumIL"
uap10:RuntimeBehavior="win32App">
<uap:VisualElements
AppListEntry="none"
DisplayName="Go WebAuthn Plugin Test"
Description="WebAuthn Plugin Test Application"
BackgroundColor="transparent"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png">
</uap:VisualElements>
<Extensions>
<com4:Extension Category="windows.comServer">
<com4:ComServer>
<com4:ExeServer Executable="pkg\pluginauthenticator\plugin.exe">
<com4:Class
ProgId="GoPass.Manager.1"
VersionIndependentProgId="GoPass.Manager"
Id="1537ff70-8f94-495b-bad1-bcff96311d5f"
DisplayName="GoPass Manager"/>
</com4:ExeServer>
<com4:ProgId Id="GoPass.Manager" CurrentVersion="GoPass.Manager.1"/>
<com4:ProgId Id="GoPass.Manager.1" Clsid="1537ff70-8f94-495b-bad1-bcff96311d5f"/>
</com4:ComServer>
</com4:Extension>
</Extensions>
</Application>
</Applications>

<Capabilities>
<rescap:Capability Name="runFullTrust"/>
<rescap:Capability Name="unvirtualizedResources"/>
</Capabilities>
</Package>
Binary file added Assets/Square150x150Logo.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/Square44x44Logo.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ go get github.com/go-ctap/winhello

## Usage

See a small [example](/example).
See a small [example](/cmd/example).

## Requirements

Expand Down
4 changes: 3 additions & 1 deletion example/main.go → cmd/example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"log/slog"

"github.com/go-ctap/ctaphid/pkg/webauthntypes"

"github.com/go-ctap/winhello"
"github.com/go-ctap/winhello/hiddenwindow"
"github.com/go-ctap/winhello/pkg/hiddenwindow"

"github.com/goforj/godump"
)

Expand Down Expand Up @@ -44,8 +46,8 @@
},
},
&winhello.AuthenticatorGetAssertionOptions{
AuthenticatorAttachment: winhello.WinHelloAuthenticatorAttachmentCrossPlatform,

Check failure on line 49 in cmd/example/main.go

View workflow job for this annotation

GitHub Actions / build

undefined: winhello.WinHelloAuthenticatorAttachmentCrossPlatform
UserVerificationRequirement: winhello.WinHelloUserVerificationRequirementDiscouraged,

Check failure on line 50 in cmd/example/main.go

View workflow job for this annotation

GitHub Actions / build

undefined: winhello.WinHelloUserVerificationRequirementDiscouraged
CredentialHints: []webauthntypes.PublicKeyCredentialHint{
webauthntypes.PublicKeyCredentialHintSecurityKey,
},
Expand Down
Loading
Loading