diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kiki.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kiki.hs b/lib/Kiki.hs index 468394f..87b6ea5 100644 --- a/lib/Kiki.hs +++ b/lib/Kiki.hs | |||
@@ -418,6 +418,13 @@ refreshCache rt rootdir = do | |||
418 | }) | 418 | }) |
419 | KikiResult rt' report <- runKeyRing exportOp | 419 | KikiResult rt' report <- runKeyRing exportOp |
420 | 420 | ||
421 | outputReport report | ||
422 | -- outputReport $ map (first $ resolveForReport ctx) $ filter ((/=ExportedSubkey) . snd) report | ||
423 | rt <- case rt' of | ||
424 | BadPassphrase -> | ||
425 | error "Operation requires correct passphrase. (Hint: Use --passphrase-fd=0 to input it on stdin.)" | ||
426 | _ -> unconditionally $ return rt' | ||
427 | |||
421 | {- | 428 | {- |
422 | let writeSecret tag path warning = do | 429 | let writeSecret tag path warning = do |
423 | let my_ks :: [Packet] | 430 | let my_ks :: [Packet] |