PSK Secret » History » Version 4
« Previous -
Version 4/6
(diff) -
Next » -
Current version
Tobias Brunner, 11.05.2011 12:54
PSK Secret¶
A preshared secret is most conveniently represented as a sequence of characters, delimited by double-quote characters ("). The sequence cannot contain a newline or double-quote. Strictly speaking, the secret is actually the sequence of bytes that is used in the file to represent the sequence of characters (excluding the delimiters).
Notation¶
[ <id selectors> ] : PSK <secret>
Examples¶
@moon.strongswan.org @sun.strongswan.org : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL @moon.strongswan.org %any : PSK 0sFpZAZqEN6Ti9sqt4ZP5EWcqx @sun.strongswan.org : PSK "This is a strong password" carol@strongswan.org : PSK "0sFpZAZqEN6Ti9sqt4ZP5EWcqx" : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL