Skip to content

wot status: Display precise expiration date of received certifications

wot status command is using wot/lookup to get the received certifications and uids. By crossing them with wot/requirements result, which provides expiresIn field, we could display precise expiration date of received certifications.

Currently received and sent certifications expiration are computed based on their issuance date + 2y × 5min /block.

Before:

│───────────────────│──────────────────│────────────────│──────────────────│
│  received_expire  │     received     │      sent      │   sent_expire    │
│═══════════════════│══════════════════│════════════════│══════════════════│
│  December 3, 2024 │     Matograine ✔ │            vit │  October 1, 2024 │
│  October 11, 2025 │ HugoTrentesaux ✔ │          Zheny │ October 26, 2025 │
│ December 19, 2025 │ BenoitLavenier ✔ │ HugoTrentesaux │  August 17, 2026 │
│ December 21, 2025 │        nicoleC ✔ │     Matograine │  August 17, 2026 │
│      July 9, 2026 │            vit ✔ │                │                  │
│   August 20, 2026 │        tuxmain ✔ │                │                  │
│   August 20, 2026 │            kapis │                │                  │
│───────────────────│──────────────────│────────────────│──────────────────│

After which looks like Cesium:

│───────────────────│──────────────────│────────────────│──────────────────│
│  received_expire  │     received     │      sent      │   sent_expire    │
│═══════════════════│══════════════════│════════════════│══════════════════│
│ February 21, 2025 │     Matograine ✔ │            vit │  October 1, 2024 │
│   January 8, 2026 │ HugoTrentesaux ✔ │          Zheny │ October 26, 2025 │
│    March 21, 2026 │ BenoitLavenier ✔ │ HugoTrentesaux │  August 17, 2026 │
│    March 23, 2026 │        nicoleC ✔ │     Matograine │  August 17, 2026 │
│  October 16, 2026 │            vit ✔ │                │                  │
│ November 28, 2026 │        tuxmain ✔ │                │                  │
│  January 28, 2025 │            kapis │                │                  │
│───────────────────│──────────────────│────────────────│──────────────────│

Not doing it for sent certifications, which requires to do a request per-certifications, which is too much for identities with close to 100 certifications.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information