Skip to content

Commit 295d2bd

Browse files
committed
ES256K support
1 parent 3b46bcd commit 295d2bd

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

views/website/libraries/6-Ruby.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@
8989
"es512": true,
9090
"ps256": true,
9191
"ps384": true,
92-
"ps512": true
92+
"ps512": true,
93+
"eddsa": false,
94+
"es256k": true
9395
},
9496
"authorUrl": "https://github.com/nov",
9597
"authorName": "Nov Matake",

views/website/libraries/support/get-libs-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function getLibs() {
5050
orderedKeys = ['hs256', 'hs384', 'hs512',
5151
'rs256', 'rs384', 'rs512',
5252
'es256', 'es384', 'es512'
53-
'ps256', 'ps384', 'ps512', 'eddsa'];
53+
'ps256', 'ps384', 'ps512', 'eddsa', 'es256k'];
5454

5555
for(let i = 0; i < orderedKeys.length; ++i) {
5656
r.support[orderedKeys[i]] =

views/website/libraries/support/language-schema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ module.exports = {
8686
ps384: { type: 'boolean' },
8787
ps512: { type: 'boolean' },
8888
eddsa: { type: 'boolean' },
89+
es256k: { type: 'boolean' },
8990
}
9091
}
9192
}

views/website/libraries/template.pug

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ article(data-accordion, class=`accordion ${lang.uniqueClass}`)
8484
p
8585
i(class=lib.support.eddsa ? 'icon-budicon-500' : (lib.support.eddsa !== undefined ? 'icon-budicon-501' : 'icon-unknown'))
8686
| EdDSA
87-
87+
p
88+
i(class=lib.support.es256k ? 'icon-budicon-500' : (lib.support.es256k !== undefined ? 'icon-budicon-501' : 'icon-unknown'))
89+
| ES256K
90+
8891
.author-info
8992
.maintainer
9093
if lib.authorUrl

0 commit comments

Comments
 (0)