Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slips
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
slips
Commits
d1fd9490
Commit
d1fd9490
authored
Feb 18, 2016
by
Peter Jensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update slip-0016.md
parent
908f2410
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
slip-0016.md
slip-0016.md
+10
-10
No files found.
slip-0016.md
View file @
d1fd9490
...
...
@@ -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
]
}
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment