registration_client: github.com/katzenpost/registration_client/mailproxy Index | Files

package mailproxy

import "github.com/katzenpost/registration_client/mailproxy"

Package mailproxy provides a library for generating mailproxy configuration and key material.

Index

Package Files

mailproxy.go

func GenerateConfig Uses

func GenerateConfig(user, provider, providerKey, authority, onionAuthority, authorityKey, dataDir, socksNet, socksAddr string, preferOnion bool) (*ecdh.PublicKey, *ecdh.PublicKey, error)

GenerateConfig is used to generate mailproxy configuration files including key material in the specific dataDir directory. It returns the link layer authentication public key and the identity public key or an error upon failure. This function returns the public keys so that they may be used with the Provider account registration process.

Package mailproxy imports 7 packages (graph) and is imported by 1 packages. Updated 2019-01-22. Refresh now. Tools for package owners.