Skip to content

feat!: add signingkeys.json validation check#246

Merged
priteshbandi merged 16 commits intonotaryproject:mainfrom
priteshbandi:signingkey-fix
Feb 3, 2023
Merged

feat!: add signingkeys.json validation check#246
priteshbandi merged 16 commits intonotaryproject:mainfrom
priteshbandi:signingkey-fix

Conversation

@priteshbandi
Copy link
Copy Markdown
Contributor

@priteshbandi priteshbandi commented Jan 22, 2023

Change to validate signingkeys are valid(unique name) for both read and write operation.

Signed-off-by: Pritesh Bandi pritesb@amazon.com

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 22, 2023

Codecov Report

Merging #246 (0e9a1dc) into main (32d2372) will decrease coverage by 3.79%.
The diff coverage is 19.42%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   73.35%   69.56%   -3.79%     
==========================================
  Files          23       23              
  Lines        1775     1909     +134     
==========================================
+ Hits         1302     1328      +26     
- Misses        375      483     +108     
  Partials       98       98              
Impacted Files Coverage Δ
config/keys.go 21.56% <19.42%> (-15.28%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@yizha1 yizha1 added this to the RC-2 milestone Feb 1, 2023
@priteshbandi priteshbandi force-pushed the signingkey-fix branch 2 times, most recently from cef7edd to a0e70c8 Compare February 1, 2023 07:57
Pritesh Bandi and others added 9 commits February 1, 2023 00:03
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Fix error message: Instead of printing bytes in error message convert them to string.

Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
This PR adds examples for notation-go sign and verify including fully
functional examples (can run in go playground) for local sign and local
verify.

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Copy link
Copy Markdown
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We could wait for Shiwei in case he has extra comments on the PR.

Pritesh Bandi and others added 2 commits February 1, 2023 21:44
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
@shizhMSFT shizhMSFT changed the title Adds siningkeys.json validation check feat!: add signingkeys.json validation check Feb 2, 2023
Pritesh Bandi and others added 3 commits February 2, 2023 10:28
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Copy link
Copy Markdown
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@priteshbandi priteshbandi merged commit 510def1 into notaryproject:main Feb 3, 2023
@priteshbandi priteshbandi deleted the signingkey-fix branch February 3, 2023 03:19
priteshbandi added a commit to priteshbandi/notation-go that referenced this pull request Feb 3, 2023
Change to validate signingkeys are valid(unique name) for both read and write operation.

Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
priteshbandi added a commit to notaryproject/notation that referenced this pull request Feb 3, 2023
This PR depends on notaryproject/notation-go#246 so please review notaryproject/notation-go#246 first.

Signed-off-by: Pritesh Bandi <pritesb@amazon.com
7h3-3mp7y-m4n pushed a commit to 7h3-3mp7y-m4n/notation that referenced this pull request Mar 29, 2025
This PR depends on notaryproject/notation-go#246 so please review notaryproject/notation-go#246 first.

Signed-off-by: Pritesh Bandi <pritesb@amazon.com
FeynmanZhou pushed a commit to FeynmanZhou/notation that referenced this pull request May 15, 2025
This PR depends on notaryproject/notation-go#246 so please review notaryproject/notation-go#246 first.

Signed-off-by: Pritesh Bandi <pritesb@amazon.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants