Skip to content

Commit 730f818

Browse files
committed
Loosen failure behavior on expired subkeys
Close keybase/keybase-issues#101
1 parent 19b918e commit 730f818

File tree

4 files changed

+228
-27
lines changed

4 files changed

+228
-27
lines changed

lib/openpgp/processor.js

+24-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/openpgp/processor.iced

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ class KeyBlock
6767
if k.is_signed_subkey_of @primary
6868
@subkeys.push k
6969
else
70-
err = new Error "Could not import subkey #{i}"
70+
msg = "Subkey #{i} was invalid; discarding"
71+
@warnings.push msg
7172
err
7273

7374
#--------------------

0 commit comments

Comments
 (0)