Commit Graph

1966 Commits

Author SHA1 Message Date
Sanjana Rajan
161b034367
Merge pull request #802 from KAYLukas/feat/3-des
Support 3des as a valid algorithmname in a session key
2018-11-06 17:43:37 +01:00
Kay Lukas
c952e833d3 Support 3des as a session key algorithm 2018-11-06 17:38:17 +01:00
Sanjana Rajan
65de9b3e28 Release new version 2018-11-06 13:42:15 +01:00
Sanjana Rajan
86225cb1fa
Merge pull request #799 from twiss/signature-data
Compute signed data based on expected signature type
2018-11-06 13:38:42 +01:00
Daniel Huigens
79124a9680 Fix security test generating signing subkey on Safari 10 2018-11-06 11:48:16 +01:00
Daniel Huigens
c037b96037 Babelify seek-bzip for compat build 2018-11-05 18:00:21 +01:00
Daniel Huigens
f96bf45fb2 Lower S2K iteration count parameter in tests 2018-11-05 18:00:20 +01:00
Daniel Huigens
997f3e8e38 Compute signed data based on expected signature type 2018-11-05 17:13:40 +01:00
Daniel Huigens
1071cb9bca Fix cloning embedded signatures 2018-11-05 16:32:30 +01:00
Sanjana Rajan
a6e20d7abd Release new version 2018-11-05 14:14:49 +01:00
Sanjana Rajan
67de70fa01
Merge pull request #798 from twiss/seek-bzip
Remove bzip2 compression
2018-11-05 12:58:50 +01:00
Daniel Huigens
08f48bfc2c Switch to seek-bzip 2018-11-05 12:49:53 +01:00
Sanjana Rajan
0be9113366
Merge pull request #797 from twiss/security-fixes
Security fixes
2018-11-05 11:58:31 +01:00
Daniel Huigens
9a7fe9cd45 Bump S2K iteration count parameter 2018-11-05 11:47:46 +01:00
Daniel Huigens
d314a20e0f Don't return keys with an authorized revocation key 2018-11-05 11:47:45 +01:00
Daniel Huigens
8fa3aadea2 Add and require primary key binding signatures on signing keys
Also, fix keyFlags of signing subkeys.

Also, store Issuer Key ID and Embedded Signature in unhashed rather
than hashed subpackets.
2018-11-05 11:47:45 +01:00
Daniel Huigens
8c97112449 Throw on critical unknown signature subpackets 2018-11-05 11:47:44 +01:00
Daniel Huigens
47138eed61 Don't trust unhashed signature subpackets
Also, export packet.Signature.prototype.read_sub_packets.
2018-11-05 11:47:43 +01:00
Daniel Huigens
327d3e5392 Only accept binary or text signatures when verifying messages 2018-11-05 11:47:39 +01:00
Sanjana Rajan
17f639bc8d
Merge pull request #795 from twiss/web-crypto-hashing
Web Crypto hashing
2018-11-05 11:38:41 +01:00
Daniel Huigens
2245df6023 Don't return streams in openpgp.revokeKey() 2018-11-05 11:15:39 +01:00
Daniel Huigens
4faa84daa0 Inline iterated S2K loop 2018-11-01 15:40:04 +01:00
Daniel Huigens
a250ee9f91 Clean up checksum calculation 2018-11-01 14:47:22 +01:00
Daniel Huigens
e8a2c45390 Only use Web Crypto for hashing beyond a treshold number of bytes
Sending data to the Web Crypto API involves some latency.
2018-11-01 14:47:22 +01:00
Daniel Huigens
7253df1632 Don't hash when comparing key fingerprints 2018-11-01 14:47:21 +01:00
Daniel Huigens
abce79b509 Use Web Crypto for hashing 2018-11-01 14:11:22 +01:00
Sanjana Rajan
3c45b6f18a
Merge pull request #793 from twiss/signature-errors
Check that one-pass signatures match their corresponding signature
2018-11-01 12:13:02 +01:00
Daniel Huigens
11fd2313a7 Fix unhandled promise rejection when decrypting non-MDC message 2018-11-01 11:46:43 +01:00
Daniel Huigens
13c29b1fc9 Fix decryption with multiple passwords 2018-11-01 11:46:27 +01:00
Sanjana Rajan
09def1208d
Merge pull request #790 from nickmi/master
fixed key lookup example on  README.md
2018-11-01 11:41:12 +01:00
Daniel Huigens
d442b6bad7 Throw when signature packet does not correspond to one pass signature packet 2018-10-29 11:47:39 +01:00
Daniel Huigens
9c82bf491e Reject signatures[*].verified and signatures[*].signature on read errors
However, don't throw "unhandled promise rejection" when not using these
properties at all, or when they reject before the user has a chance to
handle them.
2018-10-29 11:47:36 +01:00
Daniel Huigens
c3419e5cd0 Don't return streams in openpgp.reformatKey() 2018-10-25 19:41:59 +02:00
nickmi
cdec95cb21
Update README.md 2018-10-23 23:05:24 +03:00
nickmi
50e522f34a
Update README.md 2018-10-23 18:58:17 +03:00
Sanjana Rajan
3c1d89bbb5 Release new version 2018-10-20 19:03:51 +02:00
Sanjana Rajan
7a2e0dcdf2
Merge pull request #787 from twiss/perf-fix-large-msgs
Fix performance issue with handling large messages
2018-10-20 18:59:21 +02:00
Daniel Huigens
baaa0716b4 Fix performance issue with handling large messages 2018-10-19 15:09:33 +02:00
Sanjana Rajan
f15b648b01 edit README wording 2018-10-12 17:27:09 +02:00
Sanjana Rajan
b972bd8e09
Merge pull request #782 from ZelphirKaltstahl/master
added helpful comment about default encryption and decryption of U8in…
2018-10-12 17:13:51 +02:00
Hans-Werner Roitzsch
12418921d0 adapted comment for pull request 2018-10-12 16:19:22 +02:00
Hans-Werner Roitzsch
2f1f901fdf added helpful comment about default encryption and decryption of U8intArray with password 2018-10-11 11:51:23 +02:00
Daniel Huigens
6f9670cc65 Clarify comment explaining packetlist's usage of supportsStreaming 2018-10-10 18:21:02 +02:00
Sanjana Rajan
c3b33c4251
Merge pull request #781 from evildvl/patch-1
Multiple public keys code
2018-10-10 18:20:21 +02:00
Sanjana Rajan
1e3f223e8b
Merge pull request #779 from twiss/throw-parse-errors
Throw on parse errors in integrity protected encrypted packets
2018-10-10 18:16:59 +02:00
Stanislav Mikhaylov
a4276677b8
Update function to be clear
Update function to be clear and without hardcoded payload
2018-10-09 11:10:27 +03:00
Stanislav Mikhaylov
9f8c93dc04
Multiple public keys example 2018-10-09 10:51:38 +03:00
Stanislav Mikhaylov
ee1bcce275
Multiple public keys code
Update README.md with the code example by @avimar (https://github.com/openpgpjs/openpgpjs/issues/271#issuecomment-274901731). Think that it's too hard to find and missed in documentation.
2018-10-08 18:23:54 +03:00
Daniel Huigens
bc6118980f Throw on parse errors in integrity protected encrypted packets 2018-10-05 12:40:05 +02:00
Sanjana Rajan
a6e3ada438 Release new version 2018-10-04 23:43:46 -07:00