Fixed signing for encrypted secret key