WIP utility to retrieve private key