summaryrefslogtreecommitdiff
path: root/Git/GCrypt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/GCrypt.hs')
-rw-r--r--Git/GCrypt.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Git/GCrypt.hs b/Git/GCrypt.hs
index 18d8fa771..1260c2ced 100644
--- a/Git/GCrypt.hs
+++ b/Git/GCrypt.hs
@@ -74,5 +74,8 @@ getParticiantList globalconfigrepo repo remotename = KeyIds $ parse $ firstJust
remoteParticipantConfigKey :: RemoteName -> String
remoteParticipantConfigKey = remoteConfigKey "gcrypt-participants"
+remoteSigningKey :: RemoteName -> String
+remoteSigningKey = remoteConfigKey "gcrypt-signingkey"
+
remoteConfigKey :: String -> RemoteName -> String
remoteConfigKey key remotename = "remote." ++ remotename ++ "." ++ key