Fixed private key usage
Merge pull request #7 from ianrgz/fix/private-key

Fixed private key usage