aboutsummaryrefslogtreecommitdiffstats
path: root/KeyStoreTests
diff options
context:
space:
mode:
authorVitalik Buterin <v@buterin.com>2015-05-22 09:30:13 +0800
committerVitalik Buterin <v@buterin.com>2015-05-22 09:30:13 +0800
commitdd27b659258cf56118a868b3276a5d2b5f451b63 (patch)
treea493fae4955a9c3bcd7550cf6b95576dae3c7854 /KeyStoreTests
parent827b3b10fee0866633be84799ba063b1eedbe921 (diff)
downloaddexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.tar
dexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.tar.gz
dexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.tar.bz2
dexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.tar.lz
dexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.tar.xz
dexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.tar.zst
dexon-tests-dd27b659258cf56118a868b3276a5d2b5f451b63.zip
Added one more key store test
Diffstat (limited to 'KeyStoreTests')
-rw-r--r--KeyStoreTests/basic_tests.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/KeyStoreTests/basic_tests.json b/KeyStoreTests/basic_tests.json
index 183013166..a626d1350 100644
--- a/KeyStoreTests/basic_tests.json
+++ b/KeyStoreTests/basic_tests.json
@@ -45,5 +45,29 @@
},
"password": "testpassword",
"priv": "7a28b5ba57c53603b0b07b56bba752f7784bf506fa95edc395f5cf6c7514fe9d"
+ },
+ "python_generated_test_with_odd_iv": {
+ "json": {
+ "version": 2,
+ "crypto": {
+ "ciphertext": "49402720c5310f964b186f1aeb9d10d3e1ab21b292bbe0259bf6722804f4a874",
+ "cipherparams": {
+ "iv": "e07e1eef3f860cf9394f7e7feaaf28bf"
+ },
+ "kdf": "pbkdf2",
+ "kdfparams": {
+ "dklen": 32,
+ "c": 262144,
+ "prf": "hmac-sha256",
+ "salt": "137a9e7f04ed8673cb94f1507c1e5f88"
+ },
+ "mac": "bd21a5904f49d3aaa4a7a8e572b5b11abc97a1f43b02e933f32f611d0d349c37",
+ "cipher": "aes-128-ctr",
+ "version": 1
+ },
+ "id": ""
+ },
+ "password": "foo",
+ "priv": "0101010101010101010101010101010101010101010101010101010101010101"
}
}