add savePublicKey Api CAll
bugfix purl
Merged 'dev'.
Finish pgp-key-handling