Commit e9ba45

2025-07-18 08:56:00 ordex: add OVPN_CMD_KEY_GET
DataChannelOffload/LinuxUAPI.md ..
@@ 40,7 40,8 @@
### Key handling
- 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.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9