Documentation
¶
Overview ¶
fidoauth implements the fido1 authentication API
Index ¶
Constants ¶
View Source
const ( CmdRegister = 0x01 CmdAuthenticate = 0x02 CmdVersion = 0x03 CtrlCheckOnly AuthCtrl = 0x07 // Check if the provided key is valid CtrlEnforeUserPresenceAndSign AuthCtrl = 0x03 // confirm with user then sign CtrlDontEnforeUserPresenceAndSign AuthCtrl = 0x08 // just sign without confirming )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticatorAuthReq ¶
type AuthenticatorRequest ¶
type AuthenticatorRequest struct {
Command uint8
Param1 uint8
Data []byte
Register *AuthenticatorRegisterReq
Authenticate *AuthenticatorAuthReq
}
func DecodeAuthenticatorRequest ¶
func DecodeAuthenticatorRequest(raw []byte) (*AuthenticatorRequest, error)
type AuthenticatorResponse ¶
Click to show internal directories.
Click to hide internal directories.