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

Getting this error when trying to encrypt the gauth.csv file #31

Closed
ankit-timbadia opened this issue Jul 16, 2019 · 1 comment
Closed

Comments

@ankit-timbadia
Copy link

Ran this command as mentioned
openssl enc -aes-128-cbc -md sha256 -in gauth.csv -out gauth.csv

Encryption password:
prev curr next
panic: runtime error: index out of range

goroutine 1 [running]:
main.main()
/Users/ankit.timbadia/go/src/github.com/pcarrier/gauth/gauth.go:131 +0xcb7

@pcarrier
Copy link
Owner

Oops @ankit-timbadia I'm afraid that doesn't work in-place, and you replaced the file with an encrypted empty file.

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

2 participants