Finish pgp-key-handling
add api call for saving pubkey