Apply public key based authentication patch