Commit Graph

163 Commits

Author SHA1 Message Date
Stephen Paul Weber
1322f45ded revert broken example script 2011-07-25 12:01:26 -05:00
Stephen Paul Weber
951ff2cacc use bitlength 2011-07-25 11:50:27 -05:00
Stephen Paul Weber
af3643c919 crc24 was not encoded 2011-04-28 08:10:10 -05:00
Stephen Paul Weber
6b8445737e Newline before crc24 on enarmor 2011-04-28 08:07:06 -05:00
Stephen Paul Weber
1f04075ef5 Example code on using the library 2011-04-23 09:20:17 -05:00
Stephen Paul Weber
6cbd7f6634 Check the actual format 2010-06-28 12:33:55 -05:00
Stephen Paul Weber
66ab5ccf46 Fingerprint calculation works on secret keys now 2010-06-28 12:33:42 -05:00
Stephen Paul Weber
377a86aee9 Added feature to the README 2010-04-01 18:42:28 -05:00
Stephen Paul Weber
5756085e85 Convenience function for expiry time of keys 2010-04-01 18:39:36 -05:00
Stephen Paul Weber
9cdc2500b1 Implement OpenPGP_SignaturePacket_KeyExpirationTimePacket 2010-04-01 18:39:04 -05:00
Stephen Paul Weber
99debc4540 Implement OpenPGP_SignaturePacket_SignatureExpirationTimePacket 2010-04-01 18:38:54 -05:00
Stephen Paul Weber
39e1d5c231 Conveniance function to get self signatures 2010-04-01 18:30:21 -05:00
Stephen Paul Weber
417c206bee Implement OpenPGP_SignaturePacket_EmbeddedSignaturePacket 2010-04-01 18:18:02 -05:00
Stephen Paul Weber
e931ebed25 Changes to allow using a set of keys (ie, key with subkeys) 2010-04-01 18:03:42 -05:00
Stephen Paul Weber
b42ec74ab4 Conveniance function to get issuer 2010-04-01 18:03:12 -05:00
Stephen Paul Weber
1e81ed0bb1 Wrapper to use OpenPGP with Crypt_RSA 2010-04-01 12:53:39 -05:00
Stephen Paul Weber
6dc7c1eb2a Abstract extracting a signature packet along with data 2010-04-01 12:51:45 -05:00
Stephen Paul Weber
191aeaa4d9 fingerprint works on secret key too 2010-04-01 12:50:08 -05:00
Stephen Paul Weber
0b2942e382 SignaturePacket method to do actual signing 2010-04-01 09:24:14 -05:00
Stephen Paul Weber
86c476807c Contructor for OpenPGP_SignaturePacket 2010-04-01 09:23:43 -05:00
Stephen Paul Weber
ec4b5c5f72 Generate SignaturePacket trailer 2010-04-01 09:22:37 -05:00
Stephen Paul Weber
1e2db5b249 This is the correct size 2010-04-01 09:22:08 -05:00
Stephen Paul Weber
1c7f759798 There may be no subpackets 2010-04-01 09:21:00 -05:00
Stephen Paul Weber
e3bc3757d1 Normalize before verifying 2010-04-01 09:20:27 -05:00
Stephen Paul Weber
fe7121efe3 Method for LiteralData normalization 2010-04-01 09:20:13 -05:00
Stephen Paul Weber
eb7aaf490e Ensure 2 hex digits per byte 2010-04-01 09:19:01 -05:00
Stephen Paul Weber
5829037d0b SignatureSubpacket constructor (for tag/type) 2010-04-01 09:17:40 -05:00
Stephen Paul Weber
36fba1596d Default packet constructor can take data 2010-04-01 09:17:09 -05:00
Stephen Paul Weber
6ac274b8ec Implement OpenPGP_SecretKeyPacket 2010-03-31 18:54:00 -05:00
Stephen Paul Weber
6e8dc4799f Constructor for OpenPGP_LiteralDataPacket 2010-03-31 17:15:11 -05:00
Stephen Paul Weber
8265522323 Function to verify signatures.
Call with a set of verifier callbacks and optionally the index of the
signature to verify (if there is more than one signature).
2010-03-31 14:26:16 -05:00
Stephen Paul Weber
3b6b29127f Get names for key/hash algorithm on signature 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
bd9c9db00b Add publickey algorithm mappings 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
8019d3c564 Add hash algorithm mappings 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
b41bc2c533 Implement body for OpenPGP_CompressedDataPacket 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
1a1b8980e6 No need to unwrap to an array
Since OpenPGP_Message implements the array interface
2010-03-31 14:26:14 -05:00
Stephen Paul Weber
975fc2ff7e Implement body for OpenPGP_OnePassSignaturePacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
0a85e214a6 Implement to_bytes for OpenPGP_Message 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
355ea44301 Set tag on packet creation 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
1333a1a035 unpack returns an array 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
acdf5d1ac0 Implement body for OpenPGP_SignaturePacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
408c912e12 Implement body for OpenPGP_SignaturePacket_IssuerPacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
7fc49b3530 Implement body for OpenPGP_SignaturePacket_SignatureCreationTimePacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
d4babbb948 Subpacket class for different header 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
5f6a93daca Type byte is part of body 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
97ad2cf72d CompressedDataPacket implements ArrayAccess 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
3c84dce8f9 LiteralDataPacket body 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
a78b6dc8c1 Header calculation, body stub, and byte serialize 2010-03-31 14:25:11 -05:00
Stephen Paul Weber
b7122bbb5f Store the trailer for use in sig verification 2010-03-31 11:59:07 -05:00
Stephen Paul Weber
b0f4e73111 Use timestamp/mpi abstractions 2010-03-31 11:59:07 -05:00