Releases: DivvyPayHQ/open_pgp
Releases · DivvyPayHQ/open_pgp
SecretKey without S2K specifier
Better error reporting
Address infosec code review findings by IOActive:
BILL-LIB01BILL-LIB02BILL-LIB03
Changes summary
- Better error message for:
OpenPGP.Util.public_key_algo_tuple/1OpenPGP.Util.sym_algo_tuple/1OpenPGP.Util.sym_algo_cipher_block_size/1OpenPGP.Util.sym_algo_key_size/1
- Updated Elixir supported version to
~>1.14
Encoding and Encrypting for Elgamal pub-key and AES sym. key
- Introduced
OpenPGP.Encodeprotocol with.encode/1,2and.tag/1. - Add
OpenPGP.Encodeprotocol implementation for:OpenPGP.PublicKeyEncryptedSessionKeyPacketOpenPGP.IntegrityProtectedDataPacketOpenPGP.LiteralDataPacketOpenPGP.PacketOpenPGP.Packet.PacketTagOpenPGP.Packet.BodyChunk
- Introduced
OpenPGP.Encryptprotocol with.encrypt/1,2. - Add
OpenPGP.Encryptprotocol implementation for:OpenPGP.PublicKeyEncryptedSessionKeyPacketwith Elgamal (Public-Key algo 16).OpenPGP.IntegrityProtectedDataPacketwith AES-128, AES-192, AES-256 (Sym.algo 7,8,9).
- Added
OpenPGP.encode_packet/1that delegate toOpenPGP.Encodeprotocol. - Added
OpenPGP.encrypt_packet/1that delegate toOpenPGP.Encryptprotocol. - Add ElGamal algorithm support to
OpenPGP.PublicKeyPacket.decode/1. - Introduced
OpenPGP.ModificationDetectionCodePacket. - Introduced
OpenPGP.Util.PKCS1with PKCS#1 block encoding EME-PKCS1-v1_5. - Refactored
OpenPGP.Util.encode_mpi/1and added exception for too long big-endian numbers (>65535 octets).