PSK Secret » History » Version 4
Version 3 (Martin Willi, 31.08.2007 14:43) → Version 4/6 (Tobias Brunner, 11.05.2011 12:54)
h1. 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).
h2. Notation
[ _<id selectors>_ ] : PSK _<secret>_
h2. Examples
<pre>
@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
</pre>