Documentation ¶
Overview ¶
Package keyrecovery provides utility functions and structures allowing credential management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Recover ¶
func Recover( conf *internal.Configuration, randomizedPwd, serverPublicKey, clientIdentity, serverIdentity []byte, envelope *Envelope, ) (clientSecretKey *group.Scalar, clientPublicKey *group.Element, export []byte, err error)
Recover returns the client's private and public key, as well as the secret export key.
Types ¶
type Credentials ¶
type Credentials struct {
ClientIdentity, ServerIdentity []byte
EnvelopeNonce []byte // testing: integrated to support testing
}
Credentials structure is currently used for testing purposes.
type Envelope ¶
Envelope represents the OPAQUE envelope.
Click to show internal directories.
Click to hide internal directories.