cloudflare / cloudflare/cfssl

One-time auth key

Open
#1,186 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to create a one-time auth key? That is, so that each client who wants to subscribe to the CFSSL server has its own unique password for authentication, which would be invalidated after receiving the certificate (in case of a password leak, so that another unwanted client could not request a certificate using this password).

As I understand it, I can create several signing profiles (each has its own password) for the estimated number of clients, but how can I make them one-time use? So that after signing their client they cannot sign anyone else.
```
{
"auth_keys" : {
"client1" : {
"key" : "file:base1.key"
},
"client2" : {
"key" : "file:base2.key"
},
................
},
"signing" : {
"profiles" : {
"client1" : {
"auth_key": "client1",
"usages" : [.........]
},
"client2" : {
"auth_key": "client2",
"usages" : [........]
},
......................................

}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.