Add ability to specify public key file
Fixes #128