propellor spin
This commit is contained in:
parent
8331629fa7
commit
546e3282a0
|
@ -82,7 +82,11 @@ spin host = do
|
||||||
hPutStrLn stderr "POST-KEYRING"
|
hPutStrLn stderr "POST-KEYRING"
|
||||||
hFlush stderr
|
hFlush stderr
|
||||||
hPutStrLn toh $ toMarked privDataMarker privdata
|
hPutStrLn toh $ toMarked privDataMarker privdata
|
||||||
|
hPutStrLn stderr "POST-PRIVDATA"
|
||||||
|
hFlush stderr
|
||||||
hFlush toh
|
hFlush toh
|
||||||
|
|
||||||
|
-- Propigate remaining output.
|
||||||
void $ tryIO $ forever $
|
void $ tryIO $ forever $
|
||||||
putStrLn =<< hGetLine fromh
|
putStrLn =<< hGetLine fromh
|
||||||
hClose fromh
|
hClose fromh
|
||||||
|
@ -148,6 +152,8 @@ boot props = do
|
||||||
(proc "gpg" $ gpgopts ++ ["--import", "-a"]) $ \h -> do
|
(proc "gpg" $ gpgopts ++ ["--import", "-a"]) $ \h -> do
|
||||||
hPutStr h keyringarmored
|
hPutStr h keyringarmored
|
||||||
hFlush h
|
hFlush h
|
||||||
|
hPutStrLn stderr $ "READY"
|
||||||
|
hFlush stderr
|
||||||
ensureProperties props
|
ensureProperties props
|
||||||
|
|
||||||
addKey :: String -> IO ()
|
addKey :: String -> IO ()
|
||||||
|
|
Loading…
Reference in New Issue