opaque

package
v0.0.0-...-5c878a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserAuthenticateComplete

func UserAuthenticateComplete(authInitResp opaque.Opaque, user *User) (opaque.Opaque, error)

UserAuthenticateComplete consumes the Server's authentication message and finishes the user authentication and key exchange

func UserAuthenticateInit

func UserAuthenticateInit(AgentID uuid.UUID, user *User) (opaque.Opaque, error)

UserAuthenticateInit is used to authenticate an agent leveraging the OPAQUE Password Authenticated Key Exchange (PAKE) protocol

func UserRegisterComplete

func UserRegisterComplete(regInitResp opaque.Opaque, user *User) (opaque.Opaque, error)

UserRegisterComplete consumes the Server's response and finishes OPAQUE registration

Types

type User

type User struct {
	Kex *gopaque.KeyExchangeSigma // User Key Exchange
	// contains filtered or unexported fields
}

User is the structure that holds information for the various steps of the OPAQUE protocol as the user

func UserRegisterInit

func UserRegisterInit(AgentID uuid.UUID) (opaque.Opaque, *User, error)

UserRegisterInit is used to perform the OPAQUE Password Authenticated Key Exchange (PAKE) protocol Registration steps for the user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL