escrow

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CryptServerData

type CryptServerData struct {
	Pass      string `schema:"recovery_password"`
	Serialnum string `schema:"serial"`
	Hostname  string `schema:"macname"`
	Username  string `schema:"username"`
}

CryptServerData stores the data to be escrowed cryptserver expects the following form data recovery_password, serial, macname, username see: https://github.com/grahamgilbert/Crypt-Server/blob/master/server/views.py#L442

func (CryptServerData) PostCryptServer

func (data CryptServerData) PostCryptServer(escrowServer CryptServerInfo) (*http.Response, error)

PostCryptServer submits the luks password and machine info to crypt-server

type CryptServerInfo

type CryptServerInfo struct {
	Server, URI, Username, Password string
}

CryptServerInfo is used to create an object with info about the escrow server

Jump to

Keyboard shortcuts

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