Commit Graph

1626 Commits

Author SHA1 Message Date
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
Sanjana Rajan
28ca741561
Merge pull request #778 from twiss/missing-sig-packet
Don't hang when signature packet corresponding to one-pass sig is missing
2018-10-04 23:21:02 -07:00
Daniel Huigens
3751731330 Don't hang when signature packet corresponding to one-pass sig is missing 2018-10-04 22:13:10 +02:00
Sanjana Rajan
150222bee5 Release new version 2018-09-25 16:38:51 -07:00
Sanjana Rajan
a35b4d28e0
Merge pull request #772 from twiss/getLatestValidSignature
Check validity and keyid of signatures before using them
2018-09-22 16:27:07 -07:00
Daniel Huigens
ac6b57781b Make isValid*KeyPacket inner functions 2018-09-22 23:03:10 +02:00
Daniel Huigens
bbcdacef8d Small documentation fixes 2018-09-22 23:03:10 +02:00
Daniel Huigens
b3af56b8a3 Ignore third-party revocation signatures
This check was removed in ec22dab.
2018-09-22 23:03:10 +02:00
Daniel Huigens
a1c47ecdea Indicate an error when parsing a key with an authorized revocation key
Since we will ignore revocation signatures from authorized revocation keys,
it is dangerous to use these keys.
2018-09-22 23:03:10 +02:00
Daniel Huigens
5cf61daa19 Check validity of signatures before using them 2018-09-22 23:03:10 +02:00
Sanjana Rajan
9614e8fc21
Merge pull request #773 from KAYLukas/master
Add missing browserify command
2018-09-20 12:18:03 -07:00
Kay Lukas
7a167fcccb Add missing browserify command 2018-09-20 14:20:47 +02:00
Sanjana Rajan
cccebd0272 Release new version 2018-09-17 13:18:05 -07:00
Sanjana Rajan
528e544d04
Merge pull request #771 from twiss/publish-compat-npm
Publish compat files to npm
2018-09-17 12:56:44 -04:00
Sanjana Rajan
7ad492783a
Merge pull request #769 from twiss/armor-newlines-consistency
Make newlines in armored objects consistent
2018-09-17 12:56:25 -04:00
Daniel Huigens
682548485a Publish compat files to npm 2018-09-14 14:30:58 +02:00
Daniel Huigens
d8840294cf Make newlines in armored objects consistent
- Don't add an extraneous newline at the end of base64-encoded data
  if it is a multiple of 60 characters long.
- Generate \r\n instead of \n in base64-encoded data.
- Generate one newline instead of two after END PGP PUBLIC KEY BLOCK
  for consistency with the other footers.
2018-09-13 14:32:35 +02:00
Sanjana Rajan
585ee3ff44
Merge pull request #766 from twiss/split-saucelabs-tests
Split Sauce Labs JS unit tests into multiple parts for slow browsers
2018-09-11 11:37:50 -07:00
Daniel Huigens
0a5461b8ba Split Sauce Labs JS unit tests into multiple parts for slow browsers
Sauce Labs has a timeout of 5 minutes (including emulator/browser
startup time).
2018-09-10 19:27:13 +02:00
Sanjana Rajan
aab04c2ad2 Release new version 2018-09-03 22:57:08 -07:00
Sanjana Rajan
d43437473f bugfix - when a requested key capability is not present, return null expiration 2018-09-03 21:59:58 -07:00
Sanjana Rajan
e616f8a242
Merge pull request #763 from twiss/decrypt-performance-fix
Decryption performance fix
2018-09-03 15:20:19 -07:00
Daniel Huigens
ca2f6d03b6 Slightly optimize base64 decoding 2018-09-03 18:23:38 +02:00
Daniel Huigens
dc722770d0 Don't process armored message data line per line
This cuts down on the overhead of streaming by reducing the amount
of calls to reader.read() and writer.write().
2018-09-03 18:23:38 +02:00
Sanjana Rajan
b004ddecb2
Merge pull request #699 from twiss/saucelabs-browsers
Update Sauce Labs browsers
2018-08-29 10:46:46 -07:00
Daniel Huigens
8a254b6001 Update Sauce Labs browsers 2018-08-29 17:34:38 +02:00
Daniel Huigens
564c645064 Fix intermittent "Data did not arrive early" test failure 2018-08-24 13:31:44 +02:00
Sanjana Rajan
8681ce8706
Merge pull request #755 from DanielRuf/test/add-nodejs-10
test: add Node.js 10 and remove Node.js 9
2018-08-22 12:44:29 -07:00
Daniel Ruf
aa0f1320ff
tests: force npm install instead of npm ci 2018-08-19 21:18:14 +02:00
Daniel Ruf
d94a3b8735
test: add Node.js 10 and remove Node.js 9 2018-08-17 15:43:12 +02:00
Sanjana Rajan
22c66c13a6 Release new version 2018-08-14 15:37:17 -07:00
Sanjana Rajan
d3236434b8 update release script 2018-08-14 15:34:54 -07:00
Daniel Huigens
7a4df6912b Fix intermittent failures of tests for stream error detection on Node 2018-08-14 21:49:17 +02:00
Sanjana Rajan
6214459dfb
Merge pull request #709 from twiss/stream
WIP: Streaming
2018-08-14 09:23:38 -07:00
Daniel Huigens
e055d86062 Update documentation 2018-08-14 17:50:26 +02:00
Daniel Huigens
6134b0dcaf Update README.md 2018-08-14 17:50:25 +02:00
Daniel Huigens
80453d29ad Update release script 2018-08-14 17:24:41 +02:00
Daniel Huigens
e5a3095894 Fix GCM and EAX in Edge
Web Crypto AES-GCM in Edge seems to require non-empty ADATA and an
explicit tagLength.

AES-CTR doesn't seem to be supported at all, so this disables Web Crypto
for EAX in Edge.
2018-08-14 17:24:41 +02:00
Daniel Huigens
08216bab13 Add npm run build to build both compat and non-compat files 2018-08-14 17:24:41 +02:00
Daniel Huigens
a2044a2833 Fix Sauce Labs Edge 2018-08-14 17:24:41 +02:00
Daniel Huigens
4bdc5e92ab Add --compat option
Without it, the generated build is for recent versions of
Chrome, Firefox, Safari and Edge.

With it, the generated build is for IE11+.
2018-08-14 17:24:41 +02:00