oydid 0.5.4 → 0.5.6
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/basic.rb +255 -12
- data/lib/oydid/didcomm.rb +2 -2
- data/lib/oydid/log.rb +194 -42
- data/lib/oydid/vc.rb +4 -2
- data/lib/oydid.rb +499 -184
- metadata +102 -102
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oydid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Fabianek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: simple_dag
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jwt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -327,147 +327,147 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
327
327
|
- !ruby/object:Gem::Version
|
328
328
|
version: '0'
|
329
329
|
requirements: []
|
330
|
-
rubygems_version: 3.
|
330
|
+
rubygems_version: 3.5.4
|
331
331
|
signing_key:
|
332
332
|
specification_version: 4
|
333
333
|
summary: Own Your Decentralized Identifier for Ruby.
|
334
334
|
test_files:
|
335
|
-
- spec/spec_helper.rb
|
336
335
|
- spec/oydid_spec.rb
|
337
|
-
- spec/
|
336
|
+
- spec/spec_helper.rb
|
338
337
|
- spec/input/basic/arrays.json
|
338
|
+
- spec/input/basic/french.json
|
339
339
|
- spec/input/basic/structures.json
|
340
340
|
- spec/input/basic/unicode.json
|
341
|
-
- spec/input/basic/wierd.json
|
342
341
|
- spec/input/basic/values.json
|
343
|
-
- spec/
|
342
|
+
- spec/input/basic/wierd.json
|
344
343
|
- spec/output/basic/arrays.json
|
344
|
+
- spec/output/basic/french.json
|
345
345
|
- spec/output/basic/structures.json
|
346
346
|
- spec/output/basic/unicode.json
|
347
|
-
- spec/output/basic/wierd.json
|
348
347
|
- spec/output/basic/values.json
|
349
|
-
- spec/
|
350
|
-
- spec/input/basic/
|
351
|
-
- spec/input/basic/sample_retrieve_document.doc
|
352
|
-
- spec/input/basic/sample_b58_dec.doc
|
353
|
-
- spec/input/basic/sample_sha2-512_b58_hash.doc
|
354
|
-
- spec/input/basic/sample_b32_enc.doc
|
355
|
-
- spec/input/basic/sample_get_location.doc
|
356
|
-
- spec/input/basic/sample_invalid2_verify.doc
|
357
|
-
- spec/input/basic/sample_valid_privkey.doc
|
348
|
+
- spec/output/basic/wierd.json
|
349
|
+
- spec/input/basic/sample2_get_location.doc
|
358
350
|
- spec/input/basic/sample2_retrieve_document.doc
|
359
|
-
- spec/input/basic/
|
360
|
-
- spec/input/basic/sample_blake2b-16_b16_hash.doc
|
351
|
+
- spec/input/basic/sample3_retrieve_document.doc
|
361
352
|
- spec/input/basic/sample4_retrieve_document.doc
|
362
|
-
- spec/input/basic/
|
363
|
-
- spec/input/basic/
|
353
|
+
- spec/input/basic/sample5_retrieve_document.doc
|
354
|
+
- spec/input/basic/sample_b16_dec.doc
|
364
355
|
- spec/input/basic/sample_b16_enc.doc
|
356
|
+
- spec/input/basic/sample_b17_edec.doc
|
365
357
|
- spec/input/basic/sample_b17_enc.doc
|
366
|
-
- spec/input/basic/
|
358
|
+
- spec/input/basic/sample_b32_dec.doc
|
359
|
+
- spec/input/basic/sample_b32_enc.doc
|
360
|
+
- spec/input/basic/sample_b58_dec.doc
|
361
|
+
- spec/input/basic/sample_b58_enc.doc
|
367
362
|
- spec/input/basic/sample_b64_dec.doc
|
368
|
-
- spec/input/basic/
|
369
|
-
- spec/input/basic/
|
363
|
+
- spec/input/basic/sample_b64_enc.doc
|
364
|
+
- spec/input/basic/sample_blake2b-16_b16_hash.doc
|
365
|
+
- spec/input/basic/sample_blake2b-32_b32_hash.doc
|
370
366
|
- spec/input/basic/sample_blake2b-64_b58_hash.doc
|
371
|
-
- spec/input/basic/
|
367
|
+
- spec/input/basic/sample_get_location.doc
|
368
|
+
- spec/input/basic/sample_invalid2_readkey.doc
|
369
|
+
- spec/input/basic/sample_invalid2_verify.doc
|
370
|
+
- spec/input/basic/sample_invalid3_readkey.doc
|
372
371
|
- spec/input/basic/sample_invalid3_verify.doc
|
373
|
-
- spec/input/basic/
|
374
|
-
- spec/input/basic/sample_key.doc
|
375
|
-
- spec/input/basic/sample3_retrieve_document.doc
|
376
|
-
- spec/input/basic/sample_b17_edec.doc
|
377
|
-
- spec/input/basic/sample_verify.doc
|
378
|
-
- spec/input/basic/sample5_retrieve_document.doc
|
379
|
-
- spec/input/basic/sample_sha3-224_b64_hash.doc
|
380
|
-
- spec/input/basic/sample2_get_location.doc
|
372
|
+
- spec/input/basic/sample_invalid_privkey.doc
|
381
373
|
- spec/input/basic/sample_invalid_readkey.doc
|
382
|
-
- spec/input/basic/
|
374
|
+
- spec/input/basic/sample_invalid_sign.doc
|
383
375
|
- spec/input/basic/sample_invalid_verify.doc
|
376
|
+
- spec/input/basic/sample_key.doc
|
377
|
+
- spec/input/basic/sample_readkey.doc
|
378
|
+
- spec/input/basic/sample_retrieve_document.doc
|
384
379
|
- spec/input/basic/sample_sha2-256_b58_hash.doc
|
385
|
-
- spec/input/basic/
|
386
|
-
- spec/input/
|
387
|
-
- spec/input/
|
388
|
-
- spec/input/
|
389
|
-
- spec/input/
|
390
|
-
- spec/input/
|
391
|
-
- spec/input/log/sample3_dag_did.doc
|
380
|
+
- spec/input/basic/sample_sha2-512_b58_hash.doc
|
381
|
+
- spec/input/basic/sample_sha3-224_b64_hash.doc
|
382
|
+
- spec/input/basic/sample_sign.doc
|
383
|
+
- spec/input/basic/sample_valid_privkey.doc
|
384
|
+
- spec/input/basic/sample_verify.doc
|
385
|
+
- spec/input/basic/zQmaBZTghn.doc
|
392
386
|
- spec/input/log/sample0_dag2array.doc
|
393
|
-
- spec/input/log/
|
394
|
-
- spec/input/log/sample_dag_update.doc
|
395
|
-
- spec/input/log/sample1_dag_update.doc
|
396
|
-
- spec/input/log/sample6_retrieve_log.doc
|
387
|
+
- spec/input/log/sample0_dag_did.doc
|
397
388
|
- spec/input/log/sample1_dag_did.doc
|
398
|
-
- spec/input/log/
|
399
|
-
- spec/input/log/
|
389
|
+
- spec/input/log/sample1_dag_update.doc
|
390
|
+
- spec/input/log/sample2_dag_did.doc
|
391
|
+
- spec/input/log/sample2_dag_update.doc
|
400
392
|
- spec/input/log/sample2_retrieve_log.doc
|
393
|
+
- spec/input/log/sample3_dag_did.doc
|
394
|
+
- spec/input/log/sample3_dag_update.doc
|
395
|
+
- spec/input/log/sample3_retrieve_log.doc
|
396
|
+
- spec/input/log/sample4_dag_did.doc
|
397
|
+
- spec/input/log/sample4_dag_update.doc
|
398
|
+
- spec/input/log/sample4_retrieve_log.doc
|
399
|
+
- spec/input/log/sample5_dag_update.doc
|
400
|
+
- spec/input/log/sample5_retrieve_log.doc
|
401
|
+
- spec/input/log/sample6_dag_update.doc
|
402
|
+
- spec/input/log/sample6_retrieve_log.doc
|
401
403
|
- spec/input/log/sample7_dag_update.doc
|
404
|
+
- spec/input/log/sample7_retrieve_log.doc
|
402
405
|
- spec/input/log/sample8_dag_update.doc
|
403
|
-
- spec/input/log/
|
404
|
-
- spec/input/log/
|
406
|
+
- spec/input/log/sample_addhash.doc
|
407
|
+
- spec/input/log/sample_dag_update.doc
|
405
408
|
- spec/input/log/sample_match_log.doc
|
406
|
-
- spec/input/log/
|
407
|
-
- spec/input/log/
|
408
|
-
- spec/input/log/sample3_retrieve_log.doc
|
409
|
-
- spec/input/log/sample2_dag_did.doc
|
410
|
-
- spec/input/log/sample3_dag_update.doc
|
409
|
+
- spec/input/log/sample_op1_addhash.doc
|
410
|
+
- spec/input/log/sample_retrieve_log.doc
|
411
411
|
- spec/input/main/sample0_read.doc
|
412
|
-
- spec/output/basic/
|
413
|
-
- spec/output/basic/sample_b58_enc.doc
|
414
|
-
- spec/output/basic/sample_retrieve_document.doc
|
415
|
-
- spec/output/basic/sample_b58_dec.doc
|
416
|
-
- spec/output/basic/sample_sha2-512_b58_hash.doc
|
417
|
-
- spec/output/basic/sample_b32_enc.doc
|
418
|
-
- spec/output/basic/sample_get_location.doc
|
419
|
-
- spec/output/basic/sample_invalid2_verify.doc
|
420
|
-
- spec/output/basic/sample_valid_privkey.doc
|
412
|
+
- spec/output/basic/sample2_get_location.doc
|
421
413
|
- spec/output/basic/sample2_retrieve_document.doc
|
422
|
-
- spec/output/basic/
|
414
|
+
- spec/output/basic/sample3_retrieve_document.doc
|
423
415
|
- spec/output/basic/sample4_retrieve_document.doc
|
424
|
-
- spec/output/basic/
|
425
|
-
- spec/output/basic/
|
416
|
+
- spec/output/basic/sample5_retrieve_document.doc
|
417
|
+
- spec/output/basic/sample_b16_dec.doc
|
426
418
|
- spec/output/basic/sample_b16_enc.doc
|
419
|
+
- spec/output/basic/sample_b17_edec.doc
|
427
420
|
- spec/output/basic/sample_b17_enc.doc
|
428
|
-
- spec/output/basic/
|
421
|
+
- spec/output/basic/sample_b32_dec.doc
|
422
|
+
- spec/output/basic/sample_b32_enc.doc
|
423
|
+
- spec/output/basic/sample_b58_dec.doc
|
424
|
+
- spec/output/basic/sample_b58_enc.doc
|
429
425
|
- spec/output/basic/sample_b64_dec.doc
|
430
|
-
- spec/output/basic/
|
431
|
-
- spec/output/basic/
|
426
|
+
- spec/output/basic/sample_b64_enc.doc
|
427
|
+
- spec/output/basic/sample_blake2b-16_b16_hash.doc
|
428
|
+
- spec/output/basic/sample_blake2b-32_b32_hash.doc
|
432
429
|
- spec/output/basic/sample_blake2b-64_b58_hash.doc
|
433
|
-
- spec/output/basic/
|
430
|
+
- spec/output/basic/sample_get_location.doc
|
431
|
+
- spec/output/basic/sample_invalid2_readkey.doc
|
432
|
+
- spec/output/basic/sample_invalid2_verify.doc
|
433
|
+
- spec/output/basic/sample_invalid3_readkey.doc
|
434
434
|
- spec/output/basic/sample_invalid3_verify.doc
|
435
|
-
- spec/output/basic/
|
436
|
-
- spec/output/basic/sample_key.doc
|
437
|
-
- spec/output/basic/sample3_retrieve_document.doc
|
438
|
-
- spec/output/basic/sample_b17_edec.doc
|
439
|
-
- spec/output/basic/sample_verify.doc
|
440
|
-
- spec/output/basic/sample5_retrieve_document.doc
|
441
|
-
- spec/output/basic/sample_sha3-224_b64_hash.doc
|
442
|
-
- spec/output/basic/sample2_get_location.doc
|
435
|
+
- spec/output/basic/sample_invalid_privkey.doc
|
443
436
|
- spec/output/basic/sample_invalid_readkey.doc
|
444
|
-
- spec/output/basic/
|
437
|
+
- spec/output/basic/sample_invalid_sign.doc
|
445
438
|
- spec/output/basic/sample_invalid_verify.doc
|
439
|
+
- spec/output/basic/sample_key.doc
|
440
|
+
- spec/output/basic/sample_readkey.doc
|
441
|
+
- spec/output/basic/sample_retrieve_document.doc
|
446
442
|
- spec/output/basic/sample_sha2-256_b58_hash.doc
|
447
|
-
- spec/output/basic/
|
448
|
-
- spec/output/
|
449
|
-
- spec/output/
|
450
|
-
- spec/output/
|
451
|
-
- spec/output/
|
452
|
-
- spec/output/log/sample_addhash.doc
|
453
|
-
- spec/output/log/sample3_dag_did.doc
|
443
|
+
- spec/output/basic/sample_sha2-512_b58_hash.doc
|
444
|
+
- spec/output/basic/sample_sha3-224_b64_hash.doc
|
445
|
+
- spec/output/basic/sample_sign.doc
|
446
|
+
- spec/output/basic/sample_valid_privkey.doc
|
447
|
+
- spec/output/basic/sample_verify.doc
|
454
448
|
- spec/output/log/sample0_dag2array.doc
|
455
|
-
- spec/output/log/
|
456
|
-
- spec/output/log/sample_dag_update.doc
|
457
|
-
- spec/output/log/sample1_dag_update.doc
|
458
|
-
- spec/output/log/sample6_retrieve_log.doc
|
449
|
+
- spec/output/log/sample0_dag_did.doc
|
459
450
|
- spec/output/log/sample1_dag_did.doc
|
460
|
-
- spec/output/log/
|
461
|
-
- spec/output/log/
|
451
|
+
- spec/output/log/sample1_dag_update.doc
|
452
|
+
- spec/output/log/sample2_dag_did.doc
|
453
|
+
- spec/output/log/sample2_dag_update.doc
|
462
454
|
- spec/output/log/sample2_retrieve_log.doc
|
455
|
+
- spec/output/log/sample3_dag_did.doc
|
456
|
+
- spec/output/log/sample3_dag_update.doc
|
457
|
+
- spec/output/log/sample3_retrieve_log.doc
|
458
|
+
- spec/output/log/sample4_dag_did.doc
|
459
|
+
- spec/output/log/sample4_dag_update.doc
|
460
|
+
- spec/output/log/sample4_retrieve_log.doc
|
461
|
+
- spec/output/log/sample5_dag_update.doc
|
462
|
+
- spec/output/log/sample5_retrieve_log.doc
|
463
|
+
- spec/output/log/sample6_dag_update.doc
|
464
|
+
- spec/output/log/sample6_retrieve_log.doc
|
463
465
|
- spec/output/log/sample7_dag_update.doc
|
466
|
+
- spec/output/log/sample7_retrieve_log.doc
|
464
467
|
- spec/output/log/sample8_dag_update.doc
|
465
|
-
- spec/output/log/
|
466
|
-
- spec/output/log/
|
468
|
+
- spec/output/log/sample_addhash.doc
|
469
|
+
- spec/output/log/sample_dag_update.doc
|
467
470
|
- spec/output/log/sample_match_log.doc
|
468
|
-
- spec/output/log/
|
469
|
-
- spec/output/log/
|
470
|
-
- spec/output/log/sample3_retrieve_log.doc
|
471
|
-
- spec/output/log/sample2_dag_did.doc
|
472
|
-
- spec/output/log/sample3_dag_update.doc
|
471
|
+
- spec/output/log/sample_op1_addhash.doc
|
472
|
+
- spec/output/log/sample_retrieve_log.doc
|
473
473
|
- spec/output/main/sample0_read.doc
|