Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgeEncryptMailBody ¶ added in v1.0.5
func AgeEncryptMailBody(origBody []byte, person *person_api.Person) ([]byte, error)
AgeEncryptMailBody retrieves the ssh key of a recipient from ldap, then encrypts the body with it using age.
func EncryptMailBody ¶
func EncryptMailBody(origBody []byte, person *person_api.Person) ([]byte, error)
encryptMailBody retrieves the PGP fingerprint of a recipient from ldap, then queries the gpg server to retrieve the public key and encrypts the body with it.
Types ¶
Click to show internal directories.
Click to hide internal directories.