Comments (2)
Revision:
Revoke
A Coze key may be revoked by signing a coze containing the field rvk
with an
integer value greater than 0
. For example, the integer value 1
is suitable
to denote revocation. The current Unix timestamp is the suggested value for
rvk
.
Example Self Revoke
{
"pay": {
"alg": "ES256",
"iat": 1623132000,
"msg": "Posted my private key online",
"rvk": 1623132000,
"tmb": "cLj8vsYtMBwYkzoFVZHBZo6SNL8wSdCIjCKAwXNuhOk",
"typ": "cyphr.me/key/revoke"
},
"sig": "KVjPjMVHoL828WyAH5biqIOt-IOaQ5EBtN_7eQifP2w3agUHu6KfqO40_oqQ5GE_BShgXvhbK0O6Z2h5YPNAcw"
}
rvk
- Unix timestamp of key expiry.
Coze explicitly defines a self-revoke method so that third parties may revoke
leaked keys. Systems storing Coze keys should provide an interface permitting a
given Coze key to be marked as expired by receiving a self-revoke message.
Self-revokes with future times must immediately be considered as expired.
rvk
and iat
must be a positive integer less than 2^53 – 1
(9,007,199,254,740,991), which is the integer precision limit specified by
IEEE754 minus one. Revoke checks must error if rvk
is not an integer or larger
than 2^53 - 1.
Key expiration policies, key rotation, backdating, and alternative revocation
methods are outside the scope of Coze.
from coze.
Fixed by 5af99fd
from coze.
Related Issues (20)
- MapItem is unsafe, and MapSlice does not have a well-defined order HOT 53
- JSON round-trip fails for MapSlice HOT 4
- Expunge "cryptographic agility" from Coze vocabulary HOT 2
- Make new repositories for the specification and implementations
- JSON doesn't define "integer" -- int values need to be strings HOT 11
- Use JSONv2 when production ready HOT 2
- Further constraints on Ed25519
- Base64 encoding can only elide padding when the size of encoded data is known HOT 7
- Enforce Canonical Base 64 encoding. HOT 3
- Think about adding "MustMarshal" and "MarshalPretty"
- implement pure python or python wrapper lib HOT 2
- implement kyber (liboqs) ciphers for Coze HOT 3
- Unsigned Alg and Tmb
- Active HOT 5
- Duplicate JSON keys create misleading verification results in the web UI HOT 1
- Issues HOT 2
- 404 in Readme.md HOT 1
- Locally hosted Cyphr.me's verifier.
- Godoc in 1.19 does not appear to link to packages as documented.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coze.