Repository navigation
Commit 8b10ac5
committed
Ignore the pre-final singular proof parameter in Credential Requests
OpenID4VCI 1.0 section 8.2 has the Credential Issuer ignore the parameters
it does not recognize, and 1.0 defines only `proofs`. OpenId4VciProofValidator
refused a request carrying the pre-final singular `proof` instead: with
invalid_proof for a credential configuration which binds a holder key, even
beside a `proofs` which would have been served, and with
invalid_credential_request for one which binds none.
The singular parameter now decides nothing. A key-binding configuration serves
a request carrying both by its `proofs`, and still refuses one carrying `proof`
alone, now for lacking the `proofs` it requires. A proofless configuration
issues a request carrying `proof` as one without it, as its metadata, with no
binding methods and no proof types, says it does; a `proofs` sent to it stays
refused.
Decision D29 of the OpenID4VCI 1.0 fix plan; the compliance matrix marks row 34
met and closes G24.1 parent 6870981 commit 8b10ac5
3 files changed
Lines changed: 94 additions & 26 deletions
File tree
- conformance-tests
- src/VerifiableCredentials
- tests/unit/src/VerifiableCredentials
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | 254 | | |
257 | 255 | | |
258 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
257 | 262 | | |
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
| 267 | + | |
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
| |||
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
291 | 287 | | |
292 | 288 | | |
293 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
533 | 544 | | |
534 | 545 | | |
535 | 546 | | |
536 | 547 | | |
537 | 548 | | |
538 | 549 | | |
539 | | - | |
540 | | - | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
613 | 622 | | |
614 | 623 | | |
615 | 624 | | |
616 | | - | |
617 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
618 | 661 | | |
619 | | - | |
| 662 | + | |
620 | 663 | | |
621 | | - | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
622 | 682 | | |
623 | 683 | | |
624 | 684 | | |
| |||
651 | 711 | | |
652 | 712 | | |
653 | 713 | | |
| 714 | + | |
654 | 715 | | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
659 | 733 | | |
660 | 734 | | |
661 | 735 | | |
| |||
0 commit comments