Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key: refactor key store backend API #147

Merged
merged 2 commits into from Sep 13, 2021
Merged

key: refactor key store backend API #147

merged 2 commits into from Sep 13, 2021

Conversation

aead
Copy link
Member

@aead aead commented Sep 2, 2021

This commit refactors the key store API
to use a new key package as a replacement
for the secret package.

The new key package is a prerequisite for
further improvements for keys - i.e. typed
keys, sym. vs. asym. keys etc.

Further, this commit cleans up some existing
code and defines the responsibilities of different
types more precisely - i.e. key.Manager vs. key.Store.

This commit should not cause any change in behavior.

@aead aead requested a review from Alevsk September 2, 2021 15:56
@aead aead force-pushed the key-ref branch 2 times, most recently from 0703f2f to c3904de Compare September 4, 2021 13:20
This commit refactors the key store API
to use a new `key` package as a replacement
for the `secret` package.

The new `key` package is a prerequisite for
further improvements for keys - i.e. typed
keys, sym. vs. asym. keys etc.

Further, this commit cleans up some existing
code and defines the responsibilities of different
types more precisely - i.e. `key.Manager` vs. `key.Store`.

This commit should not cause any change in behavior.

Signed-off-by: Andreas Auernhammer <hi@aead.dev>
Copy link
Contributor

@Alevsk Alevsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aead aead merged commit b0092c5 into master Sep 13, 2021
@aead aead deleted the key-ref branch September 13, 2021 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants