repository: implementing pubkey storage/retrieval