Commit Graph

412 Commits

Author SHA1 Message Date
Robert Nelson
911e103de9 Add keyring.min.js and update openpgp bundles 2013-12-08 22:50:27 -08:00
Robert Nelson
1d0c75a927 Add keyring bundle creation to Makefile 2013-12-08 21:23:05 -08:00
Robert Nelson
1c07c482aa Create a bundle for keyring and split out the store code 2013-12-08 20:54:25 -08:00
Robert Nelson
f00d3210aa Convert keyring to use key interface rather than the packetlist. 2013-12-08 19:35:01 -08:00
Robert Nelson
bfba0eca0c Changed unitttests and keyring to use bundled openpgp and updated keyring to use openpgp.key instead of packetlists.
Added getUserIds() to key.

Reenabled keyring ci tests.
2013-12-08 15:41:31 -08:00
Robert Nelson
30332003f8 Merge remote-tracking branch 'origin/devel' into integration-tests 2013-12-08 11:02:26 -08:00
Robert Nelson
be8cab9795 Change Makefile to build debug and non-debug versions of openpgp.js 2013-12-08 10:29:50 -08:00
Thomas Oberndörfer
5d32718096 Normalize end of line, add getter and setter for text in literal data packet. 2013-12-08 14:24:52 +01:00
Robert Nelson
e8a2cd6621 Continuous integration testing support completed 2013-12-08 04:38:44 -08:00
Thomas Oberndörfer
5d6e1a9506 Merge pull request #137 from Robert-Nelson/devel-signature-fixes
Merge signature changes from master
2013-12-08 02:01:49 -08:00
Robert Nelson
5f30c67499 All signature unit tests passing now 2013-12-06 14:26:11 -08:00
Robert Nelson
f57de1ec40 Unit tests passing 2013-12-06 09:56:05 -08:00
Robert Nelson
03d0d44061 Signature fixes 2013-12-05 22:31:33 -08:00
Robert Nelson
e6a116d14e Fix warnings from 'make minify' + other bugs 2013-12-05 20:12:20 -08:00
Robert Nelson
f0c2427895 Array indexing on strings is nonstandard and doesn't work on IE 2013-12-05 20:03:08 -08:00
Tankred Hase
4cad3c0a44 Merge pull request #135 from openpgpjs/new_line
Add test for RFC compliant new line handling
2013-12-05 13:15:42 -08:00
Tankred Hase
fb44405de5 Merge pull request #134 from Robert-Nelson/another-signature-fix
Another signature fix
2013-12-05 13:14:11 -08:00
Tankred Hase
db2f20448c fix signature test 2013-12-05 22:12:32 +01:00
Tankred Hase
8860161c67 Merge branch 'another-signature-fix' of github.com:Robert-Nelson/openpgpjs into new_line 2013-12-05 22:08:48 +01:00
Robert Nelson
f07702e867 More consistency changes 2013-12-05 12:29:52 -08:00
Robert Nelson
e965b6771b Cleanup canonical message handling for signatures 2013-12-05 12:21:23 -08:00
Tankred Hase
caaedc16bf reconstruct bug in signature verification 2013-12-05 17:27:56 +01:00
Tankred Hase
8c16abbfee bugfix for only call showMessage if it was defined 2013-12-05 12:37:55 +01:00
Tankred Hase
fecad8b8c0 only call showMessage if it was defined 2013-12-05 12:33:03 +01:00
Tankred Hase
af29686442 Merge pull request #130 from Robert-Nelson/signature-fix
Signature fix
2013-12-05 02:53:43 -08:00
Tankred Hase
d43b6df378 Merge pull request #132 from Robert-Nelson/build-status-fix
Build status fix
2013-12-05 01:48:42 -08:00
Robert Nelson
2e100068f1 Put the query string on the right url 2013-12-04 21:07:44 -08:00
Robert Nelson
0ebe4fd516 Only report build status for master and devel 2013-12-04 21:05:07 -08:00
Robert Nelson
aa377b7cc9 Add verification of V3 signatures 2013-12-04 20:38:52 -08:00
Robert Nelson
835a05853e Change message to match others 2013-12-04 19:39:15 -08:00
Robert Nelson
f8d8d471a9 Add test of verification of a clearsign message generated by gpg 2013-12-04 19:33:44 -08:00
Robert Nelson
e9b8b0efb9 Incorporate integration test changes from signature branch 2013-12-04 18:11:14 -08:00
Robert Nelson
8110782633 Fix checksum failure debug message 2013-12-04 15:42:56 -08:00
Thomas Oberndörfer
f6176ed484 Move key generation to Key class 2013-12-04 16:45:14 +01:00
Thomas Oberndörfer
7e711510cc Implement cleartext signed messages 2013-12-02 20:11:21 +01:00
Thomas Oberndörfer
be96de5188 Move methods of Key and Message class to prototype. Clean up openpgp.js file. 2013-12-02 14:54:05 +01:00
Thomas Oberndörfer
89eb5dff2a Rename attribute for data of armored message from .openpgp to .data 2013-12-02 11:27:14 +01:00
Robert Nelson
63db9246c6 Enhance debugging output and fix escaped dashes. 2013-12-01 17:46:56 -08:00
Robert Nelson
e1908496c7 Add verification for version 3 signatures 2013-11-30 22:29:28 -08:00
Robert Nelson
84f6483cba Fix signing with version 3 keys 2013-11-30 21:17:04 -08:00
Robert Nelson
1f4911450b Resolve two more situations
Handle messages with strings of dashes.

Work around IE bug with split().
2013-11-30 12:29:47 -08:00
Thomas Oberndörfer
c2a79368dc Add verify method to message class and other improvements. Implement openpgp.decryptAndVerifyMessage. Allow parsing of unhashed signature subpackets. 2013-11-30 17:29:20 +01:00
Robert Nelson
f59fa54ecf Fix ascii dearmor and signature verification bugs 2013-11-29 19:29:57 -08:00
Robert Nelson
b4676d2ad8 Merge branch 'misc-fixes' into signature-fix 2013-11-29 18:34:36 -08:00
Robert Nelson
8b854a2ad1 Fix warnings from 'make minify' + other bugs 2013-11-29 17:08:17 -08:00
Robert Nelson
e4e69749a6 Don't use array indexing on strings it is nonstandard and doesn't work on IE 2013-11-29 16:10:56 -08:00
Thomas Oberndörfer
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.
2013-11-26 18:30:17 +01:00
Thomas Oberndörfer
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.
2013-11-26 10:35:41 +01:00
Thomas Oberndörfer
22ad0d3505 Implement signAndEncryptMessage function. Fix packet_one_pass_signature.write(). 2013-11-19 16:30:41 +01:00
Thomas Oberndörfer
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.
2013-11-19 13:50:14 +01:00