Skip to content

Commit

Permalink
build(deps): bump github.com/ovh/okms-sdk-go from 0.3.2 to 0.4.1
Browse files Browse the repository at this point in the history
Bumps [github.com/ovh/okms-sdk-go](https://github.com/ovh/okms-sdk-go) from 0.3.2 to 0.4.1.
- [Release notes](https://github.com/ovh/okms-sdk-go/releases)
- [Commits](ovh/okms-sdk-go@v0.3.2...v0.4.1)

---
updated-dependencies:
- dependency-name: github.com/ovh/okms-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Pierre-Henri Symoneaux <[email protected]>
  • Loading branch information
dependabot[bot] authored and phsym committed Dec 20, 2024
1 parent 8c732b4 commit b663d8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/okms/keys/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ In both cases, DATA can be either plain text, a '-' to read from stdin, or a fil
signCmd.Run = func(cmd *cobra.Command, args []string) {
data := readDigest(params.signatureAlgorithm, args[1], "Signing", noProgress)
keyId := exit.OnErr2(uuid.Parse(args[0]))
signature := exit.OnErr2(common.Client().Sign(cmd.Context(), keyId, params.signatureAlgorithm.Alg(), true, data))
signature := exit.OnErr2(common.Client().Sign(cmd.Context(), keyId, nil, params.signatureAlgorithm.Alg(), true, data))
if cmd.Flag("output").Value.String() == string(flagsmgmt.JSON_OUTPUT_FORMAT) {
output.JsonPrint(signature)
} else {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/knadh/koanf/providers/file v1.1.2
github.com/knadh/koanf/v2 v2.1.2
github.com/olekukonko/tablewriter v0.0.5
github.com/ovh/okms-sdk-go v0.3.2
github.com/ovh/okms-sdk-go v0.4.1
github.com/pterm/pterm v0.12.80
github.com/schollz/progressbar/v3 v3.17.1
github.com/spf13/cobra v1.8.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ github.com/oapi-codegen/runtime v1.1.1 h1:EXLHh0DXIJnWhdRPN2w4MXAzFyE4CskzhNLUmt
github.com/oapi-codegen/runtime v1.1.1/go.mod h1:SK9X900oXmPWilYR5/WKPzt3Kqxn/uS/+lbpREv+eCg=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/ovh/okms-sdk-go v0.3.2 h1:1P/JCxwzYPTlYzuBF/OQGrJ5UkgmlJ5gpNZ+j0FJtdY=
github.com/ovh/okms-sdk-go v0.3.2/go.mod h1:0OSfDfS3j5qYp6irBzVHXIWJsVVXLCI9ZnNYy2Z4Li8=
github.com/ovh/okms-sdk-go v0.4.1 h1:nB2dMN0MPL++Jnad7UGruaj9SpJMM3E0K/wEVONOs2A=
github.com/ovh/okms-sdk-go v0.4.1/go.mod h1:A9fKarqnmxqu6ZOo4rlrjmYQrjKNCOJWdT3BPuOETnw=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
Expand Down

0 comments on commit b663d8f

Please sign in to comment.