Commit Graph

  • 8b854a2ad1 Fix warnings from 'make minify' + other bugs Robert Nelson 2013-11-29 17:08:17 -08:00
  • 96bb1ca88c Merge e4e69749a68f3d117500ff9c62383873badcdd54 into 1cd7b542a0c3478f71e0a95343e60fad9889ead2 Robert Nelson 2013-11-29 16:13:33 -08:00
  • e4e69749a6 Don't use array indexing on strings it is nonstandard and doesn't work on IE Robert Nelson 2013-11-29 16:10:56 -08:00
  • b0ea97ec28 Make packet tests run. Rename test files, move signature tests to general folder. Split keyring tests in own file. Add tests for V3 signatures and fix verification. Thomas Oberndörfer 2013-11-26 18:30:17 +01:00
  • 66c428da7e Fix key generation: use primary key for subkey binding signature. On signing all signature subpacket data is written to the hashed subpacket data section. This allows to set e.g. key flags on certification signatures. Thomas Oberndörfer 2013-11-26 10:35:41 +01:00
  • 22ad0d3505 Implement signAndEncryptMessage function. Fix packet_one_pass_signature.write(). Thomas Oberndörfer 2013-11-19 16:30:41 +01:00
  • 93376b6e13 Add decryptKeyPacket to key class. Used to decrypt specific key packets and replacing the unlock mechanism. Decrypt method of packet_secret_key returns boolean to indicate successful decryption. Add config to util class and cleanup comments. Update tests. Thomas Oberndörfer 2013-11-19 13:50:14 +01:00
  • 097e602fd0 Fix grunt-browserify dependency Thomas Oberndörfer 2013-11-18 10:07:18 +01:00
  • c051eacf36 Introduce unlock method for keys: passphrase is set as attribute of key and used to decrypt required secret key packets on demand. Directly access config module in armor.js. Key method getPrivateKeyPacket returns key packets by ID (optionally decrypted). Message method decrypt returns new message with packetlist of decrypted message. Add CRLF conversion to literal data packet. Packetlist: make filterByTag variadic, add findPacket method. Keep state isDecrypted in secret key packet, don't decrypt if already decrypted. Add mapToHex method to keyid. Simplify emailRegEx. Thomas Oberndörfer 2013-11-16 22:08:42 +01:00
  • 40701e09ab Merge pull request #121 from toberndo/devel Sean Colyer 2013-10-31 19:28:37 -07:00
  • 999b027ebf Merge a6ea688eb675909317352fad7311bd96fa00abc4 into 1cd7b542a0c3478f71e0a95343e60fad9889ead2 jaekwon 2013-10-28 00:15:44 -07:00
  • a6ea688eb6 Do not create unnecessary openpgp_msg_message's Jae Kwon 2013-10-28 00:17:20 -07:00
  • c0a6caa177 Fixed bug where empty strings can't be decrypted. Jae Kwon 2013-10-28 00:07:20 -07:00
  • 93e653f187 Fixed packet length miscalculation issue Jae Kwon 2013-10-26 17:05:15 -07:00
  • 1be6b8b858 Remove keyring from openpgp namespace. Optimize keyid initialization. Thomas Oberndörfer 2013-10-24 12:19:46 +02:00
  • 4feba74c00 Merge 1fccc29939a1c58691b2eea1964fab16bedbd2b1 into 1cd7b542a0c3478f71e0a95343e60fad9889ead2 encomiast 2013-10-23 18:16:39 -07:00
  • 9914bc461b reactive travis.yml but do nothing in npm test until devel branch is ready for testing Tankred Hase 2013-10-23 18:42:49 +02:00
  • f6811d4727 remove travis.yml on devel branch since Integration tests dont yet work here Tankred Hase 2013-10-23 18:30:24 +02:00
  • 1cd7b542a0 Update README.md Tankred Hase 2013-10-23 15:19:19 +02:00
  • f73f9eccd3 Update README.md Tankred Hase 2013-10-23 15:17:55 +02:00
  • a3ab946d6a Merge pull request #120 from whiteout-io/mocha Tankred Hase 2013-10-23 06:10:19 -07:00
  • b951cddd6d add mocha tests for travis CI integration tests on code commit Tankred Hase 2013-10-22 13:01:17 +02:00
  • b544343c63 Further clean up in message and key class. Make tests run. Thomas Oberndörfer 2013-10-22 20:15:05 +02:00
  • b1c9eb71d2 Refactoring message and key class. Implement decryptMessage. Thomas Oberndörfer 2013-10-21 20:51:46 +02:00
  • 91070f9750 Changing main api to be more key dependent seancolyer 2013-10-18 21:46:38 -04:00
  • 7cfa0ab705 Cleanup, creating armor enums seancolyer 2013-10-18 21:18:38 -04:00
  • 8b9d60ba15 Merge pull request #118 from toberndo/devel Sean Colyer 2013-10-18 17:11:14 -07:00
  • 646e370df7 First draft of encrypt message function Thomas Oberndörfer 2013-10-18 20:20:19 +02:00
  • 1fccc29939 Add unit test for ASCII dearmor encomiast 2013-10-18 14:52:36 +02:00
  • ebc640ec89 Refactored out helper function for msg.decrypt* Jae Kwon 2013-10-17 20:08:56 -07:00
  • 8baaa7f511 Fixing the signature to work properly with "hashed" subpackets. seancolyer 2013-10-17 23:03:13 -04:00
  • 7038fb614a Fixed #108, decryptAndVerifySignature() vuln. Jae Kwon 2013-10-16 23:53:35 -07:00
  • 3282eda87f Fixed several linebreak-related issues when verifying a clear-text message signature encomiast 2013-10-17 00:13:30 +02:00
  • 4872b8c720 Work towards signature. There seems to be an issue with generating the dates of signature packets, gpg is unable to read the results. We used to do this correctly, so need to figure out exactly what's different.. seancolyer 2013-10-15 22:46:32 -04:00
  • 52cf3eced8 Working towards key generation, started cleanup of config, changing armor api slightly to pass in whether or not to show version string, not entirely happy with current solution. seancolyer 2013-10-14 22:52:10 -04:00
  • 397e986fd8 Merge 4ed394a07836dcc28f14635348454eb26084dce9 into b94566a154d09bd63df963adb3bd515c729273e4 Patrick Connolly 2013-10-14 01:47:24 -07:00
  • 42f26e543e Work around key generation. We need to get the signature data-passing platform ironed out for things like certifying keypairs/user ids. seancolyer 2013-10-13 15:39:45 -04:00
  • adef8f8e4e Check for window, localStorage and getRandomValues while processing config function slavikm 2013-10-13 12:34:36 -07:00
  • 482a5b600b Merge db1909905ee2c7c5a1e312d52357e0614c044392 into b94566a154d09bd63df963adb3bd515c729273e4 Tankred Hase 2013-10-11 18:36:34 -07:00
  • db1909905e use try catch instead of chrome specific checks Tankred Hase 2013-10-12 03:34:06 +02:00
  • b15b6ae6f9 disable localstorage in chrome packaged app Tankred Hase 2013-10-12 03:22:08 +02:00
  • 11acf33665 Including @arlolra changes to improve MillerRabin seancolyer 2013-10-09 19:16:31 -04:00
  • b94566a154 Rebuilding binaries. Fixing minor issue with PR#105 seancolyer 2013-10-09 19:09:54 -04:00
  • 81fdb00418 Merge pull request #111 from cryptoreddit/patch-1 Sean Colyer 2013-10-09 16:06:42 -07:00
  • f96e0de500 Merge ad1983ac1217ec78bbcfd0accfbc6cd2e18bf224 into a856396016032ff064500c6844152931eff88654 cryptoreddit 2013-10-09 16:05:41 -07:00
  • a856396016 Merge pull request #82 from arlolra/bases Sean Colyer 2013-10-09 16:05:19 -07:00
  • e216c879ce Merge ab32d1b9e1371d0ce97086d6a194913bff45a41a into 14e50a4661c0aecd0edde0228356ca4344728a62 Arlo Breault 2013-10-09 15:47:53 -07:00
  • 14e50a4661 Merge pull request #105 from dcposch/master Sean Colyer 2013-10-09 15:44:35 -07:00
  • 99562d026c Merge d19d1993c6c6f1d3d48d0969e043199316136300 into 630492d511252c0c5d4ef377e5f19499099afacd DC 2013-10-09 15:38:02 -07:00
  • 630492d511 Merge pull request #110 from qnrq/master Sean Colyer 2013-10-09 15:36:06 -07:00
  • ad1983ac12 In Base64 encoding, if result ends in \n, remove it. (Fixes #79, #105) cryptoreddit 2013-10-09 09:58:13 -07:00
  • 33a0289958 Merge 4379bba2cd6e0a97fefb3e5efaa525c2c598b1d5 into 19a5d00d4a864809774dcf47802326e9d8f0311b Niklas Szilágyi Femerstrand 2013-10-09 00:32:59 -07:00
  • 4379bba2cd Fixes erroneous linefeed handle in write_signed_message() Niklas Femerstrand 2013-10-09 23:36:46 +07:00
  • 7abaa43497 Initial gruntfile support. Forcing a standardized style. seancolyer 2013-10-08 22:33:36 -04:00
  • fae321a1e3 Further test work, make keyring marginally work. Start end-to-end work. seancolyer 2013-10-08 21:54:40 -04:00
  • 1f88d00375 Merge branch 'devel' of github.com:openpgpjs/openpgpjs into devel seancolyer 2013-10-06 21:45:30 -04:00
  • e09adbd525 ref to test/index.html AlexanderWillner 2013-09-23 07:42:01 +02:00
  • 30d2c38f00 Started cleaning up the public API/Keyring to use the "packetlist" concept. More cleanup still to do, also need to determine best way to submodule keyring. Ripping out previous packet.io addition because it isn't needed/ goes against packetlist. seancolyer 2013-10-06 21:40:31 -04:00
  • 41564d5653 Make dependency on localStorage optional slavikm 2013-09-24 16:12:54 -07:00
  • ad1708d12f ref to test/index.html AlexanderWillner 2013-09-23 07:42:01 +02:00
  • 19a5d00d4a ref to test/index.html AlexanderWillner 2013-09-23 07:42:01 +02:00
  • d19d1993c6 Fixed ASCII armor decoding bug DC 2013-09-22 20:23:47 -07:00
  • 766d3e34fe Start working on openpgp.sigcheck.js tests. I have exposed packetParser as packet.io to src/openpgp.js, I think that will quickly be revisited. seancolyer 2013-09-21 19:39:15 -04:00
  • 75f632acaf Cleanup eme_pkcs1 padding tests. seancolyer 2013-09-21 17:39:08 -04:00
  • 4fd33836e6 Merge pull request #100 from atrevarrow/devel Sean Colyer 2013-09-21 14:23:38 -07:00
  • 4ed394a078 Leverages Bower for pkg mngmt rather than submodules. Patrick Connolly 2013-09-10 18:10:04 -04:00
  • 81ba4609d4 Merge 41f0a040e9a20d06b1eb56567caf939441e1c690 into 020a46ea3b8c65936957632d93d88044cef0f148 atrevarrow 2013-08-27 04:29:52 -07:00
  • 41f0a040e9 Fixed DES/TripleDES padding and added unit tests atrevarrow 2013-08-27 23:23:58 +12:00
  • 1ad85165a1 Merge 987f5df5a2638c41d582418862ab36bc10913279 into 020a46ea3b8c65936957632d93d88044cef0f148 Devin Weaver 2013-08-25 19:35:17 -07:00
  • 987f5df5a2 Incorporates UHE PRNG into random.js Devin Weaver 2013-08-25 22:28:10 -04:00
  • 11f55d550a Adds module.exports to UHE PRNG Devin Weaver 2013-08-25 21:52:01 -04:00
  • 0a32af40d5
    Adds GRC UHE PRNG Devin Weaver 2013-08-25 21:20:54 -04:00
  • ba8a964d05 Merge branch 'pr/95'. Had to manually build make because previously merged pr96. seancolyer 2013-08-25 19:11:12 -04:00
  • cab7623ea0 Merge pull request #96 from toberndo/master Sean Colyer 2013-08-25 16:02:13 -07:00
  • 020a46ea3b Test cleanup. seancolyer 2013-08-22 22:47:46 -04:00
  • addfcb5213 Merge ee993ec6237cf9aecaa53bca5402bb50c28fab4f into 6a4596fb56a6c25cc0c362668ab749415a43aac9 Thomas Oberndörfer 2013-08-20 07:39:52 -07:00
  • ee993ec623 Convert userId to UTF8 before generating signature Thomas Oberndörfer 2013-08-20 16:24:23 +02:00
  • ae1cb14bfb Further test cleaning. openpgp.crypto.js test runs now, next step, make it pass. seancolyer 2013-08-19 21:24:17 -04:00
  • b7d0322b8e Test cleanup, and fall out from that. test/crypto/openpgp.crypto.js is still broken because DSA still has issues. I'm guessing elgamal will too once the DSA ones are fixed. seancolyer 2013-08-18 17:37:37 -04:00
  • e0eb15377b Merge 86df06f8da3665e3c7e8369ec43ecf5405ef0042 into 6a4596fb56a6c25cc0c362668ab749415a43aac9 atrevarrow 2013-08-13 05:42:54 -07:00
  • 86df06f8da Fixed DES/TripleDES padding issues which fixed broken TripleDES unit test; added unit tests for DES padding atrevarrow 2013-08-14 00:18:49 +12:00
  • 6a4596fb56 Merge pull request #85 from toberndo/master Sean Colyer 2013-08-05 17:13:03 -07:00
  • 057bf7bad7 Merge 278aa089d5850453c5872b690851850fe1a73309 into 095198200eb327d79f77424c6e002e3958265f0c Tall-Paul 2013-08-01 01:45:45 -07:00
  • 08275ce5ef Merge 322f57cc174b29b0cdc2e4199140532952a2bce3 into 095198200eb327d79f77424c6e002e3958265f0c Thomas Oberndörfer 2013-07-29 07:36:59 -07:00
  • 095198200e Updating README to refer developers to investigate the devel branch. seancolyer 2013-07-21 20:12:36 -04:00
  • 322f57cc17 Handle wrong UTF8 encodings gracefully Thomas Oberndörfer 2013-07-12 14:59:38 +02:00
  • a2db324605 Fix exception in packet.keymaterial.getKeyId() for V3 keys Thomas Oberndörfer 2013-06-27 11:50:01 +02:00
  • 5898cea4de DeArmor: remove whitespace of blank line Thomas Oberndörfer 2013-06-25 16:25:10 +02:00
  • d70d985bb6 Merge e32700e3ac21b2f0ff1e22c10d81c6a5ce1bc7c9 into aa8a7f94f1672d2b595d5f08c0eb5a028b4a8ee2 rcabr 2013-06-21 17:38:55 -07:00
  • e32700e3ac Converted tests to Jasmine test framework rcabr 2013-06-21 20:34:24 -04:00
  • 278aa089d5 Now working in node.js: tall-paul 2013-06-17 17:36:14 +01:00
  • ab32d1b9e1 Avoid repeating bases in MillerRabin. Arlo Breault 2013-06-15 22:39:32 -07:00
  • f9920cc20d added node.js support tall-paul 2013-06-14 14:46:11 +01:00
  • 844ea22d99 Added travis badge. Michal Kolodziej 2013-05-12 23:36:33 +02:00
  • 7d6cc3c771 Initial support for node.js testing. Michal Kolodziej 2013-05-12 23:27:48 +02:00
  • c77a17cf31 Twofish test is working once more. Michal Kolodziej 2013-05-12 19:05:13 +02:00
  • 3537b92a51 Cleanup of symmetric crypto functions and definitions. Broke a few tests. Michal Kolodziej 2013-05-12 14:27:23 +02:00
  • 664ab71686 Switch to browserify. Basic unit tests are working. Michal Kolodziej 2013-05-11 21:55:48 +02:00
  • 18236ac097 A ton of changes regarding browserify support. Non functional as of now. Michal Kolodziej 2013-05-11 16:03:25 +02:00
  • f421dc0d72 Restructuring and more work on browserify support. Michal Kolodziej 2013-05-11 08:25:53 +02:00