removing superfluous secret key