mailproxy

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 9 Imported by: 3

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConfig

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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