Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyfile declared but not used #5

Closed
DamienCassou opened this issue Mar 27, 2024 · 1 comment
Closed

keyfile declared but not used #5

DamienCassou opened this issue Mar 27, 2024 · 1 comment

Comments

@DamienCassou
Copy link

$ go run main.go 
go: downloading golang.org/x/crypto v0.20.0
go: downloading github.com/ProtonMail/go-crypto v1.0.0
go: downloading golang.org/x/term v0.18.0
go: downloading golang.org/x/sys v0.18.0
go: downloading github.com/cloudflare/circl v1.3.7
# command-line-arguments
./main.go:46:3: keyfile declared but not used

$ go version
go version go1.18.1 linux/amd64

Because of #4, I had to patch go.mod:

diff --git a/go.mod b/go.mod
index 9aeb8c0..7a7da55 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module gpg2age
 
-go 1.21.8
+go 1.21
 
 require (
        github.com/ProtonMail/go-crypto v1.0.0
@DamienCassou
Copy link
Author

I think #3 fixed this.

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

No branches or pull requests

1 participant