Skip to content
Snippets Groups Projects
Commit 7d305ae6 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

Update to use the native ES256 implementation.

parent 403877bb
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class APNS {
throw new APNSException("Can't read auth key. Failed to read file.");
}
$authorization = JWT::encode(['iss' => $this->teamId, 'iat' => time()], $authKey, 'RS256', $this->authKeyId, ['alg' => 'ES256']);
$authorization = JWT::encode(['iss' => $this->teamId, 'iat' => time()], $authKey, 'ES256', $this->authKeyId);
// Prepare the header.
$header = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment