summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-10-08 17:20:37 +0300
committerLars Wirzenius <liw@liw.fi>2016-10-08 17:20:37 +0300
commit87373948dd7d3d116be9a6f1a338c232e34ad12f (patch)
tree51f7ce821c3350cf3ffb86f034728f35cd10e6a5
parentede3dd59994c9ad153a6f388287cf57cab2fbd94 (diff)
downloadobnam.org-87373948dd7d3d116be9a6f1a338c232e34ad12f.tar.gz
Update FAQ on private key use by Obnam when backing up
-rw-r--r--faq/private-key-for-backup.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/faq/private-key-for-backup.mdwn b/faq/private-key-for-backup.mdwn
index d84cde5..5651f73 100644
--- a/faq/private-key-for-backup.mdwn
+++ b/faq/private-key-for-backup.mdwn
@@ -6,3 +6,20 @@ files and when they were last modified. The metadata is also encrypted,
and Obnam needs to decrypt it to be able to do an incremental backup.
That is why Obnam needs the passphrase.
+Depending on how your GnuPG and its related agent is configured, you
+may need to type in the passphrase multiple times during a backup run.
+This is because the agent may expire the passphrase: it will remember
+it for, say, five minutes or an hour after you enter the passphrase,
+but after that you may need to enter the passphrase again. This can be
+awkward, and if you're not around to enter the passphrase, the backup
+may be terminated in the middle.
+
+There's two ways around that: you can either configure your GnuPG
+agent to remember the passphrase for a longer time, possibly
+indefinitely, or you can use a private key without a passphrase.
+Neither is unproblematic from a security point of view.
+
+In any case, it's not something that Obnam is part of. Obnam only runs
+gpg, and if gpg talks to its agent, which asks for a passphrase, or
+not, depending on the configuration. There's nothing Obnam can do to
+affect this.