diff options
author | Joey Hess <joey@kitenet.net> | 2014-07-15 17:33:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-07-15 17:33:14 -0400 |
commit | 4b4d302bcd168732c0e04d76bb387fd04fce06b5 (patch) | |
tree | 8cf3e71a238298773ea0a905dec0e12b8e13570c /Git/GCrypt.hs | |
parent | a5a92f89d200ce109cdcfc72e2a21f4d92eef2cf (diff) |
Set gcrypt-publish-participants when setting up a gcrypt repository, to avoid unncessary passphrase prompts.
This is a security/usability tradeoff. To avoid exposing the gpg key ids
who can decrypt the repository, users can unset
gcrypt-publish-participants.
The gcrypt-publish-participants option is available in my fork of
git-remote-gcrypt.
This commit was sponsored by Christopher Kernahan.
Diffstat (limited to 'Git/GCrypt.hs')
-rw-r--r-- | Git/GCrypt.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Git/GCrypt.hs b/Git/GCrypt.hs index fb99cf619..c2a5a98fe 100644 --- a/Git/GCrypt.hs +++ b/Git/GCrypt.hs @@ -99,6 +99,9 @@ getParticiantList globalconfigrepo repo remotename = KeyIds $ parse $ firstJust remoteParticipantConfigKey :: RemoteName -> String remoteParticipantConfigKey = remoteConfigKey "gcrypt-participants" +remotePublishParticipantConfigKey :: RemoteName -> String +remotePublishParticipantConfigKey = remoteConfigKey "gcrypt-publish-participants" + remoteSigningKey :: RemoteName -> String remoteSigningKey = remoteConfigKey "gcrypt-signingkey" |