Sanjana Rajan
|
80aab5d94f
|
Merge pull request #712 from openpgpjs/signature_formatting
Fix #710
|
2018-05-22 17:32:22 -07:00 |
|
Sanjana Rajan
|
bcfb9c037a
|
fix case with binary signatures on text data
|
2018-05-22 14:58:13 -07:00 |
|
Sanjana Rajan
|
33d5b158f8
|
fix #706 - if ignore_mdc_error is set to false then MDC is required for all symmetrically encrypted data
|
2018-05-15 00:04:58 -07:00 |
|
Sanjana Rajan
|
6efcce1069
|
prioritize signing with subkeys when possible
|
2018-05-09 12:23:35 -07:00 |
|
Daniel Huigens
|
887e832635
|
Throw when user ID matches no users
|
2018-05-03 13:04:32 +02:00 |
|
Daniel Huigens
|
3c224379f6
|
Remove util.isUserId()
It was not really correct anyway; a user id can just be an email address
without < > brackets.
|
2018-05-01 13:39:24 +02:00 |
|
Daniel Huigens
|
fe3c1b4f31
|
Add fromUserId / toUserId parameters to openpgp.encrypt and sign
To select the user whose algorithm preferences, expiration time etc to use.
|
2018-05-01 13:39:23 +02:00 |
|
Daniel Huigens
|
6c2fec3450
|
Parse user IDs
Also, support comments when creating user IDs
|
2018-05-01 13:39:23 +02:00 |
|
Daniel Huigens
|
49c9fb193d
|
Only call webCrypto.generateKey once in tests
|
2018-04-30 16:58:39 +02:00 |
|
Daniel Huigens
|
8ec01ae07a
|
Reduce duplicate tests
|
2018-04-30 16:58:38 +02:00 |
|
Daniel Huigens
|
550b758d57
|
Fall back to asm for CTR and CBC in old Safari
|
2018-04-30 16:58:35 +02:00 |
|
Daniel Huigens
|
7ce3f5521f
|
Set default draft version to 4
|
2018-04-30 15:55:38 +02:00 |
|
Daniel Huigens
|
04651e359a
|
Rename enums.aead.gcm to experimental_gcm
So that (1) if the spec ever defines GCM differently than we do, we have a
clean upgrade path and (2) it makes it clear that it's experimental.
|
2018-04-30 15:55:37 +02:00 |
|
Daniel Huigens
|
310d8dd9b9
|
Fix V5 key fingerprint in ECDH parameters
|
2018-04-30 15:55:36 +02:00 |
|
Daniel Huigens
|
0376f49e01
|
Deduplicate getPreferredSymAlgo / getPreferredAEADAlgo
|
2018-04-30 15:55:35 +02:00 |
|
Daniel Huigens
|
4568d080d5
|
Fix decryption with multiple chunks
|
2018-04-30 15:55:34 +02:00 |
|
Daniel Huigens
|
343c64eca0
|
Add tests for signing and verifying messages with trailing spaces
|
2018-04-30 15:55:33 +02:00 |
|
Daniel Huigens
|
e061df113c
|
Implement GCM mode in the new draft
Also, implement additional data for GCM
|
2018-04-30 15:55:31 +02:00 |
|
Daniel Huigens
|
6f2abdc2cf
|
Implement MIME message type (Literal Data Packet format 'm')
|
2018-04-27 14:06:19 +02:00 |
|
Daniel Huigens
|
e24b46192d
|
Only AEAD-protect when target keys support it
|
2018-04-27 14:06:18 +02:00 |
|
Daniel Huigens
|
e44fbbccab
|
Add more OCB tests
|
2018-04-27 14:06:18 +02:00 |
|
Daniel Huigens
|
28dbbadcff
|
Add config.aead_protect_version option
|
2018-04-27 14:06:17 +02:00 |
|
Daniel Huigens
|
997ec1c8db
|
Add AEAD feature flags
|
2018-04-27 14:06:17 +02:00 |
|
Daniel Huigens
|
f225f994ec
|
Add AEAD-OCB test vector
|
2018-04-27 14:06:16 +02:00 |
|
Daniel Huigens
|
5f97a8c937
|
Implement preferred AEAD algorithms
|
2018-04-27 14:06:16 +02:00 |
|
Daniel Huigens
|
5f891d28d6
|
Switch cipher/aes.js to Uint8Arrays
|
2018-04-27 14:06:14 +02:00 |
|
Daniel Huigens
|
c2f898279b
|
Implement version 5 Secret-Key Packet Format
|
2018-04-27 14:06:14 +02:00 |
|
Daniel Huigens
|
17ad654d60
|
Implement version 5 Symmetric-Key Encrypted Session Key packet
|
2018-04-27 14:06:13 +02:00 |
|
Daniel Huigens
|
7b3f51c0d4
|
Implement AEAD Encrypted Data Packet
|
2018-04-25 20:12:10 +02:00 |
|
Daniel Huigens
|
c63ed980a1
|
Fix dash-escaping the first line of cleartext signed messages
|
2018-04-25 19:46:43 +02:00 |
|
Daniel Huigens
|
122d526f49
|
Only consider most recent subkey binding signature
This partially reverts 2bda127 .
|
2018-04-18 14:40:06 +02:00 |
|
Sanjana Rajan
|
e4bd27ce2f
|
tests
|
2018-04-16 10:51:07 -07:00 |
|
Sanjana Rajan
|
8778490061
|
tests
|
2018-03-22 16:11:39 -07:00 |
|
Sanjana Rajan
|
2f351985c4
|
tests
|
2018-03-19 18:55:30 -07:00 |
|
Sanjana Rajan
|
401edab455
|
add brainpool gpg compatibility tests
|
2018-03-18 22:36:36 -07:00 |
|
Mahrud Sayrafi
|
944dece506
|
Adds Brainpool Curves + tests + docs
|
2018-03-18 10:12:29 -07:00 |
|
Sanjana Rajan
|
75cd4e5e6f
|
some fixes, add expired key test
|
2018-03-17 07:32:56 -07:00 |
|
Sanjana Rajan
|
38508b33d1
|
if primary key is invalid, so are subkeys
|
2018-03-12 23:23:03 +01:00 |
|
Sanjana Rajan
|
a94ca90653
|
add test for key revoked with cert, no revoked subkeys
|
2018-03-12 23:16:41 +01:00 |
|
Mahrud Sayrafi
|
6fefe22c09
|
Finished fixing key.js; fixes async tests
|
2018-03-08 10:01:55 +01:00 |
|
Mahrud Sayrafi
|
0b2817ba39
|
Last little things become async ...
|
2018-03-08 10:01:55 +01:00 |
|
Mahrud Sayrafi
|
47006069d1
|
Added test for encryption with revoked subkey
|
2018-03-08 10:01:54 +01:00 |
|
Mahrud Sayrafi
|
73a240df6c
|
Simplifies (Key|User|SubKey).isRevoked, API changes in key.js
For User s/revocationCertifications/revocationSignatures/g
For Key/SubKey s/revocationSignature/revocationSignatures/g is now an array.
|
2018-03-08 10:01:54 +01:00 |
|
Mahrud Sayrafi
|
ec22dabac3
|
Slightly simplifies key.js; adds key.verifyKeyPackets which should be run before getEncryption/SigningKeyPacket
|
2018-03-08 10:01:54 +01:00 |
|
Bart Butler
|
2bb5db2cf4
|
multiple web workers
|
2018-03-05 21:36:53 -08:00 |
|
Bart Butler
|
572abadc91
|
random number web worker buffer automatic refill
|
2018-03-05 17:57:35 -08:00 |
|
Bart Butler
|
433ae5cce7
|
remove extraneous file
|
2018-03-05 16:32:16 -08:00 |
|
Bart Butler
|
f57888fe55
|
change all calls of getRandomBytes and getRandomBN to be async
|
2018-03-05 16:31:56 -08:00 |
|
Bart Butler
|
20a0e76998
|
Merge branch 'master' of github.com:openpgpjs/openpgpjs
|
2018-03-01 11:55:17 -08:00 |
|
Bart Butler
|
5564b67cc8
|
remove readSignedContent in favor of appendSignature
|
2018-03-01 11:55:09 -08:00 |
|