alexzorin / authy

Go library and program to access your Authy TOTP secrets.
MIT License
800 stars 58 forks source link

Can't install using go (go.mod contains one or more replace directives...) #25

Closed josiasdx closed 1 year ago

josiasdx commented 1 year ago

When use: go install github.com/alexzorin/authy/cmd/authy-export@latest

I receive the message: "The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module." and it is not installed.

josiasdx commented 1 year ago

Solved: 1) downloading it manually 2) "go install" 3) C:\Users\user\go\pkg\mod\github.com\alexzorin\authy@v0.4.0\cmd\authy-export and executing "go run authy-export.go"

alexzorin commented 1 year ago

Sorry, it's this silly public Go proxy that is caching the old submodule, even though I removed it ages ago. I updated the README with a slightly different command to avoid it.