fido2prf

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredential

func NewCredential(rpID, pin string) (string, error)

Types

type Identity

type Identity struct {
	// contains filtered or unexported fields
}

func NewIdentity

func NewIdentity(s string, getPIN func() (string, error)) (*Identity, error)

func NewIdentityFromData

func NewIdentityFromData(data []byte, getPIN func() (string, error)) (*Identity, error)

func (*Identity) Unwrap

func (i *Identity) Unwrap(s []*age.Stanza) ([]byte, error)

func (*Identity) Wrap

func (i *Identity) Wrap(fileKey []byte) ([]*age.Stanza, error)

Directories

Path Synopsis
cmd
internal
ctap2cbor
Package ctap2cbor implements a tiny subset of CTAP2's subset of CBOR, in order to encode and decode WebAuthn identities.
Package ctap2cbor implements a tiny subset of CTAP2's subset of CBOR, in order to encode and decode WebAuthn identities.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL