Skip to content

Releases: emersion/go-pgpmail

0.2.2

13 Jan 22:40
v0.2.2
Compare
Choose a tag to compare
go-pgpmail v0.2.2

Simon Ser (2):
      Move test PGP keys to testdata directory
      Ensure Mime-Version is set on the right header

0.2.1

03 Jan 14:08
v0.2.1
Compare
Choose a tag to compare
go-pgpmail v0.2.1

Simon Ser (2):
      Stop hardcoding Encrypt/Sign output in tests
      Upgrade dependencies

Tim Culverhouse (1):
      micalg: convert raw micalg to lowercase for map lookup

0.2.0

04 Dec 12:02
v0.2.0
Compare
Choose a tag to compare
go-pgpmail v0.2.0

This release has a breaking change: it no longer uses the deprecated
golang.org/x/crypto/openpgp package, it now uses
github.com/ProtonMail/go-crypto/openpgp.

Simon Ser (5):
      ci: switch to alpine/latest
      readme: switch to godocs.io
      Fix deadlock on openpgp.DetachSign error
      Print unquoted MIME in TestSign error message
      Switch to github.com/ProtonMail/go-crypto/openpgp

0.1.0

26 Oct 21:48
v0.1.0
2b3d55a
Compare
Choose a tag to compare
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