mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-03-25 03:52:15 +08:00
8 lines
195 B
JavaScript
8 lines
195 B
JavaScript
const sign = () => Buffer.from('')
|
|
const verify = (key, payload, signature) => !signature.length
|
|
|
|
module.exports = (JWA, JWK) => {
|
|
JWA.sign.set('none', sign)
|
|
JWA.verify.set('none', verify)
|
|
}
|