Module: Net::SSH::Authentication::ED25519Loader
- Defined in:
- lib/net/ssh/authentication/ed25519_loader.rb
Overview
Loads ED25519 support backed by Ruby OpenSSL raw key APIs.
Class Method Summary collapse
Class Method Details
.ed25519SupportRequired ⇒ Object
30 31 32 |
# File 'lib/net/ssh/authentication/ed25519_loader.rb', line 30 def self.ed25519SupportRequired "net-ssh requires openssl >= 3.2.0 and a crypto backend with Ed25519 enabled for ed25519 support.\n" end |
.raiseUnlessLoaded(message) ⇒ Object
24 25 26 27 28 |
# File 'lib/net/ssh/authentication/ed25519_loader.rb', line 24 def self.raiseUnlessLoaded() description = LOADED ? '' : ed25519SupportRequired description += "#{ERROR.class} : \"#{ERROR.}\"\n" if ERROR raise NotImplementedError, "#{}\n#{description}" unless LOADED end |