Has anyone used Bitwarden with a vaultwarden instance to sign git commits and store ssh keys?
cc @Shivaraj B H
(Also, related: this topic)
I wanted to try out self-hosted vaultwarden soonishly. Does it have that kind of capability?
I use vaultwarden, but it’s only limited to my passwords at the moment. I don’t store my SSH keys there yet as I was looking for a better solution (related topic that srid linked ^). Bitwarden has Secrets manager, but the last I checked, it was proprietary.
I was planning to try this out myself with existing vaultwarden. Storing the keys and retrieving them using the “bw” CLI seems straightforward, but signing commits is what would be interesting to see.
Anyways, I will update this thread with my progress.
Storing the keys and retrieving them using the “bw” CLI seems straightforward
So you would store them as what in vaultwarden? As a secure note? I still use regular Bitwarden for my passwords, so I am not sure which capabilities vaultwarden actually has.
Signing shouldn't be that hard, let me see
@Shivaraj B H For storing SSH private keys I use https://github.com/charmbracelet/melt and store the melted key physically in my wallet. works well and is offline
If everything goes wrong, I can use that key to redeploy everything and ssh into my servers which is great. it's not really possible for me to lose access this way
@RGBCube how do you manage the seed phrases used to create the melted key?
Andreas said:
Storing the keys and retrieving them using the “bw” CLI seems straightforward
So you would store them as what in vaultwarden? As a secure note? I still use regular Bitwarden for my passwords, so I am not sure which capabilities vaultwarden actually has.
Yes, I believe it should be secure note. I am guessing that’s what @RGBCube is doing with his melted keys
No, it's not in any password manager, i wrote the melted key down on a piece of paper and put it in my physical wallet.
And the melted key doesn't have a passphrase, when you unmelt it it asks you for a passphrase
Asks you for a passphrase as in ssh-keygening on the melted key to add a passphrase to the restored one
We have a vaultwarden at work to share passwords and some keys. I would say it's not really appropriate for our usecase.
It'd probably be better to use short lived ssh certs
Last updated: Nov 15 2024 at 12:33 UTC