Documentation ¶
Overview ¶
Package rsa is an authenticator for Agent communications with the server using RSA key exchange Primarily used with Mythic's HTTP profile
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
Authenticator is a structure used for OPAQUE authentication
func New ¶
func New(id uuid.UUID, key rsa.PrivateKey) *Authenticator
New returns an RSA Authenticator structure used for Agent authentication
func (*Authenticator) Authenticate ¶
Authenticate performs the necessary steps to authenticate the agent, returning one or more Base messages needed to complete authentication. Function must take in a Base message for when the authentication process takes more than one step.
func (*Authenticator) Secret ¶
func (a *Authenticator) Secret() ([]byte, error)
Secret returns encryption keys derived during the Agent authentication process (if applicable)
func (*Authenticator) String ¶
func (a *Authenticator) String() string
String returns a string representation of the Authenticator's type