Commit Graph

130 Commits

Author SHA1 Message Date
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
4756c82118 Merge pull request #4 from vstm/composer-simple
Add composer.json
2015-03-16 15:04:34 -05:00
Stefan Vetsch
9d6d736a5d Add newline before end-of-file (PSR-2) 2015-03-15 21:55:40 +01:00
Stefan Vetsch
2fb1666bb5 Use composer to load dependencies 2015-03-14 19:36:35 +01:00
Stefan Vetsch
3835a48db8 Not needed at this point 2015-03-14 17:41:25 +01:00
Stefan Vetsch
ec8df93d19 Don't make a scene if there is no autoload.php (if someone isn't using composer). 2015-03-14 17:17:28 +01:00
Stefan Vetsch
6287ba89d0 Make use of the classmap, the current class/file structure does not allow for PSR-0 autoloading. 2015-03-14 13:22:14 +01:00
Stefan Vetsch
ae21dd0f56 Make autoload work for phpunit tests 2015-03-14 10:59:21 +01:00
Stefan Vetsch
68514c11c2 Add simple composer.json 2015-03-14 10:50:06 +01: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
775aa96118 Remove debug code 2014-06-28 11:38:14 -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
6075d057d0 Use require_once in examples. 2013-09-14 11:41:46 -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
e78424131e Any secret key
Spews warnings, but that's fine for now
2013-06-24 14:34:00 -05:00
Stephen Paul Weber
e27f9e236f Full example of decrypting a message 2013-06-24 11:22:01 -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
58d1b5cee0 Clean up encryptDecrypt example 2013-06-24 11:20:46 -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
778c83dbc3 Better pubring.gpg 2013-02-18 18:41:11 -05:00
Stephen Paul Weber
aab2a5e12b Data representation bugs in signature subpackets 2013-02-18 18:39:24 -05:00
Stephen Paul Weber
216ee4156d Add features to README 2013-01-26 17:19:14 -05:00
Stephen Paul Weber
2a331f7403 better random string 2013-01-26 17:14:38 -05:00
Stephen Paul Weber
cb9f918022 encrypt/decrypt example 2013-01-26 17:01:36 -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
ae062433b7 Fix for PHP 5.3 grammar 2013-01-26 14:15:09 -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
06cf887846 Forgot these data files 2013-01-21 16:00:18 -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
f9ea5ee0e5 Try without pear 2013-01-20 19:23:33 -05:00
Stephen Paul Weber
8d19f70bb1 dependencies for travis 2013-01-20 19:09:36 -05:00
Stephen Paul Weber
22585344c0 Message signature verification tests 2013-01-20 19:00:49 -05:00
Stephen Paul Weber
7d44211fc8 Clarify the verify example 2013-01-20 18:57:14 -05:00