Commit d1fd9490 authored by Peter Jensen's avatar Peter Jensen

Update slip-0016.md

parent 908f2410
......@@ -10,12 +10,12 @@ Created: 2016-18-02
```
## Abstract
------
SLIP-0016 describes simple encryption concept for hardware device for secure storage of passwords.
## General design
------
At first, we derive a master key from HW device itself, which is divided in two parts.
First part is hashed and used as a name of storage file.
Second part is used for primary storage encryption.
......@@ -24,7 +24,7 @@ Storage file is encrypted JSON object, which contains configuration, tags and se
## Design details
------
#### Deriving master key
We derive masterKey from hardware device by sending cipherKeyValue with following params:
......@@ -98,13 +98,13 @@ for more: https://nodejs.org/api/crypto.html#crypto_crypto_createdecipheriv_algo
- ```entries```: is object of all password entries encrypted second time
```javascript
{
title: "http://wwww.github.com
username: "Satoshi Nakamoto"
nonce: "8688105887642a3cbb61889d8762432ef864df107e097d2b19e93c8d808c2e21"
note: "public note"
password: Object
safe_note: Object
tags: Array[1]
"title": "http://wwww.github.com
"username": "Satoshi Nakamoto"
"nonce": "8688105887642a3cbb61889d8762432ef864df107e097d2b19e93c8d808c2e21"
"note": "public note"
"password": Object
"safe_note": Object
"tags": Array[1]
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment