registration_client: Index | Files

package mailproxy

import ""

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


Package Files


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 2 packages. Updated 2019-09-04. Refresh now. Tools for package owners.