AGWA / AGWA/git-crypt

Not easy to update encryption subkey user uses.

Offen
#70 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
9.9k
Forks
544
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I was using git crypt but recently added a new encryption subkey to my key. I tried to update the repo to add this key but found I was unable to do this easily. I tried the following and neither updated or added a new encrypted key to the repo.

``` bash
git crypt add-gpg-user kevincox@kevincox.ca
git crypt add-gpg-user $subkeyid
```

While I understand the first not working (that key is already added) the second should probably add the subkey (or update the existing to the subkey possibly). It would also be nice to have a warning when nothing is done because the key "already exists".

I was able to work around this by deleting the key (`rm .git-crypt/keys/default/0/E3943366624E7449B9B485AEC0758A3B34D52E74.gpg`) then re-adding myself (`git crypt add-gpg-user kevincox@kevincox.ca`).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.