summaryrefslogtreecommitdiff
path: root/yarns/0060-encryption.yarn
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2015-09-25 01:37:54 -0400
committerLars Wirzenius <liw@liw.fi>2015-10-11 11:42:02 +0300
commit8cbd118637941e9d2621cb248ffd1ed3f7905413 (patch)
tree7b2a0c4e51b0d6d10962afab656ac1f17281c26b /yarns/0060-encryption.yarn
parent88363ebc8e1f01c7179811da7a11b8ff2b5cd9bb (diff)
downloadobnam-8cbd118637941e9d2621cb248ffd1ed3f7905413.tar.gz
encryption_plugin: add a gnupghome configuration option
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Diffstat (limited to 'yarns/0060-encryption.yarn')
-rw-r--r--yarns/0060-encryption.yarn16
1 files changed, 16 insertions, 0 deletions
diff --git a/yarns/0060-encryption.yarn b/yarns/0060-encryption.yarn
index acbade88..6985f1ff 100644
--- a/yarns/0060-encryption.yarn
+++ b/yarns/0060-encryption.yarn
@@ -46,6 +46,22 @@ that encryption is done at the I/O abstraction level.
AND user U restores their latest generation in repository R into X
THEN L, restored to X, matches manifest M
+Keys provided by a custom directory
+-----------------------------------
+
+We'll make a simple backup and restore using encryption. If this
+works, we can probably assume that any other normal repository
+operations (those not part of encryption management) also work, given
+that encryption is done at the I/O abstraction level.
+
+ SCENARIO encrypted backup and restore with a separate keyring
+ GIVEN user U separately uses encryption key "Test Key One" from test-data/keyring-1
+ AND 128kB of new data in directory L
+ AND a manifest of L in M
+ WHEN user U backs up directory L to repository R
+ AND user U restores their latest generation in repository R into X
+ THEN L, restored to X, matches manifest M
+
Adding and removing keys to clients
-----------------------------------