diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-17 15:38:35 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-17 15:38:35 -0400 |
commit | aa0bb2e43b6de5301939ca4dad2f5e264e469227 (patch) | |
tree | 3122d322bcd73f2177d28e98f72b96e8437644a1 /Gpg.hs | |
parent | efee99a335b36ae6265662f3afd7fbfaf75420d2 (diff) | |
download | keysafe-aa0bb2e43b6de5301939ca4dad2f5e264e469227.tar.gz |
simplify
Don't need to check key server for --gpgkeyid backup, because the same
switch has to be provided at restore time.
Diffstat (limited to 'Gpg.hs')
-rw-r--r-- | Gpg.hs | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -3,7 +3,7 @@ - Licensed under the GNU AGPL version 3 or higher. -} -{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE OverloadedStrings, BangPatterns #-} module Gpg where @@ -55,10 +55,3 @@ getSecretKey (KeyId kid) = do _ -> error "gpg --export-secret-key failed" where ps = ["--batch", "--export-secret-key", BU8.toString kid] - --- | Check if a given gpg key is present on the keyserver. --- (Without downloading the key.) -knownByKeyServer :: KeyId -> IO Bool -knownByKeyServer kid = undefined --- gpg --batch --with-colons --search-keys 2>/dev/null --- check if output includes pub: line |