diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-08-29 16:26:18 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-08-29 16:26:18 +0000 |
commit | 7fc9db480bb8915d21402c8481f7d70f15fe8671 (patch) | |
tree | 8d99a4573aea8de99375fe0eb86af3d7c3381e60 /usr.sbin/ldpctl/ldpctl.c | |
parent | b6bc00098f9282acbcfae316a8daa1caf7258a0e (diff) |
Introduce the crypto_backend API and provide support for... encrypted queue
using the new API. By default, OpenSMTPD does not provide queue encryption,
but it can be enabled with "queue encryption [args]" and will transparently
encrypt/decrypt envelopes/messages as they hit the queue.
By default, it will use Blowfish in CBC mode with a different random IV for
each envelope and message. User provided key is expanded using sha256 but a
different cipher and digest may be specified in smtpd.conf
Queue encryption is compatible with compression and if both options are set
it will do them in correct order and transparently.
tested by chl@, a few users and myself
ok chl@ and I
Diffstat (limited to 'usr.sbin/ldpctl/ldpctl.c')
0 files changed, 0 insertions, 0 deletions