You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have generated the token for push notifications at Keys section (https://developer.apple.com/account/resources/authkeys/list), enabled Apple Push Notifications service (APNs) there, but when using the generated key (AuthKey_XXXYYYZZZ.p8), I get an error Uncaught VError: Failed to generate token: secretOrPrivateKey must be an asymmetric key when using ES256 from lib/credentials/token/prepare.js:41:13.
I have found that the cause probably is that Apple's generated key is a symmetrical one. Is there a way to convert it to an asymmetrical one, or generate the one that will be accepted?
The text was updated successfully, but these errors were encountered:
Hello, I have generated the token for push notifications at Keys section (https://developer.apple.com/account/resources/authkeys/list), enabled
Apple Push Notifications service (APNs)
there, but when using the generated key (AuthKey_XXXYYYZZZ.p8
), I get an errorUncaught VError: Failed to generate token: secretOrPrivateKey must be an asymmetric key when using ES256
fromlib/credentials/token/prepare.js:41:13
.I have found that the cause probably is that Apple's generated key is a symmetrical one. Is there a way to convert it to an asymmetrical one, or generate the one that will be accepted?
The text was updated successfully, but these errors were encountered: