-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sidecar): populate test_data folder for ERC-2335 keystore tests
- Loading branch information
1 parent
11e5c1f
commit e804caf
Showing
6 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...185a1c768478dfe919cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test-voting-keystore.json |
31 changes: 31 additions & 0 deletions
31
...9cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07/voting-keystore-pbkdf2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"crypto": { | ||
"kdf": { | ||
"function": "pbkdf2", | ||
"params": { | ||
"dklen": 32, | ||
"c": 262144, | ||
"prf": "hmac-sha256", | ||
"salt": "d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" | ||
}, | ||
"message": "" | ||
}, | ||
"checksum": { | ||
"function": "sha256", | ||
"params": {}, | ||
"message": "8a9f5d9912ed7e75ea794bc5a89bca5f193721d30868ade6f73043c6ea6febf1" | ||
}, | ||
"cipher": { | ||
"function": "aes-128-ctr", | ||
"params": { | ||
"iv": "264daa3f303d7259501c93d997d84fe6" | ||
}, | ||
"message": "cee03fde2af33149775b7223e7845e4fb2c8ae1792e5f99fe9ecf474cc8c16ad" | ||
} | ||
}, | ||
"description": "This is a test keystore that uses PBKDF2 to secure the secret.", | ||
"pubkey": "9612d7a727c9d0a22e185a1c768478dfe919cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07", | ||
"path": "m/12381/60/0/0", | ||
"uuid": "64625def-3331-4eea-ab6f-782f3ed16a83", | ||
"version": 4 | ||
} |
33 changes: 33 additions & 0 deletions
33
...9cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07/voting-keystore-scrypt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"crypto": { | ||
"kdf": { | ||
"function": "scrypt", | ||
"params": { | ||
"dklen": 32, | ||
"n": 262144, | ||
"p": 1, | ||
"r": 8, | ||
"salt": "d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" | ||
}, | ||
"message": "" | ||
}, | ||
"checksum": { | ||
"function": "sha256", | ||
"params": {}, | ||
"message": "d2217fe5f3e9a1e34581ef8a78f7c9928e436d36dacc5e846690a5581e8ea484" | ||
}, | ||
"cipher": { | ||
"function": "aes-128-ctr", | ||
"params": { | ||
"iv": "264daa3f303d7259501c93d997d84fe6" | ||
}, | ||
"message": "06ae90d55fe0a6e9c5c3bc5b170827b2e5cce3929ed3f116c2811e6366dfe20f" | ||
} | ||
}, | ||
"description": "This is a test keystore that uses scrypt to secure the secret.", | ||
"pubkey": "9612d7a727c9d0a22e185a1c768478dfe919cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07", | ||
"path": "m/12381/60/3141592653/589793238", | ||
"uuid": "1d85ae20-35c5-4611-98e8-aa14a633906f", | ||
"version": 4 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### About | ||
|
||
This directory is intended to be used as the folder to place ERC-2335 keystores | ||
files. | ||
|
||
It is assumed that each keystore file has a `.json` extension and is is placed | ||
in a directory named after the public key it corresponds to. |
1 change: 1 addition & 0 deletions
1
...727c9d0a22e185a1c768478dfe919cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
𝔱𝔢𝔰𝔱𝔭𝔞𝔰𝔰𝔴𝔬𝔯𝔡🔑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### About | ||
|
||
This directory is intended to be used as the folder to place ERC-2335 keystores | ||
secrets. | ||
|
||
It is assumed that each secrets file is named after the public key it | ||
corresponds to. and contains the password in plain text. |