Added real public key
Added public key retrieval