Storage of pub and priv key in mongo