forked from syndicate-lang/marketplace-ssh-2014
27 lines
707 B
Plaintext
27 lines
707 B
Plaintext
version 1 .
|
|
embeddedType EntityRef.Cap .
|
|
|
|
SshAuthenticatedUser = <authenticated @username string @service bytes>.
|
|
|
|
SshAuthMethod =
|
|
/ @none #"none"
|
|
/ @publickey #"publickey"
|
|
/ @password #"password"
|
|
.
|
|
|
|
SshAuthRequest =
|
|
/ <none @username string>
|
|
/ <publickey @username string @key PublicKey>
|
|
/ <password @username string @password string>
|
|
.
|
|
|
|
SshAuthenticationMethodAcceptable = <authentication-method-acceptable @method SshAuthMethod>.
|
|
|
|
SshAuthenticationAcceptable =
|
|
<authentication-acceptable? @method SshAuthMethod @request SshAuthRequest @ok bool>.
|
|
|
|
PublicKey = Ed25519PublicKey .
|
|
|
|
Ed25519PublicKey = <ed25519-public-key @q bytes>.
|
|
Ed25519PrivateKey = <ed25519-private-key @q bytes @d bytes>.
|