undoes priv key