Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@dignifiedquire dignifiedquire released this 21 Feb 15:54
· 54 commits to master since this release

⛰️ Features

  • Add Signature::verify_key_binding_primary_back_sig - (2764b39)
  • Implement support for Secp256k1 (#275) - (0d8e580)
  • Add dsa support - (4ed459b)
  • Generalize packet parsing to accept more unknown values; packet parser error type distinguishes "hard and soft" errors. - (48af40c)
  • Handle distinction between hard and soft packet parsing errors - (6752d83)
  • Implement From for SignedPublicKey and From for SignedPublicSubKey - (43370c5)

🐛 Bug Fixes

  • (terminology) Use "certification" where we mean signatures that confirm identities - (44bccd3)
  • Handle other RevocationCode values - (6167e99)
  • Return an error in Message::verify if we don't know what to verify - (e29d089)
  • Handle expiration times as Duration - (1cb17a1)
  • Check SHA-1 checksum before parsing - (fd36c23)
  • Normalize line endings when hashing data for a Text signature - (65c9e46)
  • Move line ending normalization from Message::verify to Signature::verify - (20dd658)
  • Debug output cleanup - (4e7ba07)
  • Do not allow decryption with "Plaintext" algorithm - (9201b7e)
  • Enforce Partial Body Length "MUST" from RFC 4880 - (d37a7b5)
  • Clarify use of subpackets from hashed and unhashed areas - (7f1ae5c)
  • [breaking] Generalize issuer subpacket checks - (7c43d22)
  • Make ECDH unpadding more robust - (bf7a3f3)

🚜 Refactor

  • Switch from num_derive to num_enum - (8014e49)

📚 Documentation

  • (readme) Fix CI status image and rust version badge - (59c9d73)
  • Remove unnecessary backticks (#252) - (2b17b30)
  • Roughly reflect formats/mechanisms from draft-ietf-openpgp-crypto-refresh - (97edf8f)
  • Clarify parameters in verify_key_binding_internal - (b82cd3f)
  • Switch to git-cliff for changelog - (39444e5)

⚡ Performance

  • Avoid concat in sha1 checksum impl - (f56529f)

🧪 Testing

  • Read signature with "other" revocation code - (dd3742b)
  • Add test for normalization of line endings with text-mode signatures - (19c3d1d)
  • Test that verifying unsigned messages fails - (5a1e8c7)

⚙️ Miscellaneous Tasks

  • Fix deprecation warning reported by clippy - (a9a7a0b)
  • Fix vec performance lint - (7aa80c9)
  • Use 1.72 stabley toolchain instead of stable for mips - (334c0b8)
  • Set Rust version to 1.67 - (0e673a2)
  • Fix clippy lint - (8c4c27f)
  • Fix clippy lints in tests - (30b15e7)
  • Update dalek deps and fix nightly on CI - (414250a)
  • Bump to Rust 1.70 - (1dd37d2)

Cleanup

  • Rename Indeterminated to Indeterminate - (5357815)