oydid 0.3.6 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/oydid.rb +3 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5db43c42e4c33a5f4f5d02925f997d33d5d04fbce571a58c1b5a90211a6512d
4
- data.tar.gz: d438b20abf433681fc7615c495f2759f4d75f4415404b9877d3cc51fdf3a5578
3
+ metadata.gz: 9e715e178b3d9ea7da5fe0a47421740fec4b6e22f8e3355c9fb7e43a704c6b56
4
+ data.tar.gz: 8ba62acc964c24e22411a4e5e5287df54bdda9b1566f98c91a760d5853a3b826
5
5
  SHA512:
6
- metadata.gz: 7b19d63e7ce1a670b6530a4574df68004b2503440b18bdab7fa22de6005df4a51212c3674d21a3cffdf9556d18f8834fd9fe9f7ad464a1243fddc90452886366
7
- data.tar.gz: 16d55752155ece7c432bc40011731b115719f9d512fe35185329ab024ebf0fd6ab9ec46dbf45745f11279983ff13258bc3747c7f288c1fc277296967b1a8def9
6
+ metadata.gz: d656097d2b8ab1d9d9b19788cdf5051e397c13580de470cbce0d9f0c917dc5a2a9a3ec8c7eb7cfaf8b3ef8755f37275f0fee39ad27d7e87fcba16fc2bd9dea59
7
+ data.tar.gz: cb6ecf4797e57f43c15c401068966688be5fa1f84d8947f2fb5b65b75c96394b7d471cb5c2357f65f6734d0cb6e54f1ea1ded76a4bfa7eb4b2c251e98ba85898
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.6
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["verificationMethod"] = [{
673
+ wd["assertionMethod"] = [{
674
674
  "id": did,
675
675
  "type": "Ed25519VerificationKey2020",
676
676
  "controller": did,
677
- "publicKeyBase58": pubDocKey
677
+ "publicKeyMultibase": pubDocKey
678
678
  }]
679
679
  wd["keyAgreement"] = [{
680
680
  "id": did,
681
681
  "type": "Ed25519VerificationKey2020",
682
682
  "controller": did,
683
- "publicKeyBase58": pubRevKey
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.3.6
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-04 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dag