scd: GENKEY updates the public key in APP.