Skip to content

Releases: DivvyPayHQ/open_pgp

Encoding and Encrypting for Elgamal pub-key and AES sym. key

07 Feb 20:21
f80fe3e
Compare
Choose a tag to compare
  • Introduced OpenPGP.Encode protocol with .encode/1,2 and .tag/1.
  • Add OpenPGP.Encode protocol implementation for:
    • OpenPGP.PublicKeyEncryptedSessionKeyPacket
    • OpenPGP.IntegrityProtectedDataPacket
    • OpenPGP.LiteralDataPacket
    • OpenPGP.Packet
    • OpenPGP.Packet.PacketTag
    • OpenPGP.Packet.BodyChunk
  • Introduced OpenPGP.Encrypt protocol with .encrypt/1,2.
  • Add OpenPGP.Encrypt protocol implementation for:
    • OpenPGP.PublicKeyEncryptedSessionKeyPacket with Elgamal (Public-Key algo 16).
    • OpenPGP.IntegrityProtectedDataPacket with AES-128, AES-192, AES-256 (Sym.algo 7,8,9).
  • Added OpenPGP.encode_packet/1 that delegate to OpenPGP.Encode protocol.
  • Added OpenPGP.encrypt_packet/1 that delegate to OpenPGP.Encrypt protocol.
  • Add ElGamal algorithm support to OpenPGP.PublicKeyPacket.decode/1.
  • Introduced OpenPGP.ModificationDetectionCodePacket.
  • Introduced OpenPGP.Util.PKCS1 with PKCS#1 block encoding EME-PKCS1-v1_5.
  • Refactored OpenPGP.Util.encode_mpi/1 and added exception for too long big-endian numbers (>65535 octets).