Skip to content

Commit d0f38cc

Browse files
authored
Merge pull request jsonwebtoken#373 from jsonwebtoken/feature/show-ps-signing-support
Show support for the RSA-PSS signing algorithm
2 parents c017ad2 + b82f0ac commit d0f38cc

31 files changed

+379
-119
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Build Status](https://travis-ci.org/jsonwebtoken/jsonwebtoken.github.io.png?branch=master)](https://travis-ci.org/jsonwebtoken/jsonwebtoken.github.io)
66

77
### How to add a library
8+
89
To add a library, simply edit the right JSON file located at `views/website/libraries`. Each language gets its own file. Multiple libraries share the same language file.
910

1011
To add a new language, simply add a JSON file in the same folder as the others. It will get automatically recognized. If you add a new language, you will need to provide a proper icon for it and place it in the `img` folder.
@@ -19,23 +20,23 @@ Here's a commented example of the .NET language file (`0-.NET.json`). All fields
1920
// Unique identifier that will be used as a CSS class
2021
// for this language (only valid CSS class names).
2122
"uniqueClass": "net",
22-
23+
2324
// The language icon, SVG format preferred, should be placed
2425
// in /img directory.
2526
"image": "/img/1.svg",
26-
27+
2728
// The color of header that displays the name of the language
2829
// and the icon. This is a valid CSS color definition.
2930
"bgColor": "rgb(42, 168, 229)",
30-
31+
3132
// An array of libraries for this language.
3233
"libs": [
3334
{
3435
// In case the library suffered from a vulnerability, the
3536
// minimum version in which the vuln was fixed must be
3637
// listed here. Optional (can be null).
3738
"minimumVersion": "1.0.1", // or null
38-
39+
3940
// Supported features, true for supported,
4041
// false for not supported.
4142
"support": {
@@ -56,23 +57,26 @@ Here's a commented example of the .NET language file (`0-.NET.json`). All fields
5657
"rs512": true,
5758
"es256": true,
5859
"es384": true,
59-
"es512": true
60+
"es512": true,
61+
"ps256": true,
62+
"ps384": true,
63+
"ps512": true
6064
},
61-
65+
6266
// Author URL, can be GitHub profile, personal page
6367
// company page, etc. Can be null.
6468
"authorUrl": "https://www.microsoft.com", // or null
65-
69+
6670
// Author name.
6771
"authorName": "Microsoft",
68-
72+
6973
// For the star count, this is the GitHub repository path,
7074
// (usually user/repo). Can be null (no star count shown).
7175
"gitHubRepoPath": "AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet", // or null
72-
76+
7377
// URL for source code.
7478
"repoUrl": "https://github.com/MSOpenTech/azure-activedirectory-identitymodel-extensions-for-dotnet",
75-
79+
7680
// Install command, can be HTML or plain text.
7781
"installCommandHtml": "Install-Package<br><a href=\"https://www.nuget.org/packages/System.IdentityModel.Tokens.Jwt/\">System.IdentityModel.Tokens.Jwt</a>"
7882
}

stylus/website/index.styl

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ body
579579
textarea
580580
width 100%
581581
max-width 266px
582-
resize none
582+
resize none
583583
input[type="checkbox"]
584584
margin-right 5px
585585
position relative
@@ -612,7 +612,7 @@ body
612612
.debugger-footer
613613
font-size 30px
614614
.website-validation
615-
padding-left 0
615+
padding-left 0
616616
.website-share
617617
padding-right 0
618618
button
@@ -621,7 +621,7 @@ body
621621
color white;
622622
font-weight 400;
623623
border-color #00b9f1;
624-
624+
625625

626626

627627
// libraries-jwt
@@ -1171,3 +1171,23 @@ footer
11711171

11721172
&:hover
11731173
opacity .7
1174+
1175+
.icon-unknown {
1176+
display: inline-block;
1177+
width: 19px;
1178+
height: 19px;
1179+
margin-top: -2px;
1180+
border: 1px solid #000;
1181+
border-radius: 50%;
1182+
text-align: center;
1183+
line-height: 13px;
1184+
font-style: normal;
1185+
}
1186+
.icon-unknown::after {
1187+
content: '?';
1188+
font-size: 14px;
1189+
line-height: 1;
1190+
padding: 0;
1191+
margin: 0;
1192+
display: inline;
1193+
}

views/website/libraries/0-.NET.json

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,19 @@
2424
"rs512": true,
2525
"es256": true,
2626
"es384": true,
27-
"es512": true
27+
"es512": true,
28+
"ps256": true,
29+
"ps384": true,
30+
"ps512": true
2831
},
2932
"authorUrl": "https://www.microsoft.com",
3033
"authorName": "Microsoft",
31-
"gitHubRepoPath": "AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet",
32-
"repoUrl": "https://github.com/MSOpenTech/azure-activedirectory-identitymodel-extensions-for-dotnet",
33-
"installCommandHtml": "Install-Package<br><a href=\"https://www.nuget.org/packages/System.IdentityModel.Tokens.Jwt/\">System.IdentityModel.Tokens.Jwt</a>"
34+
"gitHubRepoPath":
35+
"AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet",
36+
"repoUrl":
37+
"https://github.com/MSOpenTech/azure-activedirectory-identitymodel-extensions-for-dotnet",
38+
"installCommandHtml":
39+
"Install-Package<br><a href=\"https://www.nuget.org/packages/System.IdentityModel.Tokens.Jwt/\">System.IdentityModel.Tokens.Jwt</a>"
3440
},
3541
{
3642
"minimumVersion": null,
@@ -52,13 +58,17 @@
5258
"rs512": true,
5359
"es256": true,
5460
"es384": true,
55-
"es512": true
61+
"es512": true,
62+
"ps256": true,
63+
"ps384": true,
64+
"ps512": true
5665
},
5766
"authorUrl": "https://github.com/dvsekhvalnov/jose-jwt",
5867
"authorName": "DV",
5968
"gitHubRepoPath": "dvsekhvalnov/jose-jwt",
6069
"repoUrl": "https://github.com/dvsekhvalnov/jose-jwt",
61-
"installCommandHtml": "Install-Package<br><a href=\"http://www.nuget.org/packages/jose-jwt/\">jose-jwt</a>"
70+
"installCommandHtml":
71+
"Install-Package<br><a href=\"http://www.nuget.org/packages/jose-jwt/\">jose-jwt</a>"
6272
},
6373
{
6474
"minimumVersion": null,
@@ -86,7 +96,8 @@
8696
"authorName": "DV",
8797
"gitHubRepoPath": "dvsekhvalnov/jose-rt",
8898
"repoUrl": "https://github.com/dvsekhvalnov/jose-rt",
89-
"installCommandHtml": "Install-Package<br><a href=\"http://www.nuget.org/packages/jose-rt/\">jose-rt</a>"
99+
"installCommandHtml":
100+
"Install-Package<br><a href=\"http://www.nuget.org/packages/jose-rt/\">jose-rt</a>"
90101
}
91102
]
92-
}
103+
}

views/website/libraries/1-Python.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"rs512": true,
2525
"es256": true,
2626
"es384": true,
27-
"es512": true
27+
"es512": true,
28+
"ps256": true,
29+
"ps384": true,
30+
"ps512": true
2831
},
2932
"authorUrl": "https://github.com/jpadilla",
3033
"authorName": "José Padilla",
@@ -52,7 +55,10 @@
5255
"rs512": true,
5356
"es256": true,
5457
"es384": true,
55-
"es512": true
58+
"es512": true,
59+
"ps256": false,
60+
"ps384": false,
61+
"ps512": false
5662
},
5763
"authorUrl": "https://github.com/mpdavis",
5864
"authorName": "Michael Davis",
@@ -117,4 +123,4 @@
117123
"installCommandHtml": "pip install authlib"
118124
}
119125
]
120-
}
126+
}

views/website/libraries/10-Groovy.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@
2424
"rs512": false,
2525
"es256": false,
2626
"es384": false,
27-
"es512": false
27+
"es512": false,
28+
"ps256": false,
29+
"ps384": false,
30+
"ps512": false
2831
},
2932
"authorUrl": "https://github.com/kaleidos",
3033
"authorName": "Kaleidos",
3134
"gitHubRepoPath": "kaleidos/grails-security-stateless",
3235
"repoUrl": "https://github.com/kaleidos/grails-security-stateless",
33-
"installCommandHtml": "compile \"org.grails.plugins:security-stateless:0.0.9\""
36+
"installCommandHtml":
37+
"compile \"org.grails.plugins:security-stateless:0.0.9\""
3438
}
3539
]
36-
}
40+
}

views/website/libraries/11-Haskell.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"rs512": false,
2525
"es256": false,
2626
"es384": false,
27-
"es512": false
27+
"es512": false,
28+
"ps256": false,
29+
"ps384": false,
30+
"ps512": false
2831
},
2932
"authorUrl": "https://bitbucket.org/ssaasen",
3033
"authorName": "Stefan Saasen",
@@ -52,7 +55,10 @@
5255
"rs512": true,
5356
"es256": true,
5457
"es384": true,
55-
"es512": true
58+
"es512": true,
59+
"ps256": true,
60+
"ps384": true,
61+
"ps512": true
5662
},
5763
"authorUrl": "https://github.com/frasertweedale",
5864
"authorName": "Fraser Tweedale",
@@ -61,4 +67,4 @@
6167
"installCommandHtml": "cabal install jose"
6268
}
6369
]
64-
}
70+
}

views/website/libraries/12-Haxe.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"rs512": false,
2525
"es256": false,
2626
"es384": false,
27-
"es512": false
27+
"es512": false,
28+
"ps256": false,
29+
"ps384": false,
30+
"ps512": false
2831
},
2932
"authorUrl": "https://github.com/kevinresol",
3033
"authorName": "Kevin Leung",
@@ -33,4 +36,4 @@
3336
"installCommandHtml": "haxelib install jsonwebtoken"
3437
}
3538
]
36-
}
39+
}

views/website/libraries/13-Rust.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"rs512": true,
2525
"es256": true,
2626
"es384": true,
27-
"es512": true
27+
"es512": true,
28+
"ps256": false,
29+
"ps384": false,
30+
"ps512": false
2831
},
2932
"authorUrl": "https://github.com/GildedHonour",
3033
"authorName": "GildedHonour",
@@ -52,7 +55,10 @@
5255
"rs512": true,
5356
"es256": false,
5457
"es384": false,
55-
"es512": false
58+
"es512": false,
59+
"ps256": false,
60+
"ps384": false,
61+
"ps512": false
5662
},
5763
"authorUrl": "https://github.com/Keats",
5864
"authorName": "Keats",
@@ -80,7 +86,10 @@
8086
"rs512": true,
8187
"es256": false,
8288
"es384": false,
83-
"es512": false
89+
"es512": false,
90+
"ps256": true,
91+
"ps384": true,
92+
"ps512": true
8493
},
8594
"authorUrl": "https://github.com/lawliet89",
8695
"authorName": "Yong Wen Chua",

views/website/libraries/14-Lua.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@
2424
"rs512": false,
2525
"es256": false,
2626
"es384": false,
27-
"es512": false
27+
"es512": false,
28+
"ps256": false,
29+
"ps384": false,
30+
"ps512": false
2831
},
2932
"authorUrl": "https://github.com/SkyLothar",
3033
"authorName": "SkyLothar",
3134
"gitHubRepoPath": "SkyLothar/lua-resty-jwt",
3235
"repoUrl": "https://github.com/SkyLothar/lua-resty-jwt",
33-
"installCommandHtml": "git clone https://github.com/SkyLothar/lua-resty-jwt.git"
36+
"installCommandHtml":
37+
"git clone https://github.com/SkyLothar/lua-resty-jwt.git"
3438
}
3539
]
36-
}
40+
}

0 commit comments

Comments
 (0)