mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 22:49:24 +09:00
httpMessageSignaturesImplementationLevel
This commit is contained in:
parent
f6b7872a02
commit
8579cb222f
@ -94,44 +94,12 @@ export class NodeinfoServerService {
|
|||||||
localComments: 0,
|
localComments: 0,
|
||||||
},
|
},
|
||||||
metadata: {
|
metadata: {
|
||||||
httpMessageSignaturesSupported: [
|
/**
|
||||||
{
|
* 00: Draft, RSA only
|
||||||
version: 'draft-ietf-httpbis-message-signatures-02',
|
* 01: Draft, Ed25519 suported
|
||||||
/**
|
* 11: RFC 9421, Ed25519 supported
|
||||||
* https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-02#name-initial-contents
|
*/
|
||||||
*/
|
httpMessageSignaturesImplementationLevel: 1,
|
||||||
algorithms: [
|
|
||||||
'hs2019',
|
|
||||||
// 'rsa-sha1', [Deprecated]
|
|
||||||
'rsa-sha256',
|
|
||||||
'hmac-sha256',
|
|
||||||
'ecdsa-sha256',
|
|
||||||
],
|
|
||||||
/**
|
|
||||||
* https://datatracker.ietf.org/doc/html/rfc9421#section-6.2
|
|
||||||
*/
|
|
||||||
hs2019: [
|
|
||||||
'ecdsa-p384-sha384',
|
|
||||||
'ed25519',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* rfc9421 algorithms:
|
|
||||||
* https://datatracker.ietf.org/doc/html/rfc9421#section-6.2
|
|
||||||
* Misskeyはnode:crypto.verifyに食わせるだけなので、だいたいなんでもいけるはず
|
|
||||||
*/
|
|
||||||
/*{
|
|
||||||
version: 'rfc9421',
|
|
||||||
algorithms: [
|
|
||||||
'rsa-pss-sha512',
|
|
||||||
'rsa-v1_5-sha256',
|
|
||||||
'hmac-sha256',
|
|
||||||
'ecdsa-p256-sha256',
|
|
||||||
'ecdsa-p384-sha384',
|
|
||||||
'ed25519',
|
|
||||||
],
|
|
||||||
},*/
|
|
||||||
],
|
|
||||||
|
|
||||||
nodeName: meta.name,
|
nodeName: meta.name,
|
||||||
nodeDescription: meta.description,
|
nodeDescription: meta.description,
|
||||||
|
Loading…
Reference in New Issue
Block a user