oknozor / toml-bombadil

A dotfile manager with templating
MIT License
233 stars 24 forks source link

[FEATURE] List of gpg keys to encryt secrets for #103

Open muchgitsuchwow opened 2 years ago

muchgitsuchwow commented 2 years ago

Might not be the usual case, for me it is.

Is your feature request related to a problem? Please describe. I've strictly separated users for private and work. I've different gpg keyrings. Different private keys. Currently I can encrypt secrets for one key, which means I cannot use secrets in the same repository on other hosts with different keyrings.

Describe the solution you'd like I hope it would be easily managable to add gpg_user_ids in addition to gpg_user_id as a list of gpg keys to encrypt data for.

Describe alternatives you've considered Third-party like git crypt and bypass bombadil secrets management, I guess.

oknozor commented 2 years ago

This is unsual indeed, I will try to implement this and we shall see.

muchgitsuchwow commented 1 week ago

I think that with the recent updates (4.0.0), the redesign of [secrets] in vars, there is no need to support different keys. I can easily manage different keys on different machines for different data in secrets, related to vars, bound to profiles, .. So bombadil effectively already supports this.