Skip to content

Commit

Permalink
fix: Allow exporting parsed keys
Browse files Browse the repository at this point in the history
Otherwise there's no way to export a keychain
in the browser.
  • Loading branch information
franky47 committed May 15, 2020
1 parent a40e2d4 commit 101e867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function importKey(
name: 'AES-GCM',
length: 256
},
false, // Cannot re-export
true,
usage ? [usage] : ['encrypt', 'decrypt']
)
}
Expand Down

0 comments on commit 101e867

Please sign in to comment.