From 0c5ba7a1ca414675a06180ba26dec4e1e1ddcb7d Mon Sep 17 00:00:00 2001 From: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:23:53 +0200 Subject: [PATCH] Update Swift's JWTKit's supported algorithms (#680) * Update Swift's JWTKit supported algorithms * Update JWTKit install command * Format * Add `typ` header to JWTKit --- views/website/libraries/19-Swift.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/views/website/libraries/19-Swift.json b/views/website/libraries/19-Swift.json index 482b87bf..97af5d28 100644 --- a/views/website/libraries/19-Swift.json +++ b/views/website/libraries/19-Swift.json @@ -47,6 +47,7 @@ "nbf": true, "iat": true, "jti": true, + "typ": true, "hs256": true, "hs384": true, "hs512": true, @@ -56,16 +57,16 @@ "es256": true, "es384": true, "es512": true, - "ps256": false, - "ps384": false, - "ps512": false + "ps256": true, + "ps384": true, + "ps512": true, + "eddsa": true }, "authorUrl": "https://github.com/vapor", "authorName": "Vapor", "gitHubRepoPath": "vapor/jwt-kit", "repoUrl": "https://github.com/vapor/jwt-kit", - "installCommandHtml": - ".package(url: \"https://github.com/vapor/jwt-kit.git\", from: \"4.0.0\")" + "installCommandHtml": ".package(url: \"https://github.com/vapor/jwt-kit.git\", from: \"5.0.0\")" }, { "minimumVersion": null, @@ -127,8 +128,7 @@ "authorName": "IBM Swift", "gitHubRepoPath": "IBM-Swift/Swift-JWT", "repoUrl": "https://github.com/IBM-Swift/Swift-JWT", - "installCommandHtml": - ".package(url:\"https://github.com/IBM-Swift/Swift-JWT\", from: \"3.5.0\")" + "installCommandHtml": ".package(url:\"https://github.com/IBM-Swift/Swift-JWT\", from: \"3.5.0\")" }, { "minimumVersion": null,