From b01327b5e17e37195d35f0292de4b0cad90f98f4 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 18 Sep 2018 10:12:45 +0200 Subject: [PATCH] swanctl: Document PPKs --- src/swanctl/swanctl.opt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/swanctl/swanctl.opt b/src/swanctl/swanctl.opt index 82bc424b7..1c1e85e3e 100644 --- a/src/swanctl/swanctl.opt +++ b/src/swanctl/swanctl.opt @@ -1113,6 +1113,26 @@ secrets.ike.id = may be specified, each having an _id_ prefix, if a secret is shared between multiple peers. +secrets.ppk { # } + Postquantum Preshared Key (PPK) section for a specific secret. + + Postquantum Preshared Key (PPK) section for a specific secret. Each PPK is + defined in a unique section having the _ppk_ prefix. + +secrets.ppk.secret = + Value of the PPK. + + Value of the PPK. It may either be an ASCII string, a hex encoded string if + it has a _0x_ prefix or a Base64 encoded string if it has a _0s_ prefix in + its value. Should have at least 256 bits of entropy for 128-bit security. + +secrets.ppk.id = + PPK identity the PPK belongs to. + + PPK identity the PPK belongs to. Multiple unique identities + may be specified, each having an _id_ prefix, if a secret is shared between + multiple peers. + secrets.private { # } Private key decryption passphrase for a key in the _private_ folder.