Commit Graph

  • f50abd81a1
    Support passing a non-array value to encryption/signingKeyIDs in top-level functions (#1342) larabr 2021-06-24 17:51:18 +02:00
  • 257428e9c3 Update docs [skip ci] larabr 2021-06-23 18:09:17 +02:00
  • 706a6b1445 Update openpgp.d.ts [skip ci] larabr 2021-06-21 20:45:20 +02:00
  • d1742082cb Clean up TS tests [skip ci] larabr 2021-06-17 15:12:12 +02:00
  • 06a0a96d6e Fix docs larabr 2021-06-17 15:04:10 +02:00
  • d500b68d1a Update TS definitions for SessionKey top-level functions and add MaybeArray type larabr 2021-06-17 14:04:36 +02:00
  • 7317e3bd0b Update docs and TS larabr 2021-06-17 14:03:01 +02:00
  • d515f6b9c3 Add test larabr 2021-06-17 12:22:17 +02:00
  • fc3f0e2e20 Accept non-array input for encryption and signing keyIDs larabr 2021-06-16 13:58:33 +02:00
  • 40542fd08a
    Simplify return value of generateKey, reformatKey and revokeKey and add support for binary output (#1345) larabr 2021-06-24 17:14:39 +02:00
  • a9d02f9c97 Fix test larabr 2021-06-24 13:52:02 +02:00
  • 6d595f8277 Update README larabr 2021-06-21 15:41:30 +02:00
  • 1eae1b4cd6 Return keyPair as revokeKey output larabr 2021-06-21 15:20:56 +02:00
  • f9f8a8b3b7 Return single key in revokeKey larabr 2021-06-21 13:54:47 +02:00
  • 9640e7c6e8 Change param order larabr 2021-06-21 13:02:30 +02:00
  • 915601542a Return keyPair as reformatKey output larabr 2021-06-21 12:16:35 +02:00
  • faa159e285 Return keypair as generateKey output larabr 2021-06-21 11:32:30 +02:00
  • 15e8d2db2a update tests Gregory Reburn 2021-06-23 20:57:28 -05:00
  • ff7f05473c
    Update openpgp.d.ts Gregory Reburn 2021-06-23 20:14:47 -05:00
  • 0f33a9bc32
    Simplify revoke method return Gregory Reburn 2021-06-23 18:57:49 -05:00
  • b862e139fc
    TypeScript: make packets, keyPacket and mainKey readonly properties (#1337) Ali Cherry 2021-06-23 13:36:37 +03:00
  • b76236755a
    Ignore Trust and Marker packets on parsing and always throw on unexpected packets (#1340) larabr 2021-06-23 12:17:29 +02:00
  • 0a65cd2276 Don't import packets larabr 2021-06-17 14:11:45 +02:00
  • 6cda43e05c Improve readability larabr 2021-06-17 12:31:02 +02:00
  • 7267bc0c37 Always throw when parsing disallowed packets, ignore Marker and Trust packets larabr 2021-06-16 13:58:33 +02:00
  • a9252c6649
    Add Signature#getSigningKeyIDs method to get Issuer Key IDs from a Signature (#1331) Dan Habot 2021-06-16 05:46:49 -04:00
  • 619d02d78c
    Drop capabilities, keyID args in Key.getExpirationTime() and consider direct-key sigs (#1319) larabr 2021-06-15 19:16:52 +02:00
  • bccdabbc45
    Always generate RSA keys of exact bit length (#1336) larabr 2021-06-15 18:07:36 +02:00
  • bab76a13c0
    Merge branch 'danhab99/sigid' of github.com:danhab99/openpgpjs into danhab99/sigid Dan Habot 2021-06-15 11:47:32 -04:00
  • 51cb753f30
    whoops Dan Habot 2021-06-15 11:47:15 -04:00
  • 6c65f07f44
    Update test/general/signature.js Dan Habot 2021-06-15 11:43:27 -04:00
  • 1166de205c
    Remove primaryKey argument from User methods, rename User.sign to User.certify (#1329) larabr 2021-06-15 17:42:00 +02:00
  • e785df4c8f
    Require keys in openpgp.sign and make all top-level functions fully async (#1318) larabr 2021-06-15 17:21:18 +02:00
  • b4e53b3ff7
    CI: Detect unhandled rejections in browser tests (#1333) larabr 2021-06-15 16:39:56 +02:00
  • 554e1aba9c Remove keyID arg from key.getExpirationTime larabr 2021-06-15 16:02:28 +02:00
  • c65d031b03
    Quotes [skip ci] larabr 2021-06-15 15:42:56 +02:00
  • cdd317ebc8 Make packets, keyPacket, and mainKey readonly members in TS def Ali Cherry 2021-06-15 16:06:19 +03:00
  • ee82128870 Drop capabilities param in Key.getExpirationTime larabr 2021-06-15 13:58:12 +02:00
  • 9871592557 Remove support for webCypto.exportKey returning an ArrayBuffer larabr 2021-06-15 13:22:54 +02:00
  • 412a5a6bbb Remove onError larabr 2021-06-15 12:34:08 +02:00
  • d395a1dfec Ensure generated RSA keys have correct length larabr 2021-06-15 11:50:45 +02:00
  • 550e1439c4
    Merge branch 'danhab99/sigid' of github.com:danhab99/openpgpjs into danhab99/sigid Dan Habot 2021-06-15 00:12:56 -04:00
  • f3671a1910
    lint Dan Habot 2021-06-15 00:05:59 -04:00
  • c745dfecb5 lint Ali Cherry 2021-06-14 23:50:01 +03:00
  • 1814115444 Add get symmetrically encrypted session key count Ali Cherry 2021-06-14 23:45:56 +03:00
  • 4adec7b1e6
    Quotes larabr 2021-06-14 19:25:40 +02:00
  • ff00c87ab6 Downgrade safari larabr 2021-06-14 15:43:28 +02:00
  • 98756fbcc4
    Update test/general/signature.js Dan Habot 2021-06-14 11:59:14 -04:00
  • 467d8e1b92
    Update test/general/signature.js Dan Habot 2021-06-14 11:59:04 -04:00
  • 92798a7d04
    Update src/signature.js Dan Habot 2021-06-14 11:58:52 -04:00
  • 00d97022e0 Add unhandled rejection listener in browser larabr 2021-06-14 15:04:18 +02:00
  • df2240ba08
    CI: Check that JSDoc comments are valid (#1328) Daniel Huigens 2021-06-14 11:15:37 +02:00
  • 48de2f4849 Fix JSDoc Daniel Huigens 2021-06-08 18:55:23 +02:00
  • a37835bfaf CI: Check that JSDoc comments are valid Daniel Huigens 2021-06-08 18:48:29 +02:00
  • 196dbbd02e
    Merge remote-tracking branch 'patch-1/patch-1' Dan Habot 2021-06-13 18:06:03 -04:00
  • 246885cc92 Merge branch 'openpgpjs:master' into master Dan Habot 2021-06-13 17:31:11 -04:00
  • ded418382d
    Merge branch 'master' of github.com:danhab99/openpgpjs Dan Habot 2021-06-13 12:44:51 -04:00
  • 3d5233f0df
    https://github.com/openpgpjs/openpgpjs/pull/1326#discussion_r647694033 Dan Habot 2021-06-13 12:44:46 -04:00
  • 0d910138b1 Rename User.sign to certify larabr 2021-06-11 15:41:38 +02:00
  • cf76b4b953 Remove primaryKey param from User.update, fix Key.update to always store subkey and user clones larabr 2021-06-10 21:29:52 +02:00
  • 03aa2f7d3e Remove primaryKey param from User.sign larabr 2021-06-10 18:37:05 +02:00
  • e037c1b673 Remove primaryKey param from User.verifyCertificate/verifyAllCertifications larabr 2021-06-10 18:19:27 +02:00
  • 562b31ed4f Remove primaryKey param from User.isRevoked larabr 2021-06-10 17:01:06 +02:00
  • c96aad411d Remove primaryKey param from User.sign larabr 2021-06-10 16:51:51 +02:00
  • ac90875eaa Add mainKey field to User larabr 2021-06-10 16:24:56 +02:00
  • 718ec5946b Simplify User.verifyCertificate larabr 2021-06-10 16:23:39 +02:00
  • b877ccf512 Check for expiration time in direct key signatures larabr 2021-06-08 16:37:38 +02:00
  • 124df0a950 Fix test and docs larabr 2021-06-01 20:34:33 +02:00
  • 0b633b66ec Check for exact expiration time, fix Key.getExpirationTime larabr 2021-06-01 20:14:31 +02:00
  • 1484df9b8f
    Uniform casing of subkey(s): rename Key.subKeys to Key.subkeys (#1310) larabr 2021-06-10 11:25:43 +02:00
  • daac24df74 Use try/catch everywhere larabr 2021-06-09 21:49:41 +02:00
  • badc8bbd38 Merge branch 'openpgpjs:master' into master Dan Habot 2021-06-09 13:53:01 -04:00
  • 9e5328e994 Make top-level functions async, require keys in openpgp.sign larabr 2021-05-31 17:34:54 +02:00
  • 00300ae002 Rename SubKey class larabr 2021-06-09 14:07:57 +02:00
  • 2415b1c07e Uniform casing of subkey(s) larabr 2021-06-09 14:02:04 +02:00
  • ead266507e Throw if privateKeys/publicKeys are passed to top-level functions (#1327) Ali Cherry 2021-06-08 11:25:25 +03:00
  • 58e9522dfc fix test case Ali Cherry 2021-06-09 12:14:10 +03:00
  • eacabfa9ad
    Update detach-sign error message in openpgp.encrypt Ali Cherry 2021-06-09 10:31:31 +03:00
  • 2fe2ab7607 replace privateKeys with signingKeys in test case Ali Cherry 2021-06-09 10:26:58 +03:00
  • b2a1838abb
    Update openpgp.d.ts Gregory Reburn 2021-06-08 20:05:45 -05:00
  • 53c4a20c94
    Update openpgp.d.ts Gregory Reburn 2021-06-08 20:01:22 -05:00
  • 72e17de9d0
    Update openpgp.d.ts Gregory Reburn 2021-06-08 19:46:34 -05:00
  • 9cc7819c19
    selecting packets explicitly Dan Habot 2021-06-08 14:39:57 -04:00
  • afcb8f464c
    added semicolon Dan Habot 2021-06-08 14:38:19 -04:00
  • ea9bc2a29d
    Revert "added docs" Dan Habot 2021-06-08 14:35:40 -04:00
  • 5bb001d46b
    Filtering out marker packets Dan Habot 2021-06-08 13:02:15 -04:00
  • 3180d82dbd
    removed example Dan Habot 2021-06-08 12:50:06 -04:00
  • 19c5d898dd
    Update src/signature.js Dan Habot 2021-06-08 12:48:11 -04:00
  • a92d11af31
    Revert "package update" Dan Habot 2021-06-08 12:48:28 -04:00
  • 251d2ee5f7
    Merge branch 'master' of github.com:danhab99/openpgpjs Dan Habot 2021-06-08 12:47:27 -04:00
  • f0c04686f2
    changed getIssuerIDs to getSigningKeyIDs Dan Habot 2021-06-08 12:47:22 -04:00
  • 1d8a017c74
    Merge branch 'master' into master Dan Habot 2021-06-08 12:21:47 -04:00
  • 5a54549fbe
    Merge branch 'master' into v5-throw-error-for-old-params Ali Cherry 2021-06-08 19:21:35 +03:00
  • 24409273bc Move removed parameters to ...rest Ali Cherry 2021-06-08 19:19:46 +03:00
  • 0e088aec28
    Fix various signature verification issues (#1302) larabr 2021-06-08 18:12:48 +02:00
  • 7a3538b60f Revert checking direct signatures for revocation (to be done in separate PR) larabr 2021-06-08 15:43:56 +02:00
  • ab7dedf0a5
    Update README to reflect parameter name changes (#1323) Ali Cherry 2021-06-08 14:08:53 +03:00
  • 4c0d150da6 Throw errors when privateKeys/publicKeys are passed to top-level methods Ali Cherry 2021-06-08 11:25:25 +03:00
  • c6e4e94726 README: remove redundant comments Ali Cherry 2021-06-08 10:40:18 +03:00
  • 3645164a1a
    added docs Dan Habot 2021-06-07 23:25:32 -04:00