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:
authorvarjolintu <sami.vanttinen@gmail.com>2017-04-28 10:58:17 +0300
committervarjolintu <sami.vanttinen@gmail.com>2017-04-28 10:58:17 +0300
commit05c95f1b3e1ab373de43b090185d476d3c85ec8f (patch)
treecac07d3538fd85d22eec6580b6d1a29d4429ad07 /README.md
parent19901de3117c5a53d1082955d04a9dcd5176dd5d (diff)
Key change fixes
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 44b738c..b12c3a6 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,26 @@ Encrypted messages are built with these JSON parameters:
- message - Encrypted message, base64 encoded
- nonce - 24 bytes long random data, base64 encoded. This must be the same when responding to a request.
+### change-public-keys
+Request:
+```javascript
+{
+ "action": "change-public-keys",
+ "publicKey": "<current public key>",
+ "nonce": "tZvLrBzkQ9GxXq9PvKJj4iAnfPT0VZ3Q"
+}
+```
+
+Response (success):
+```javascript
+{
+ "action": "change-public-keys",
+ "version": "2.1.2",
+ "publicKey": "<host public key>",
+ "success": "true"
+}
+```
+
### get-databasehash
Request:
```javascript