oydid 0.3.6 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/oydid.rb +3 -3
- 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: 9e715e178b3d9ea7da5fe0a47421740fec4b6e22f8e3355c9fb7e43a704c6b56
|
|
4
|
+
data.tar.gz: 8ba62acc964c24e22411a4e5e5287df54bdda9b1566f98c91a760d5853a3b826
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d656097d2b8ab1d9d9b19788cdf5051e397c13580de470cbce0d9f0c917dc5a2a9a3ec8c7eb7cfaf8b3ef8755f37275f0fee39ad27d7e87fcba16fc2bd9dea59
|
|
7
|
+
data.tar.gz: cb6ecf4797e57f43c15c401068966688be5fa1f84d8947f2fb5b65b75c96394b7d471cb5c2357f65f6734d0cb6e54f1ea1ded76a4bfa7eb4b2c251e98ba85898
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.4.0
|
data/lib/oydid.rb
CHANGED
|
@@ -670,17 +670,17 @@ class Oydid
|
|
|
670
670
|
wd = {}
|
|
671
671
|
wd["@context"] = "https://www.w3.org/ns/did/v1"
|
|
672
672
|
wd["id"] = did
|
|
673
|
-
wd["
|
|
673
|
+
wd["assertionMethod"] = [{
|
|
674
674
|
"id": did,
|
|
675
675
|
"type": "Ed25519VerificationKey2020",
|
|
676
676
|
"controller": did,
|
|
677
|
-
"
|
|
677
|
+
"publicKeyMultibase": pubDocKey
|
|
678
678
|
}]
|
|
679
679
|
wd["keyAgreement"] = [{
|
|
680
680
|
"id": did,
|
|
681
681
|
"type": "Ed25519VerificationKey2020",
|
|
682
682
|
"controller": did,
|
|
683
|
-
"
|
|
683
|
+
"publicKeyMultibase": pubRevKey
|
|
684
684
|
}]
|
|
685
685
|
|
|
686
686
|
if didDoc["@context"].to_s == "https://www.w3.org/ns/did/v1"
|
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.
|
|
4
|
+
version: 0.4.0
|
|
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-06-
|
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dag
|