oydid 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/oydid.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fdd0883f0c8f620e7e0df179e0665ce3e5833dc50571e29ca9f2035a7336168
|
4
|
+
data.tar.gz: 65588a5899cd069a8bd35d1ab56cf28753e3e3ec7ffcc0781820a1cd253fa701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8ed1a2114b02c387ad6db5602b82f5b2732be81072ed3f9ea294c036c3e0344eadd93a1aebac9c1321ff406d9e56d63f4e6e2bd126f34575ae64d7c6e092d7
|
7
|
+
data.tar.gz: 6e635a8121304254b70f17a08315e9be4fc654d818e49be1246e2bea9aae24ab0d27548fb697c62dcc7eae6ba0ce9d6c09f75da291b6831dd603683a68c67639
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/lib/oydid.rb
CHANGED
@@ -275,7 +275,7 @@ class Oydid
|
|
275
275
|
pubRevoKey_old = public_key(revocationKey_old).first
|
276
276
|
did_key_old = publicKey_old + ":" + pubRevoKey_old
|
277
277
|
subDid = {"doc": did_old_doc, "key": did_key_old}.to_json
|
278
|
-
subDidHash = hash(subDid)
|
278
|
+
subDidHash = hash(canonical(subDid))
|
279
279
|
signedSubDidHash = sign(subDidHash, revocationKey_old).first
|
280
280
|
revocationLog = {
|
281
281
|
"ts": ts_old,
|
@@ -552,7 +552,7 @@ class Oydid
|
|
552
552
|
pubRevoKey_old = public_key(revocationKey_old).first
|
553
553
|
did_key_old = publicKey_old + ":" + pubRevoKey_old
|
554
554
|
subDid = {"doc": did_old_doc, "key": did_key_old}.to_json
|
555
|
-
subDidHash = hash(subDid)
|
555
|
+
subDidHash = hash(canonical(subDid))
|
556
556
|
signedSubDidHash = sign(subDidHash, revocationKey_old).first
|
557
557
|
revocationLog = {
|
558
558
|
"ts": ts_old,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oydid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Fabianek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dag
|