Post-quantum readiness of the certificate inventory
curl --request GET \
--url https://app.trustivan.com/api/v1/certificates/pqc \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/certificates/pqc"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/certificates/pqc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/certificates/pqc"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"version": "pqc-1",
"certificates": 123,
"scored": 123,
"post_quantum": 123,
"mean_score": 50,
"bands": {
"2030": 123,
"2035": 123,
"now": 123,
"renewal": 123,
"unknown": 123
},
"truncated": true
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Post-quantum readiness of the certificate inventory
The certificates GET /certificates lists (at most 1,000), counted by
post-quantum readiness band, with the mean score (formula pqc-1).
Every key TRUSTIVAN can read is classical (RSA, elliptic curve,
Ed25519, DSA), so post_quantum is always 0 and no certificate scores
above 60: the score says how much must be replaced and by when, not
that anything is quantum safe. The bands follow the NIST IR 8547
dates: now (weak today), 2030 (a 112-bit key still valid in 2031),
2035 (any classical key still valid in 2036), renewal (expires
first), unknown (a key TRUSTIVAN cannot read, not scored). Requires
assets:read.
GET
/
certificates
/
pqc
Post-quantum readiness of the certificate inventory
curl --request GET \
--url https://app.trustivan.com/api/v1/certificates/pqc \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/certificates/pqc"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/certificates/pqc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/certificates/pqc"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"version": "pqc-1",
"certificates": 123,
"scored": 123,
"post_quantum": 123,
"mean_score": 50,
"bands": {
"2030": 123,
"2035": 123,
"now": 123,
"renewal": 123,
"unknown": 123
},
"truncated": true
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Response
The roll-up.