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

Providing empty file to signer causes panic #263

Open
dragetd opened this issue Jul 15, 2021 · 0 comments
Open

Providing empty file to signer causes panic #263

dragetd opened this issue Jul 15, 2021 · 0 comments

Comments

@dragetd
Copy link
Member

dragetd commented Jul 15, 2021

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x50a5d0]

goroutine 1 [running]:
main.readPrivateKey(0xc000124000, 0x0, 0x200, 0x0)
        /home/draget/setlog/repos/swat/trivrost/trivrost/cmd/signer/main.go:67 +0x50
main.createSignatures()
        /home/draget/setlog/repos/swat/trivrost/trivrost/cmd/signer/main.go:30 +0x6d
main.main()
        /home/draget/setlog/repos/swat/trivrost/trivrost/cmd/signer/main.go:25 +0x2f
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