fork-openpgpjs/src/packet
Ilya Chesnokov 08b7725b8c Create lightweight build that can lazily load indutny/elliptic if needed (#956)
This PR adds four config options to configure whether and how to load
indutny/elliptic: use_indutny_elliptic, external_indutny_elliptic,
indutny_elliptic_path and indutny_elliptic_fetch_options.

Also:

- Use tweetnacl.js instead of indutny/elliptic for curve25519 key generation

- Don't initialize indutny's curve25519, improving performance when using that curve

- Verify NIST signatures using Web Crypto instead of indutny/elliptic when not streaming

- Move KeyPair.sign/verify to ecdsa.js

- Move KeyPair.derive to ecdh.js

- Move keyFromPrivate and keyFromPublic to a new indutnyKey.js file
2019-10-25 16:07:57 +02:00
..
all_packets.js Remove some ESLint silencers 2018-05-01 17:36:15 +02:00
clone.js Fix openpgp.revokeKey().publicKey when using the Worker 2019-10-15 14:15:41 +02:00
compressed.js Optimize reading large messages with lots of tiny partial body parts (#864) 2019-02-21 08:33:55 -08:00
index.js Remove some ESLint silencers 2018-05-01 17:36:15 +02:00
literal.js Style fixes; add spaces around all infix operators, remove new Buffer (#954) 2019-08-30 12:27:30 +02:00
marker.js Fixes dead links in the documentation 2018-03-13 00:13:04 -07:00
one_pass_signature.js Fix verifying one-pass signatures in the compat build (#968) 2019-09-12 00:42:35 +02:00
packet.js Remove unused writeOldHeader function 2019-08-12 17:46:37 +02:00
packetlist.js Fix one-pass signature verification when using a Worker 2019-05-03 18:40:31 +02:00
public_key_encrypted_session_key.js Clean up ECDH API 2019-05-02 12:08:08 +02:00
public_key.js Rename numBits and bits to rsaBits (#970) 2019-09-18 13:40:44 +02:00
public_subkey.js Style fixes; add spaces around all infix operators, remove new Buffer (#954) 2019-08-30 12:27:30 +02:00
secret_key.js Fix decrypting newly generated key object when using the Worker 2019-09-11 18:11:16 +02:00
secret_subkey.js Style fixes; add spaces around all infix operators, remove new Buffer (#954) 2019-08-30 12:27:30 +02:00
signature.js Create lightweight build that can lazily load indutny/elliptic if needed (#956) 2019-10-25 16:07:57 +02:00
sym_encrypted_aead_protected.js AEAD: Fix high water mark calculation based on chunk size 2019-10-15 18:24:14 +02:00
sym_encrypted_integrity_protected.js Decrypt message with multiple keys in parallel 2019-07-19 19:05:26 +02:00
sym_encrypted_session_key.js Remove support for the previous draft00 AEAD 2019-08-12 17:46:37 +02:00
symmetrically_encrypted.js Throw error before decrypting in non-MDC packets 2019-02-12 11:49:38 +01:00
trust.js Documentation improvements in src/packet 2018-03-09 08:01:06 -08:00
user_attribute.js Fixes dead links in the documentation 2018-03-13 00:13:04 -07:00
userid.js Support unicode surrogate code points 2018-08-14 17:24:40 +02:00