go-pgpmail v0.1.0
This is the first go-pgpmail pre-release.
Ben Fiedler (2):
Use zeroReader as random source for tests
Update golang.org/x/crypto
Florent AIDE (2):
Added idea files to ignore patterns
Use the latest imap API
Simon Ser (30):
Start from scratch
Add basic Reader
readme: add GoDoc badge
Add basic Encrypt and Sign functions
Ensure we only write CRLF line endings, not LF
Add writer test
Add Reader test
Use last signature error instead of "unknown issuer"
Include header in signed UnverifiedBody
Add test for signed PGP/MIME message
Include header in plain-text UnverifiedBody
Add test for plain-text message
Check IsEncrypted and IsSigned are properly set to false
Add a test with an invalid signed PGP/MIME message
Use public key instead of the private one in signed message test
Add example Read usage
Add an example for Encrypt
Use ErrUnknownIssuer instead of custom error
Check MessageDetails.SignedBy != nil in tests
Add support for RFC 1847 encapsulation
Setup CI
Set boundary from forceBoundary in Sign
Fix Sign signing an empty blob
Convert armored signature line endings to CRLF
Add test for Sign
Move Encrypt/Sign test data to end of file
Fix Encrypt example writing to cleartext instead of body
Add Sign example
Avoid hang on double close in Sign
Stop taking a header as a param to Sign
emersion (36):
Initial commit
First commit
Adds openpgp.KeyRing
Adds UnlockFunction to properly set key ring
Adds local gpg private key store
Encrypt messages
Adds support for charsets
Only re-format Content-Type if needed when creating a multipart
Close channel in Mailbox.ListMessages, adds UnlockRemember
Fixes EOF errors when trying to decrypt headers without a body
Handle unencrypted binary parts
Close io.Pipe after decryption
Fixes inline pgp detection
Fixes extra newline when decrypting inline PGP
Fixes line length issues, refactores message.Writer
Decrypt private key when logging in
Adds UnlockSync
Moves unlock stuff in a separate file
Move imap backend to a subpackage
Renames imap subpackage
Adds boilerplate for smtp subpackage
Fixes main.go
Adds smtp implementation
message: adds charsetReader
Migrate to go-message
Updates README
Do not write headers twice in EncryptEntity
pgpmessage: adds EncryptMessage
pgpmessage: replaces DecryptEntity with Decrypt
pgpmessage: use latest go-message
Renames pgpmessage to pgpmail
Revert "Renames pgpmessage to pgpmail"
imap: only intercept messages if needed
pgpmessage: properly detect armored PGP messages
pgpmessage: set default media type to text/plain when decrypting
imap: compatibility with latest go-imap