mhale / smtpd

An SMTP server package written in Go, in the style of the built-in HTTP server.
The Unlicense
397 stars 92 forks source link

Add support for encrypted TLS key files. #8

Closed blueimp closed 6 years ago

blueimp commented 6 years ago

Adds a new Server method: ConfigureTLSWithPassphrase. Supports encrypted TLS key files with DEK-Info header.

Please note: openssl req does not create a DEK-Info header. openssl rsa does create a DEK-Info header.

mhale commented 6 years ago

Thanks for the PR, and for the test coverage!

blueimp commented 6 years ago

Thanks for the fast merge! ☺️