Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cosign generate Azure key pair bug (#1525)
* handle the hash func later on, handle 404 response Signed-off-by: Meredith Lancaster <malancas@github.com> * use shorthand Signed-off-by: Meredith Lancaster <malancas@github.com> * add unit test for create key Signed-off-by: Meredith Lancaster <malancas@github.com> * try counting GetKey call Signed-off-by: Meredith Lancaster <malancas@github.com> * uncomment test Signed-off-by: Meredith Lancaster <malancas@github.com> * add more comments Signed-off-by: Meredith Lancaster <malancas@github.com> * remove redundant method definition Signed-off-by: Meredith Lancaster <malancas@github.com> * clean up test and error messages Signed-off-by: Meredith Lancaster <malancas@github.com> * use the signer's default context Signed-off-by: Meredith Lancaster <malancas@github.com> * comment Signed-off-by: Meredith Lancaster <malancas@github.com> * create key reference Signed-off-by: Meredith Lancaster <malancas@github.com> * use new key ref Signed-off-by: Meredith Lancaster <malancas@github.com> * err message Signed-off-by: Meredith Lancaster <malancas@github.com> --------- Signed-off-by: Meredith Lancaster <malancas@github.com>
- Loading branch information
Showing
4 changed files
with
191 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters