PSK Secret » History » Version 4
Tobias Brunner, 11.05.2011 12:54
1 | 3 | Martin Willi | h1. PSK Secret |
---|---|---|---|
2 | 1 | Martin Willi | |
3 | 4 | Tobias Brunner | 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). |
4 | 3 | Martin Willi | |
5 | 3 | Martin Willi | h2. Notation |
6 | 3 | Martin Willi | |
7 | 1 | Martin Willi | [ _<id selectors>_ ] : PSK _<secret>_ |
8 | 1 | Martin Willi | |
9 | 1 | Martin Willi | h2. Examples |
10 | 4 | Tobias Brunner | |
11 | 4 | Tobias Brunner | <pre> |
12 | 4 | Tobias Brunner | @moon.strongswan.org @sun.strongswan.org : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL |
13 | 4 | Tobias Brunner | |
14 | 4 | Tobias Brunner | @moon.strongswan.org %any : PSK 0sFpZAZqEN6Ti9sqt4ZP5EWcqx |
15 | 4 | Tobias Brunner | |
16 | 4 | Tobias Brunner | @sun.strongswan.org : PSK "This is a strong password" |
17 | 4 | Tobias Brunner | |
18 | 4 | Tobias Brunner | carol@strongswan.org : PSK "0sFpZAZqEN6Ti9sqt4ZP5EWcqx" |
19 | 4 | Tobias Brunner | |
20 | 4 | Tobias Brunner | : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL |
21 | 4 | Tobias Brunner | </pre> |