propellor spin
This commit is contained in:
parent
e7ae49a7e7
commit
ffd1928b39
|
@ -75,9 +75,13 @@ spin host = do
|
||||||
case status of
|
case status of
|
||||||
Nothing -> error "protocol error"
|
Nothing -> error "protocol error"
|
||||||
Just NeedKeyRing -> do
|
Just NeedKeyRing -> do
|
||||||
|
hPutStrLn stderr "SEND-KEYRING"
|
||||||
|
hFlush stderr
|
||||||
s <- readProcess "gpg" $ gpgopts ++ ["--export", "-a"]
|
s <- readProcess "gpg" $ gpgopts ++ ["--export", "-a"]
|
||||||
hPutStr toh $ toMarked keyringMarker s
|
hPutStr toh $ toMarked keyringMarker s
|
||||||
Just HaveKeyRing -> noop
|
Just HaveKeyRing -> noop
|
||||||
|
hPutStrLn stderr "POST-KEYRING"
|
||||||
|
hFlush stderr
|
||||||
hPutStr toh $ toMarked privDataMarker privdata
|
hPutStr toh $ toMarked privDataMarker privdata
|
||||||
hFlush toh
|
hFlush toh
|
||||||
hClose fromh
|
hClose fromh
|
||||||
|
|
Loading…
Reference in New Issue