Commit Graph

105 Commits

Author SHA1 Message Date
adecaneda
cc52cb9dab Missing parameter in parse_old_format 2015-08-05 11:35:23 +02:00
adecaneda
4281c8fa97 Missing parameter 2015-08-05 11:18:28 +02:00
adecaneda
01a1f00edb Inclued partial body lengths
Partial body lengths based on https://github.com/toofishes/python-pgpdump/blob/master/pgpdump/packet.py
2015-08-05 10:54:57 +02:00
Hoffstadt
cb4fe9c632 Changed require Crypt/RSA.php to require_once
This change allows the lib usage with an autoloader.
2015-06-18 13:32:51 +02:00
Stephen Paul Weber
d6568d4925 Initial doxygen setup 2014-06-28 14:26:12 -05:00
Stephen Paul Weber
0262b038f1 Fix sign_key_userid 2014-06-28 12:27:25 -05:00
Stephen Paul Weber
d2913ccb8a Add support for CAST5 using mcrypt 2013-09-14 13:17:30 -05:00
Stephen Paul Weber
e1181bd25e Support for AES and 3DES are now optional 2013-09-14 11:45:49 -05:00
Stephen Paul Weber
82ed7d85bd Rename symmetric encrypt/decrypt class
I'm going to make this one more generic than one library, and have it
support ciphers based on what libraries are available, so this more
generic name is appropriate.
2013-09-14 11:36:58 -05:00
Stephen Paul Weber
7ae4d539f2 Better errors for unsupported ciphers. 2013-09-14 11:28:35 -05:00
Stephen Paul Weber
26860d3b98 Always an MPI for RSA 2013-06-24 11:21:26 -05:00
Stephen Paul Weber
c341d7f09e Fix byte encoding of some packets 2013-06-24 11:21:10 -05:00
Stephen Paul Weber
05b757ab6c No index anymore 2013-02-24 18:11:22 -05:00
Stephen Paul Weber
3afd401688 Whitespace and proper padAmount 2013-02-24 18:11:11 -05:00
Stephen Paul Weber
04b89decd1 Should not throw away the version 2013-02-24 18:10:57 -05:00
Stephen Paul Weber
1ecb990a02 Use key_from_input as originally intended 2013-02-24 18:10:46 -05:00
Stephen Paul Weber
aab2a5e12b Data representation bugs in signature subpackets 2013-02-18 18:39:24 -05:00
Stephen Paul Weber
2a331f7403 better random string 2013-01-26 17:14:38 -05:00
Stephen Paul Weber
7d776fd605 Encryption support 2013-01-26 17:01:26 -05:00
Stephen Paul Weber
a56799955f Decrypt secret key 2013-01-26 14:55:51 -05:00
Stephen Paul Weber
cd15aec6f9 Asymmetric decryption 2013-01-26 14:00:00 -05:00
Stephen Paul Weber
641c07835b Support session keys 2013-01-26 11:26:55 -05:00
Stephen Paul Weber
8c60f4e37b Support the no-MDC (resync) case 2013-01-26 11:17:11 -05:00
Stephen Paul Weber
47a7f6e25c Keep trying on failure 2013-01-26 11:11:15 -05:00
Stephen Paul Weber
567b18c1b2 Support 3DES 2013-01-26 11:08:18 -05:00
Stephen Paul Weber
bf8201f432 Start work on decryption 2013-01-21 18:18:41 -05:00
Stephen Paul Weber
68b2047508 Both kinds of EncryptedDataPacket 2013-01-21 15:33:46 -05:00
Stephen Paul Weber
dffa0ecaa2 Generalize S2K support, and support SymmetricSessionKeyPacket 2013-01-21 15:20:23 -05:00
Stephen Paul Weber
74afee6266 Test signing at all 2013-01-20 22:15:49 -05:00
Stephen Paul Weber
7a1510f2e1 Remove unsafe uses of reset 2013-01-20 21:49:48 -05:00
Stephen Paul Weber
4263d03188 Restructure signing code
All sorts of signatures can be verified now, and it is easier to extract
information from the verified signature packets.
2013-01-20 21:44:33 -05:00
Stephen Paul Weber
22585344c0 Message signature verification tests 2013-01-20 19:00:49 -05:00
Stephen Paul Weber
995a9d7840 Fingerprint tests 2013-01-20 17:51:37 -05:00
Stephen Paul Weber
f4af8a010b Remove unsafe use of array_pop 2013-01-20 17:41:37 -05:00
Stephen Paul Weber
825452e123 Support v3 sigs and keys properly 2013-01-20 17:34:08 -05:00
Stephen Paul Weber
c5600d2812 Enable meat of tests, all but one pass 2013-01-20 16:49:19 -05:00
Stephen Paul Weber
5cba4f2697 Import Serialization tests from OpenPGP-Haskell 2013-01-20 14:41:37 -05:00
Stephen Paul Weber
379c79d3ad Crypt_RSA wrapper for signing keys 2011-07-25 15:15:17 -05:00
Stephen Paul Weber
b84a2a8752 Allow using keys as data to sign over 2011-07-25 15:15:01 -05:00
Stephen Paul Weber
fb9fddde16 Working constructor for UserID 2011-07-25 15:14:45 -05:00
Stephen Paul Weber
4dbfbcb88d Working constructor for PublicKey 2011-07-25 15:13:24 -05:00
Stephen Paul Weber
6bf8e8cb6b UserIDPacket body 2011-07-25 12:51:08 -05:00
Stephen Paul Weber
c2c934fa6a Implement SecretKeyPacket output body 2011-07-25 12:46:50 -05:00
Stephen Paul Weber
69ade89111 refactor SecretKeyPacket read 2011-07-25 12:28:33 -05:00
Stephen Paul Weber
0f5742ba0d Implement output body for PublicKeyPacket 2011-07-25 12:23:00 -05:00
Stephen Paul Weber
dab71c1854 Implement FeaturesPacket 2011-07-25 12:06:21 -05:00
Stephen Paul Weber
82fb19cc31 Implement KeyFlagsPacket 2011-07-25 12:03:46 -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