Fix pubkey privkey typo

Fixes #22