99designs / 99designs/keyring

cascading keyring

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
657
Forks
155
PR merge metrics
No merged PRs in 30d

Description

Consider the following scenario:
- software X v1 comes out, using `keyring` as a backend to store credential.
- someone use it on a system where only the fallback encrypted file backend is supported, credentials are stored there.
- software X v2 comes out, with an updated `keyring` that support a real keyring for this system
- user software X, the new backend is selected and all the credentials are not available anymore :-(

What about a "cascading keyring" that would wrap all the available backend for the system at hand and cascade the reads to the next backend if the previous one doesn't have it ? That would at least fix the disappearing credentials.

Bonus point would be to have a way to move all the credentials in the same backend, either up or down the stack to consolidate the storage in a single backend. That would allow to implement automatic migrations.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.