Commit Graph

  • 91a08acc4e
    added test Dan Habot 2021-06-07 23:22:36 -04:00
  • 2ad039037b
    (#1325) Added method for getting public key ids from signature Dan Habot 2021-06-07 23:22:23 -04:00
  • 38afced4fb
    package update Dan Habot 2021-06-07 22:30:07 -04:00
  • b463443596 update tests to new API Konstantinos Andrikopoulos 2021-06-07 16:31:29 +02:00
  • 3f24eb89fd rename OctetString to ShortByteArray Konstantinos Andrikopoulos 2021-06-04 18:57:47 +02:00
  • 91a6f01ff2 fix linting errors Konstantinos Andrikopoulos 2021-04-03 00:49:21 +02:00
  • db54d97dbf Update PR to reflect new specification Konstantinos Andrikopoulos 2021-03-25 19:38:29 +01:00
  • 761711ca4a Add symmetric encryption and MAC support Dan Ristea 2020-09-16 02:32:42 +01:00
  • f4373674bf README: use Message object in detached message sign/verify section Ali Cherry 2021-06-06 17:59:50 +03:00
  • 13d70c015e
    Update openpgp.d.ts Gregory Reburn 2021-06-04 22:14:51 -05:00
  • a527d75b9f
    Add typescript binding for revokeKey Gregory Reburn 2021-06-04 22:12:08 -05:00
  • d322e8429a Update README to reflect v5 parameter changes Ali Cherry 2021-06-04 22:00:20 +03:00
  • 491fdf2919 Fix test description [skip ci] larabr 2021-06-01 20:15:56 +02:00
  • a98717bcd6 Revert changes to strict expiration time checks and Key.getExpirationTime larabr 2021-06-01 18:53:02 +02:00
  • e7dd56780e Minor fixes larabr 2021-06-01 17:35:45 +02:00
  • 12e5c96607
    Update BrowserStack status badge key Daniel Huigens 2021-06-01 17:07:11 +02:00
  • 51ebe98e8f Remove expect fulfilled larabr 2021-06-01 12:44:11 +02:00
  • 5651d732d0 Check message signatures are older than the key, review fixes larabr 2021-05-31 18:39:47 +02:00
  • d7f6b281e3 Fix linting error larabr 2021-05-31 15:46:58 +02:00
  • 3252427615 Make verified not accessible outside of class larabr 2021-05-31 13:11:07 +02:00
  • d9d4ce40e7 Consider signatures/key expired at the expiration time, change Key.getExpirationTime to always return latest expiration time larabr 2021-05-29 20:47:14 +02:00
  • 1bff8aad50 5.0.0-3 v5.0.0-3 Daniel Huigens 2021-05-28 17:36:43 +02:00
  • 1836c40468 Fix JSDoc type Daniel Huigens 2021-05-28 17:34:59 +02:00
  • 0ca83cf121 Switch from Uint8Array.from to new Uint8Array Daniel Huigens 2021-05-28 17:06:15 +02:00
  • 5c10bbe7cd Add date param to mergeSignatures helper larabr 2021-05-27 19:12:05 +02:00
  • 05311ba8b0 Remove isExpired check from isDataExpired larabr 2021-05-27 18:25:31 +02:00
  • 08aa617a43 Add date param to getExpirationTime larabr 2021-05-27 17:06:21 +02:00
  • bd30bc759c Add reference to main key inside Subkey larabr 2021-05-27 15:52:19 +02:00
  • a6cf3a064e Check cached verified value inside SignaturePacket.verify larabr 2021-05-26 17:01:20 +02:00
  • da3c56c15e Check signature expiration after verification, use enums in readSubPacket larabr 2021-05-25 18:36:12 +02:00
  • 1928736575 Fix direct signature expiration check, simplify message verification code larabr 2021-05-25 17:14:41 +02:00
  • c5b7afce4c Add test for invalid cached verification result larabr 2021-05-18 11:52:36 +02:00
  • b426348c00 Add signing tests larabr 2021-05-17 18:03:54 +02:00
  • ac91a89d8e Update types, make date optional in SignaturePacket.verify larabr 2021-05-17 16:57:10 +02:00
  • 435b622cfd Check for expiration time in direct key signatures larabr 2021-05-13 18:44:18 +02:00
  • e3b935c3b5 Check expiration of binding signatures when verifying, move signature expiration check inside SignaturePacket.verify larabr 2021-05-13 18:07:57 +02:00
  • 96d5298f00 Detect missing creation time in signatures larabr 2021-05-11 20:04:59 +02:00
  • 5ae7fc4444 Update pako Daniel Huigens 2021-05-26 10:51:25 +02:00
  • c895b0d06e
    add valid into VerificationResult type alete89 2021-05-26 00:19:10 -03:00
  • f028026217
    Replace Key with PrivateKey and PublicKey classes (#1300) larabr 2021-05-25 19:18:47 +02:00
  • 4d00d62dc4 createKey supports marker packets in front larabr 2021-05-25 13:03:07 +02:00
  • 3349fab89e
    Fix link in README's table of contents (#1307) Yash Murty 2021-05-22 01:07:52 +09:00
  • acdee0aaeb More docs updates larabr 2021-05-17 20:43:23 +02:00
  • b30256436b Update docs larabr 2021-05-17 20:30:49 +02:00
  • dd0f7902d6 Fix comment [skip ci] larabr 2021-05-07 12:44:04 +02:00
  • db0cb4203a Fix key packet check in *Key constructors larabr 2021-05-07 12:18:01 +02:00
  • 83f758d25a Add readPrivateKey(s) larabr 2021-05-06 19:13:10 +02:00
  • 969a65c9a6 Update types larabr 2021-05-06 18:30:16 +02:00
  • c4103fb939 Change Key.update to return a new key larabr 2021-05-06 17:42:25 +02:00
  • e3d2a7516d Split Key class into PrivateKey and PublicKey larabr 2021-05-06 16:10:34 +02:00
  • 6299c6dd77
    Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) Ali Cherry 2021-05-17 19:56:28 +03:00
  • 36b82a7193
    Fix README's table of contents link. Yash Murty 2021-05-16 19:03:08 +09:00
  • 762a1548be fix openpgp.d.ts - Message.verify keys parameter to verificationKeys Ali Cherry 2021-05-12 11:11:52 +03:00
  • f3607edf19 fix 'keys' parameter to 'verificationKeys' in verify methods Ali Cherry 2021-05-11 22:31:01 +03:00
  • 8379643637 fix type tests Ali Cherry 2021-05-06 23:36:30 +03:00
  • 0291e6c562 update openpgp.d.ts Ali Cherry 2021-05-06 23:27:37 +03:00
  • 0bdc48b213 fixup previous commit Ali Cherry 2021-05-06 23:11:17 +03:00
  • 9477576546
    Merge branch 'master' into keypref-cons Ali Cherry 2021-05-06 22:53:42 +03:00
  • e032966bd6
    Update encryptSessionKey JS doc Ali Cherry 2021-05-06 22:45:13 +03:00
  • ec3a118791 Fix test cases and apply modifications to message.js and openpgp.js Ali Cherry 2021-05-06 22:41:25 +03:00
  • cc99135fe2 Modify openpgp.js test cases for encrypt, decrypt, sign, and verify Ali Cherry 2021-05-06 07:50:07 +03:00
  • e2023aaaef Replace publicKeys/privateKeys with encryptionKeys, decryptionKeys, signingKeys, and verficiationKeys Ali Cherry 2021-05-06 07:49:05 +03:00
  • 93b77669bc
    Unexport openpgp.stream (#1291) Daniel Huigens 2021-05-05 20:20:20 +02:00
  • abb5279988 Unexport stream Daniel Huigens 2021-03-27 11:28:10 +01:00
  • 31fe960261
    Only ignore unsupported packets when config.tolerant is set (#1298) larabr 2021-05-05 19:51:33 +02:00
  • 8d6458a994 Rename UnsupportedError larabr 2021-05-05 19:39:52 +02:00
  • b8c0048b05 Fix config.tolerant tests larabr 2021-05-05 17:56:46 +02:00
  • 3bc044c201 Do not apply config.tolerant to parsing errors larabr 2021-05-05 15:00:27 +02:00
  • 48ef7d8682 Make PKESK encrypt/decrypt void larabr 2021-05-05 12:05:53 +02:00
  • 02a1ed2d78
    Make key fingerprint computation async (#1297) larabr 2021-05-05 17:39:19 +02:00
  • ee4dfe7697 Rename computeFingerprintAndKeyID larabr 2021-05-05 17:32:43 +02:00
  • e60bf72550 Fix more docs [skip ci] larabr 2021-05-05 11:23:24 +02:00
  • 85cb2161e3 Fix docs [skip ci] larabr 2021-05-05 11:00:23 +02:00
  • 42361a28eb Make fingerprint computation async, and always compute it on parsing rather than when needed larabr 2021-05-05 10:47:23 +02:00
  • 247ad58344
    Add PacketList.fromBinary and add missing config param in some functions (#1294) larabr 2021-05-05 16:56:11 +02:00
  • 9658fab6ce One line push larabr 2021-05-03 14:42:20 +02:00
  • 0b9a5558c6 Rename toPacketlist to toPacketList, add read* config tests larabr 2021-05-03 13:07:35 +02:00
  • f5a2bcc540 Fix name casing larabr 2021-05-03 11:52:59 +02:00
  • d89860377b Add config param to appendSignature, fix tests larabr 2021-04-29 17:40:38 +02:00
  • ff40be55a4 Fix missing config in decompress and AEAD decrypt larabr 2021-04-29 17:29:46 +02:00
  • b11c218910 Implement PacketList.fromBinary, and correctly pass down config in read* functions larabr 2021-04-29 17:16:37 +02:00
  • aeddac438e
    Make PacketList a valid subtype of Array and update Packet.tag types (#1289) larabr 2021-04-29 17:18:39 +02:00
  • c8ca609c92 Prevent TS from accepting key packets when expecting subkey ones, and vice versa larabr 2021-04-29 16:58:58 +02:00
  • 9c402b8f65 Fix linting error larabr 2021-04-29 16:44:53 +02:00
  • 13786c2eaf Use Array.push instead of PacketList.push and append larabr 2021-04-29 14:34:11 +02:00
  • 2d07c43030 5.0.0-2 v5.0.0-2 Daniel Huigens 2021-04-27 14:00:54 +02:00
  • 28c5902419 Fix JSDoc types Daniel Huigens 2021-04-27 13:58:39 +02:00
  • 0654bbe505
    Remove Key.prototype.encrypt() and Key.prototype.decrypt() (#1285) larabr 2021-04-23 15:43:38 +02:00
  • ed22a33175 Fix session key count check larabr 2021-04-21 19:50:37 +02:00
  • 94ab861521 Rename PacketList.concat to append larabr 2021-04-21 17:05:10 +02:00
  • 42c5fbfa96 Add write method to Marker and Trust packets, add type definitions and tests for more packet methods larabr 2021-04-21 16:02:29 +02:00
  • cc17eed1d4 Fix packet.tag declaration larabr 2021-04-20 23:56:15 +02:00
  • 0a3246a697 Cleanup PacketList type definitions and make push() compatible with super class larabr 2021-04-20 23:31:26 +02:00
  • 81517a741a
    Updated wrong documentation examples Thomas Kokholm 2021-04-20 22:46:44 +02:00
  • 5d5ae8c2a2 Fix linting error larabr 2021-04-10 00:19:30 +02:00
  • d9a1b3b8fa Update types larabr 2021-04-09 23:39:19 +02:00
  • 8d549db1e2 Unexport key.decrypt larabr 2021-04-09 23:31:44 +02:00
  • 12f467f855 Remove key.encrypt larabr 2021-04-09 17:37:13 +02:00
  • ce2989e403 Move key.decrypt code into decryptKey (resp. key.encrypt) larabr 2021-04-09 15:57:06 +02:00
  • 81f2064e13 Move deep cloning code to key.clone larabr 2021-04-08 21:14:32 +02:00