Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[pkcs12] return null if pkcs keystore has no cert under friendly name #2805

Merged
merged 1 commit into from
Oct 18, 2020

Conversation

quinlanj
Copy link
Member

@quinlanj quinlanj commented Oct 17, 2020

why

a common mistake users make is uploading a pkcs keystore and providing the wrong alias (friendly name) that their credentials are stored under. It'll make it easier if we just returned null in this case rather than throwing an error in this package so the client (www) can handle this case and wrap it in an error with more context.

tests

  • amended tests pass

@quinlanj quinlanj requested review from brentvatne and ide October 17, 2020 02:49
@quinlanj quinlanj merged commit 6482938 into master Oct 18, 2020
@quinlanj quinlanj deleted the @quin/amendKeystorePkcs branch October 18, 2020 08:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants