The following commands are used to create, swap and delete primary and secondary keys for a specific peer. This means that a peer must be created before adding a new key.\\
+
The following commands are used to create, swap and delete primary and secondary keys for a specific peer. This means that a peer must be created before adding a new key.
+
A key comes with its own cipher, therefore, it is possible to use different ciphers for each peer and, possibly, switch cipher for a certain peer at runtime (not tested).
#### OVPN_CMD_KEY_NEW
@@ 49,6 50,11 @@
#### OVPN_CMD_KEY_SWAP
Swap primary and secondary keys for a specific peer.
+
#### OVPN_CMD_KEY_GET
+
Retrieve the key attributes for a specific peer/slot.
+
+
No key material is actually exported.
+
#### OVPN_CMD_KEY_DEL
Erase the key from the given slot for a specific peer.