Module: Net::SSH::Authentication::SecurityKey

Defined in:
lib/net/ssh/authentication/security_key.rb

Overview

FIDO/U2F security keys held by ssh-agent. The agent does the signing (incl. user presence); net-ssh only parses and re-serialises the public key blob (see PROTOCOL.u2f).

Defined Under Namespace

Classes: PubKey

Constant Summary collapse

SK_ECDSA_SHA2_NISTP256 =
"[email protected]"
SK_SSH_ED25519 =
"[email protected]"
TYPES =
[SK_ECDSA_SHA2_NISTP256, SK_SSH_ED25519].freeze

Class Method Summary collapse

Class Method Details

.understands?(type) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/net/ssh/authentication/security_key.rb', line 14

def self.understands?(type)
  TYPES.include?(type)
end