Parsed SSH_MSG_USERAUTH_REQUEST.
More...
#include <auth.h>
|
| char | user [SSH_AUTH_USER_MAX] |
| | User name, null-terminated.
|
| char | service [32] |
| | Requested service ("ssh-connection").
|
| char | method [24] |
| | Method name ("none", "password", "publickey", "keyboard-interactive").
|
| char | password [SSH_AUTH_PASS_MAX] |
| | Password (method == "password"); the old one on a change.
|
| char | new_password [SSH_AUTH_PASS_MAX] |
| | New password when is_pw_change (RFC 4252 sec 8).
|
| embed_bool | is_password |
| | True if a password method-request was parsed.
|
| embed_bool | is_pw_change |
| | True if the request set the change-password flag.
|
| embed_bool | is_kbdint |
| | True if a keyboard-interactive method-request was parsed (RFC 4256).
|
| embed_bool | is_pubkey |
| | True if a publickey method-request was parsed.
|
| embed_bool | has_signature |
| | True if the request carried a signature.
|
| char | pk_algo [SSH_AUTH_ALGO_MAX] |
| | Public-key algorithm name.
|
| const uint8_t * | pk_blob |
| | Public-key blob (points into the payload).
|
| uint32_t | pk_blob_len |
| | Length of pk_blob.
|
| const uint8_t * | signature |
| | Raw signature bytes (points into the payload).
|
| uint32_t | signature_len |
| | Length of signature.
|
| const uint8_t * | signed_prefix |
| | Bytes of the request that the signature covers.
|
| size_t | signed_prefix_len |
| | Length of signed_prefix (payload up to the signature).
|
Parsed SSH_MSG_USERAUTH_REQUEST.
Definition at line 23 of file auth.h.
◆ user
User name, null-terminated.
Definition at line 25 of file auth.h.
◆ service
| char SshAuthReq::service[32] |
Requested service ("ssh-connection").
Definition at line 26 of file auth.h.
◆ method
| char SshAuthReq::method[24] |
Method name ("none", "password", "publickey", "keyboard-interactive").
Definition at line 27 of file auth.h.
◆ password
Password (method == "password"); the old one on a change.
Definition at line 28 of file auth.h.
◆ new_password
New password when is_pw_change (RFC 4252 sec 8).
Definition at line 29 of file auth.h.
◆ is_password
| embed_bool SshAuthReq::is_password |
True if a password method-request was parsed.
Definition at line 30 of file auth.h.
◆ is_pw_change
| embed_bool SshAuthReq::is_pw_change |
True if the request set the change-password flag.
Definition at line 31 of file auth.h.
◆ is_kbdint
| embed_bool SshAuthReq::is_kbdint |
True if a keyboard-interactive method-request was parsed (RFC 4256).
Definition at line 32 of file auth.h.
◆ is_pubkey
| embed_bool SshAuthReq::is_pubkey |
True if a publickey method-request was parsed.
Definition at line 35 of file auth.h.
◆ has_signature
| embed_bool SshAuthReq::has_signature |
True if the request carried a signature.
Definition at line 36 of file auth.h.
◆ pk_algo
Public-key algorithm name.
Definition at line 37 of file auth.h.
◆ pk_blob
| const uint8_t* SshAuthReq::pk_blob |
Public-key blob (points into the payload).
Definition at line 38 of file auth.h.
◆ pk_blob_len
| uint32_t SshAuthReq::pk_blob_len |
Length of pk_blob.
Definition at line 39 of file auth.h.
◆ signature
| const uint8_t* SshAuthReq::signature |
Raw signature bytes (points into the payload).
Definition at line 40 of file auth.h.
◆ signature_len
| uint32_t SshAuthReq::signature_len |
Length of signature.
Definition at line 41 of file auth.h.
◆ signed_prefix
| const uint8_t* SshAuthReq::signed_prefix |
Bytes of the request that the signature covers.
Definition at line 42 of file auth.h.
◆ signed_prefix_len
| size_t SshAuthReq::signed_prefix_len |
Length of signed_prefix (payload up to the signature).
Definition at line 43 of file auth.h.
The documentation for this struct was generated from the following file:
- src/network_drivers/presentation/ssh/auth/auth.h