jetpack_forms_log, jwt_encryption_failed, openssl_error_string(

jetpack_forms_log, jwt_encryption_failed, openssl_error_string(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_forms_log, jwt_encryption_failed, openssl_error_string(') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 1071
    				$tag
    			);
    
    			if ( $encrypted === false ) {
    				do_action( 'jetpack_forms_log', 'jwt_encryption_failed', openssl_error_string() );
    				return JWT::encode( $unencrypted_payload, $jwt_signing_key );
    			}
    			// For GCM, include the authentication tag; for CBC, tag will be empty
    			$encrypted_blob = stripos( $cipher, 'GCM' ) !== false ? $iv . $tag . $encrypted : $iv . $encrypted;
    
    			return JWT::encode(