openssh_key.key_params.sk.SecurityKeyFlag¶
- class openssh_key.key_params.sk.SecurityKeyFlag(value)¶
Bases:
enum.EnumSecurity key flags supported by OpenSSH.
- __init__()¶
Attributes
Whether the private key requires the user to touch it before generating a signature (equivalent to executing
ssh-keygenwithout-O no-touch-required).Whether the private key requires user verification (equivalent to executing
ssh-keygenwith-O verify-required).Whether the private key should be stored on the FIDO authenticator (equivalent to executing
ssh-keygenwith-O resident).- RESIDENT_KEY = 32¶
Whether the private key should be stored on the FIDO authenticator (equivalent to executing
ssh-keygenwith-O resident).
- USER_PRESENCE_REQUIRED = 1¶
Whether the private key requires the user to touch it before generating a signature (equivalent to executing
ssh-keygenwithout-O no-touch-required).
- USER_VERIFCATION_REQUIRED = 4¶
Whether the private key requires user verification (equivalent to executing
ssh-keygenwith-O verify-required). Not all FIDO authenticators support this option. OpenSSH presently supports only PIN verification.