aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuuta Liang <yuutaw@student.cs.ubc.ca>2023-10-25 03:51:43 +0800
committerYuuta Liang <yuutaw@student.cs.ubc.ca>2023-10-25 03:51:43 +0800
commit9fe293e442ad5f6c5b4fc758826daf38d1c237e3 (patch)
tree2d87291e03c5673d651d9caa6512b51fa803704e
parentd7ff9d5e217873609d79efe279f2634e3a3dd8b4 (diff)
downloadjca-9fe293e442ad5f6c5b4fc758826daf38d1c237e3.tar
jca-9fe293e442ad5f6c5b4fc758826daf38d1c237e3.tar.gz
jca-9fe293e442ad5f6c5b4fc758826daf38d1c237e3.tar.bz2
jca-9fe293e442ad5f6c5b4fc758826daf38d1c237e3.zip
Add user stories for persistence
Signed-off-by: Yuuta Liang <yuutaw@student.cs.ubc.ca>
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index ce16c92..9b4f359 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,12 @@ As a user, I want to be able to:
template they use after CSR input.
6. View audit logs like who did what at what time for legal audit uses. Audit
log entries must never be deleted.
+7. Choose to save the whole CA database into a JSON file. That is, save the
+ private key, CA certificate, issued / revoked certificates, templates, and
+ logs into a JSON file. Signing certs and CRLs and revoking certs will
+ automatically save the database for audit purposes.
+8. Load the CA database from JSON and restore the private key, CA cert, cert
+ list, templates, and logs.
For example, the user can add arbitrary number of `Cert`'s into a `CA`
container, upon each successful sign.