Commit Graph

  • ccc0a4eb48 Initial browserify support. Symmetric encryption algorithms and hashes are now working. Michal Kolodziej 2013-05-10 23:50:00 +02:00
  • 844ebcf254 Minor fixes, work on the msg.* subsystem. Michal Kolodziej 2013-05-10 22:48:11 +02:00
  • c64c75bf04 Merged public and secret keys where appropriate. Michal Kolodziej 2013-05-10 19:09:24 +02:00
  • 77acb5a59a Working signature creation. Michal Kolodziej 2013-05-09 16:51:25 +02:00
  • 1e49e8ee23 Encryption of secret key packets is working. Michal Kolodziej 2013-05-09 14:25:09 +02:00
  • 945fa0ba51 Reading/decryption/signature verification side is working. Michal Kolodziej 2013-05-09 09:37:12 +02:00
  • ab31b39d2f Signature verification on primary key is working! Michal Kolodziej 2013-05-09 09:31:50 +02:00
  • ba68203b56 Changed up the verification api - it accepts multiple packets now. Michal Kolodziej 2013-05-08 23:11:57 +02:00
  • e1e2223e8f Signature verification is working on literal packets. Michal Kolodziej 2013-05-08 13:04:25 +02:00
  • 3d25fdf8bf Work on bending the signature packet to my will. Michal Kolodziej 2013-05-04 23:05:46 +02:00
  • dd5d0c801c Secret key packet decryption is working though, there is still work to be done in the decryption function as it's quite a mess still. Michal Kolodziej 2013-04-27 18:14:57 +02:00
  • a907dfa7c9 Fixed time. Michal Kolodziej 2013-04-27 16:46:19 +02:00
  • 03382cbec1 Made sym key and s2k writable. Michal Kolodziej 2013-04-27 16:15:07 +02:00
  • a115cccc53 Fixed s2k implementation somewhat. Michal Kolodziej 2013-04-26 18:54:41 +02:00
  • 1f9bc46a81 Encryption to a subkey from a GPG generated message is working. Still no decryption and keys are transmitted in plaintext! Michal Kolodziej 2013-04-26 15:48:19 +02:00
  • 6fe166fa87 Reading of unencrypted secret key packets seems to be working. Michal Kolodziej 2013-04-25 17:28:43 +02:00
  • 530a9a0c69 Changed mpi interface to a more sane variant - openpgp methods MUST return openpgp_type_mpi, using BigIntegers is prohibited as otherwise the wrapper has no point. Michal Kolodziej 2013-04-24 10:46:43 +02:00
  • 6d45a19f88 Public key encrypted sesssion key is working. Michal Kolodziej 2013-04-24 09:08:55 +02:00
  • 43c5d1b30d Changed up the interface. Instead of a dedicated list, all packets are directly on the packetlist object. Michal Kolodziej 2013-04-23 10:19:01 +02:00
  • 38330ea4a6 Sym encrypted session key is working, decryption of messages from gpg works too! Fixed some minor bugs and got rid of a few globals. Michal Kolodziej 2013-04-23 10:03:28 +02:00
  • 3a3764a436 Added test and working code to the sym encrypted integrity protected packet. Michal Kolodziej 2013-04-22 19:56:51 +02:00
  • 3f04470e1f First working packet: writing/reading sym encrypted and literal packets is working. Tests added. Michal Kolodziej 2013-04-22 18:03:50 +02:00
  • c190784ffd Working on making the new packet infrastructure run. Michal Kolodziej 2013-04-22 17:04:20 +02:00
  • 93a7a751fd Started work on providing an uniform interface to all packet classes that actually uses the object values instead of igroring them. Michal Kolodziej 2013-04-21 20:38:19 +02:00
  • aa8a7f94f1 Switching default hash preference to SHA256. seancolyer 2013-04-20 22:16:32 -04:00
  • 21726d5b8b Merge pull request #72 from dreamingofelectricsheep/ascii-fix Sean Colyer 2013-04-20 17:40:45 -07:00
  • 34b8d2e870 Merge ecb340d097dc9ae9be93acee81b369c181cce29d into 419af151c1c95716a9a8a22c21eace13de57575b dreamingofelectricsheep 2013-04-20 17:36:05 -07:00
  • 419af151c1 Merge pull request #73 from dreamingofelectricsheep/utf8-clean Sean Colyer 2013-04-20 17:35:58 -07:00
  • dcf7423493 Merge 23295342fc87114c9625b4483749f51251ca6ab9 into 8da75785888d0a86a2af87da898d1f65b2798ec8 dreamingofelectricsheep 2013-04-18 12:13:08 -07:00
  • 23295342fc Added utf8 awareness to the literal and userid packet classes. Made s2k work correctly with utf8 strings. Fixeda visibility issue with the testing suite and added relevant unit tests. Michal Kolodziej 2013-04-06 11:55:52 +02:00
  • ecb340d097 Compiled the library. Michal Kolodziej 2013-04-16 09:28:30 +02:00
  • 6d7df71c58 Fixed handling of windows line endings within the ascii dearmoring function. Michal Kolodziej 2013-04-15 16:37:54 +02:00
  • 318475636a Merge 43b48f1cdd37fb120ee61028be45aeb2604d02c0 into 8da75785888d0a86a2af87da898d1f65b2798ec8 dreamingofelectricsheep 2013-04-15 03:32:27 -07:00
  • 43b48f1cdd Regenerated documentation and minification. Michal Kolodziej 2013-04-15 12:31:32 +02:00
  • caf5b5eb98 Added a general encryption/decryption test with an explicit utf8 case, made s2k utf8 aware. Michal Kolodziej 2013-04-15 12:28:29 +02:00
  • efca29c376 Minor fix Michal Kolodziej 2013-04-15 11:16:47 +02:00
  • c7acc31bc8 Regenerated the documentation and minified versions of the library. Michal Kolodziej 2013-04-14 01:03:11 +02:00
  • 9b2a882be9 Fixed a bug with the userid packet. The library now correctly handles packets with utf8 usernames Michal Kolodziej 2013-04-14 00:55:31 +02:00
  • e631bb29ad Added utf8 support to the literal packets and the userid packets Michal Kolodziej 2013-04-14 00:33:32 +02:00
  • 7a8043be55 Rebased to the newest master Michal Kolodziej 2013-04-13 23:00:50 +02:00
  • 1c946cf084 Added a text conversion routine to the literal packet, the engine now correctly handles any strings containing higher utf codepoints Bob 2013-04-06 12:30:59 +02:00
  • bc81ec86fd Added a utf8 parser/decoder Bob 2013-04-06 11:55:52 +02:00
  • 8da7578588 Merge pull request #70 from dreamingofelectricsheep/jsdoc-update Sean Colyer 2013-04-13 13:02:11 -07:00
  • 36bef58ed4 Merge f06900542e0f9bd47d1a0ea33ddcb0def58a4c72 into a159f838adc7be1a8eab837f85e8624c6a85a27b dreamingofelectricsheep 2013-04-12 06:12:04 -07:00
  • f06900542e Forgot to add the generated documentation. Michal Kolodziej 2013-04-12 15:11:34 +02:00
  • 51f8f95807 Finished changing all the javascript files, the documentation now correctly generates via the use of the makefile. Michal Kolodziej 2013-04-12 14:21:07 +02:00
  • 6242e72a1d Crypto.sym Michal Kolodziej 2013-04-12 13:04:00 +02:00
  • 8545feb03d Fixed documentation for cfb and crypto files Michal Kolodziej 2013-04-12 13:00:09 +02:00
  • a159f838ad Setting README to markdown for proper github rendering. seancolyer 2013-03-25 21:58:53 -04:00
  • 1400918613 Updating README seancolyer 2013-03-25 21:57:46 -04:00
  • f69fa5ccab Fix bug with key material expecting s2k.type to exist which breaks with passphrase-free keys. seancolyer 2013-03-06 20:36:26 -05:00
  • 1778756c70 Merge pull request #66 from toberndo/hushmail_keys Sean Colyer 2013-02-28 05:39:38 -08:00
  • ee7996db2c Merge 37ade02c325e835dcf0e7b530c1b7abc6295a10d into 5294db71cc27ba4d9e06eab041549d79e26f5728 Thomas Oberndörfer 2013-02-28 05:39:13 -08:00
  • 5294db71cc Merge pull request #65 from toberndo/v4subkeys Sean Colyer 2013-02-28 05:39:05 -08:00
  • 37ade02c32 Fix exception on unknown signature Thomas Oberndörfer 2013-02-28 10:28:10 +01:00
  • 1417fc498c Merge a5c174072990cd83f0ad21457132302dce5cdc20 into 4a00c3b7a7e3934d65a357c2f763b9310b6f7946 Thomas Oberndörfer 2013-02-28 01:12:45 -08:00
  • a5c1740729 V4 keys: prefer subkeys for encryption Thomas Oberndörfer 2013-02-28 10:11:53 +01:00
  • 4a00c3b7a7 added browser check AlexanderWillner 2013-02-20 15:56:27 +01:00
  • eb5e1b99cb Merge pull request #63 from brianbloniarz/master Sean Colyer 2013-02-16 16:11:40 -08:00
  • 58fc0ed853 Merge ef3c0ecc6067cc443749e94c4f020e6af4e64b6a into 7528a349fd9290325b813993fc18a8307d5955f3 brianbloniarz 2013-02-13 22:35:14 -08:00
  • ef3c0ecc60 minimize.sh make file ordering deterministic Brian Bloniarz 2013-02-13 22:34:35 -08:00
  • 2bb3c30025 openpgp_keyring include subkeys by ID Brian Bloniarz 2013-02-13 22:27:40 -08:00
  • 6d7c2c7ff5 Merge 8e8306327e5aba0118b3dfd4c710d3271f10ec27 into 7528a349fd9290325b813993fc18a8307d5955f3 brianbloniarz 2013-02-06 08:56:43 -08:00
  • 8e8306327e minimize.sh make file ordering deterministic Brian Bloniarz 2013-02-06 08:41:32 -08:00
  • 6365ca2d10 openpgp_keyring include subkeys by ID Brian Bloniarz 2013-02-06 08:39:01 -08:00
  • 4a99ed0dfa Add support for GnuPG type 1001 s2k extension Brian Bloniarz 2013-02-06 08:36:56 -08:00
  • a2f343995a fix array index in verify() with multiple pubkeys. Brian Bloniarz 2013-02-06 08:31:06 -08:00
  • b128e2c521 Fix signature check scoping issue. Brian Bloniarz 2013-02-06 08:26:16 -08:00
  • 7528a349fd Merge pull request #59 from seancolyer/master Sean Colyer 2013-02-02 15:44:23 -08:00
  • a0e406c91e Merge 77974db1a6a5b5b45b02e4dd17af7e74d33a3216 into 66dd6d9df3d18bcd534389581c7d236ea9ebd36b Sean Colyer 2013-01-14 17:46:38 -08:00
  • 77974db1a6 Merge branch 'refactor'. Also marking resources/openpgp*.js files as binary to make some merge/diffing easier. seancolyer 2013-01-14 20:44:58 -05:00
  • 66dd6d9df3 do not send empty messages AlexanderWillner 2013-01-10 18:31:23 +01:00
  • 9ad5116d3c show sent message AlexanderWillner 2013-01-10 18:31:13 +01:00
  • ca20079efa Merge pull request #58 from freewil/minor-typos Sean Colyer 2013-01-04 16:07:21 -08:00
  • 9bcb5a5efd Merge 7dfda1ebf4593c1659ebccee6880823203a7cb35 into 15e5705a83a0254cfaa67b2d957cff28c35dd975 freewil 2013-01-04 08:59:07 -08:00
  • 7dfda1ebf4 fix 2 minor typos freewil 2012-12-30 19:04:17 -05:00
  • 968dca9436 Initial work with refactor. Everything should still be functional, but more cleanup can still be done. Sean Colyer 2012-10-07 23:44:58 -04:00
  • 15e5705a83 Merge pull request #54 from seancolyer/master Sean Colyer 2012-10-06 08:49:28 -07:00
  • 5520decb52 Merge a50c7a7f4d3260e117dd17705431242abd9d1ad2 into 7aa4a834740cfec5f7f99b46ba8a2a49271964a8 Sean Colyer 2012-10-06 08:49:12 -07:00
  • a50c7a7f4d Fix for ZLIB issue (endless loop), and dynamic header lengths. Sean Colyer 2012-10-06 11:39:07 -04:00
  • ef3e067b9d adding a spidermonkey option Jim Klo 2012-07-03 15:48:08 -07:00
  • ca960e9094 Updates to documentation. Most all classes should now be jsdoc compliant. Sean Colyer 2012-09-11 21:54:42 -04:00
  • f92e1866ca New jsdoc files. Sean Colyer 2012-09-05 22:01:17 -04:00
  • e4a2fcc538 Added more jsdoc. Sean Colyer 2012-09-05 21:59:31 -04:00
  • 50f3d5a891 Add extractPublicKey() method to private key Thomas Oberndörfer 2012-09-04 10:20:52 +02:00
  • 7cb8bb7e6f Use JXG for ZIP decompression Thomas Oberndörfer 2012-08-27 14:33:48 +02:00
  • 46c9bc971f Started modifying inline docs to work with jsdoc3 project, https://github.com/jsdoc3/jsdoc. Built doc based on our source and added to doc directory. Our inline docs need more cleanup, but this document structure looks promising. Sean Colyer 2012-08-21 23:23:06 -04:00
  • bd8014e1a8 Added major versioning to build process. Sean Colyer 2012-08-21 23:22:15 -04:00
  • 3a092ce682 Change to ignore case when looking up keys. Change to transform both input and keyring keys to use .toLowerCase(). Prompted by: https://github.com/seancolyer/gmail-crypt/issues/12 Sean Colyer 2012-07-30 20:43:41 -04:00
  • d14b4107dc Changes to build process to show version number as date rather than hardcoded 0.1. Small doc change. Sean Colyer 2012-07-30 20:07:48 -04:00
  • fe47d20cb7 Use jsxcompressor for ZLIB compressed data packets Thomas Oberndörfer 2012-06-26 17:06:33 +02:00
  • 7aa4a83474 Updates to documentation. Most all classes should now be jsdoc compliant. Sean Colyer 2012-09-11 21:54:42 -04:00
  • 01ddec6431 New jsdoc files. Sean Colyer 2012-09-05 22:01:17 -04:00
  • 9f4df57679 Added more jsdoc. Sean Colyer 2012-09-05 21:59:31 -04:00
  • f1fd8d2288 Merge pull request #53 from toberndo/extract_pkey Sean Colyer 2012-09-05 18:16:42 -07:00
  • f637c59e6c Merge 051253c3831831aaa581c769e7ac11057afd92d4 into ac64cc55cdef58b9c22f8a1c34d93a9ef1fde49f Thomas Oberndörfer 2012-09-04 03:06:37 -07:00
  • 051253c383 Add extractPublicKey() method to private key Thomas Oberndörfer 2012-09-04 10:20:52 +02:00
  • ac64cc55cd Merge pull request #52 from toberndo/zip_compression Sean Colyer 2012-08-27 19:25:08 -07:00
  • 2a29f69b50 Merge 0ec3252ba570387aa681e5a0865dafa5ffd72bec into df3d2fb0934e2dac90a405e9fb94f7813d28e0ff Thomas Oberndörfer 2012-08-27 06:02:25 -07:00
  • 0ec3252ba5 Use JXG for ZIP decompression Thomas Oberndörfer 2012-08-27 14:33:48 +02:00