Skip to content

Commit 3295ebf

Browse files
committed
fix: address Copilot review comments
- Add legacy '// +build' directives for backward compatibility - Fix CheckOrigin to actually validate same-origin requests - Add strings import for origin checking
1 parent ade278e commit 3295ebf

File tree

11 files changed

+4378
-4366
lines changed

11 files changed

+4378
-4366
lines changed

bootstrapping/eduid.json

Lines changed: 1312 additions & 1312 deletions
Large diffs are not rendered by default.

bootstrapping/ehic.json

Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.

bootstrapping/pda1.json

Lines changed: 240 additions & 240 deletions
Large diffs are not rendered by default.

bootstrapping/pid-1-5.json

Lines changed: 1333 additions & 1333 deletions
Large diffs are not rendered by default.

bootstrapping/pid-1-8.json

Lines changed: 1319 additions & 1319 deletions
Large diffs are not rendered by default.

pkg/didcomm/crypto/external_signer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build didcomm && vc20
2+
// +build didcomm,vc20
23

34
// Package crypto provides HSM and external signer support for DIDComm operations.
45
package crypto

pkg/didcomm/protocol/issuecredential/handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build didcomm && vc20
2+
// +build didcomm,vc20
23

34
package issuecredential
45

pkg/didcomm/protocol/issuecredential/issuecredential.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build didcomm && vc20
2+
// +build didcomm,vc20
23

34
// Package issuecredential implements the DIDComm Issue Credential protocol 3.0.
45
//

pkg/didcomm/protocol/presentproof/handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build didcomm && vc20
2+
// +build didcomm,vc20
23

34
package presentproof
45

pkg/didcomm/protocol/presentproof/presentproof.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build didcomm && vc20
2+
// +build didcomm,vc20
23

34
// Package presentproof implements the DIDComm present-proof protocol 3.0.
45
// This protocol enables requesting and presenting verifiable credentials

0 commit comments

Comments
 (0)