Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc-browser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Vänttinen <sami.vanttinen@protonmail.com>2020-08-20 16:28:27 +0300
committerGitHub <noreply@github.com>2020-08-20 16:28:27 +0300
commit07538e6c1da64e1f0f579ef5b93b9c481f0acced (patch)
tree26a0e14c269df519ae2680a57f635a981f6b3d5f /keepassxc-protocol.md
parent4212c7eff464702486f2d9c0fc45833bba2d2b0a (diff)
Add get-totp
Diffstat (limited to 'keepassxc-protocol.md')
-rw-r--r--keepassxc-protocol.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/keepassxc-protocol.md b/keepassxc-protocol.md
index 0dae010..c4e7f2f 100644
--- a/keepassxc-protocol.md
+++ b/keepassxc-protocol.md
@@ -32,6 +32,7 @@ Currently these messages are implemented:
- `lock-database`: Request for locking the database from client.
- `database-locked`: A signal from KeePassXC, the current active database is locked.
- `database-unlocked`: A signal from KeePassXC, the current active database is unlocked.
+- `get-totp`: Request for receiving the current TOTP.
### change-public-keys
Request:
@@ -384,3 +385,22 @@ Response message data (success, decrypted):
"uuid": "<group UUID>"
}
```
+
+### get-totp (KeePassXC 2.6.1 and newer)
+Request (no unencrypted message is needed):
+```json
+{
+ "action": "generate-password",
+ "uuid": "<entry UUID>"
+}
+```
+
+Response message data (success, decrypted):
+```json
+{
+ "totp": <TOTP>,
+ "version": "2.2.0",
+ "success": "true",
+ "nonce": "tZvLrBzkQ9GxXq9PvKJj4iAnfPT0VZ3Q"
+}
+```