This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Expand remote keystore interface to allow for hybrid mode #7628
Expand remote keystore interface to allow for hybrid mode #7628
Changes from 20 commits
66fb709
ea6abb0
790f00e
29a68ee
1f292b5
7ad8521
d310105
2ec7541
fc9adfe
ac8fb13
95fb534
a9377a3
610dce8
0d58447
a8ca9ba
81f9356
418d893
24eede6
df50b0d
4651095
369a592
8361c7d
be2fbc6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is a remote store going to return a concrete
LocalKeystore
? Shouldn't this beArc<dyn CryptoStore>
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We face the same
CryptoStore + SyncCryptoStore
interface problem here, so I can't quite make this adyn
unless I provide a similar wrapper. Which is quite the overkill as in reality this will always return a concrete type and thus the interface is unnecessary. In this example I just used the local-store as the concrete type (that, as you can see, is never returned)