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

Differentiate between handling public and private keys #113

Open
PartTimeDataScientist opened this issue Sep 11, 2022 · 1 comment
Open

Comments

@PartTimeDataScientist
Copy link

I manage all my passwords in Bitwarden (in a self-hosted Vaultwarden instance) and really like the idea of storing SSH-keys there as well. As I don't always want to import both public and private keys I would like to see an option to define type to handle. This would allow to only retrieve public keys from Bitwarden on a new "server" as well as importing all the stored private keys on a new workstation.

I suggest to add the following four commands to work only with the respective keys (which are self explanatory about what they should do I hope)
add-public --name --public-key
add-private --name --private-key
get-public --name
get-private --name

A bonus command which would ease setting up new servers even further would be the following:
import-public --name --target[-file]
This command should retrieve only the public key (regardless if only a public-key or a public/private key pair is stored) from Bitwarden and append it to the given target-file

@omegion
Copy link
Owner

omegion commented Sep 12, 2022

Hi!
great ideas, it should be easy to implement. I will try to open a PR ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants