Skip to content

Commit

Permalink
fix output image ext, bump dep
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman committed Feb 26, 2024
1 parent 9db2ed0 commit f1c0682
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/enrichman/stegosecrets

go 1.19
go 1.22

require (
github.com/auyer/steganography v1.0.1
github.com/auyer/steganography v1.0.2
github.com/corvus-ch/shamir v1.0.1
github.com/pkg/errors v0.9.1
github.com/schollz/progressbar/v3 v3.11.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/auyer/steganography v1.0.1 h1:b3zlDd9FXlAIr5Io9KyiLG1sinaW7Wk0gelpV+lxwWE=
github.com/auyer/steganography v1.0.1/go.mod h1:Q2qN+f1ixaXnKTCT4xkSDCZ/5NiOpUeTgOCLwQdJD+A=
github.com/auyer/steganography v1.0.2 h1:G5iZbX8QUvw+kCLyK+59hY8t/oSSpSS5yStIcPCGIgU=
github.com/auyer/steganography v1.0.2/go.mod h1:Q2qN+f1ixaXnKTCT4xkSDCZ/5NiOpUeTgOCLwQdJD+A=
github.com/corvus-ch/shamir v1.0.1 h1:NaynWw+QQBOYmd/dWmc9xGrUr4cgALhWYJS0252SSnE=
github.com/corvus-ch/shamir v1.0.1/go.mod h1:1v3RBwJf+boj6ol/2QvtT1F1w5MZRZPbh5uys9ZoMnY=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down
2 changes: 1 addition & 1 deletion internal/encrypt/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (e *Encrypter) saveKeysIntoImages(parts []sss.Part, images []string) error

// if the images are available hide the key inside them
if len(images) > 0 {
imageOutName := partialKeyFilename + filepath.Ext(images[i])
imageOutName := partialKeyFilename + ".png"

e.Logger.Debug(fmt.Sprintf("Writing partial key %03d into image", i+1))

Expand Down

0 comments on commit f1c0682

Please sign in to comment.