aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@localhost>2013-01-03 16:31:03 +0100
committerroot <root@localhost>2013-01-03 16:31:03 +0100
commit007bfb29de17f4cf03bcfd1341c576bb2d8283c3 (patch)
treefa0df203ac6031608abb51b3d4d660e3a56a2a9d
parentaeb3135bcb86b4aaeb4cc83f5e10fdc70949f256 (diff)
downloadgit-remote-gcrypt-007bfb29de17f4cf03bcfd1341c576bb2d8283c3.zip
git-remote-gcrypt-007bfb29de17f4cf03bcfd1341c576bb2d8283c3.tar.gz
git-remote-gcrypt-007bfb29de17f4cf03bcfd1341c576bb2d8283c3.tar.bz2
Fix markup of Repository Format section
-rw-r--r--README.rst41
1 files changed, 16 insertions, 25 deletions
diff --git a/README.rst b/README.rst
index 60f2063..2fbff23 100644
--- a/README.rst
+++ b/README.rst
@@ -120,37 +120,28 @@ Remote ID
Repository Format
.................
-``EncSign(X)``
- Sign and Encrypt to GPG key holder
-``Encrypt(K,X)``
- Encrypt using symmetric-key algorithm
-``Hash(X)``
- SHA-2/256
-
-``B``
- branch list
-``L``
- list of the hash (``Hi``) and key (``Ki``) for each packfile
-``R``
- Remote ID
-
+| `EncSign(X):` Sign and Encrypt to GPG key holder
+| `Encrypt(K,X):` Encrypt using symmetric-key algorithm
+| `Hash(X):` SHA-2/256
+|
+| `B:` branch list
+| `L:` list of the hash (`Hi`) and key (`Ki`) for each packfile
+| `R:` Remote ID
|
| To write the repository:
|
-| Store each packfile ``P`` as ``Encrypt(Ki, P) -> P'`` in filename ``Hi``
-| where ``Ki`` is a new random string and ``Hash(P') -> Hi``
-| Store ``EncSign(B || L || R)`` in the manifest
+| Store each packfile `P` as `Encrypt(Ki, P)` → `P'` in filename `Hi`
+| where `Ki` is a new random string and `Hash(P')` → `Hi`
+| Store `EncSign(B || L || R)` in the manifest
|
| To read the repository:
|
-| Decrypt and verify manifest using GPG keyring ``-> (B, L, R)``
-| Warn if ``R`` does not match previously seen Remote ID
-| for each ``Hi, Ki in L``:
-| Get file ``Hi`` from the server ``-> P'``
-| Verify ``Hash(P')`` matches ``Hi``
-| Decrypt ``P'`` using ``Ki`` -> ``P`` then open ``P`` with git
-|
-| Only packs mentioned in ``L`` are downloaded.
+| Get manifest, decrypt and verify using GPG keyring → `(B, L, R)`
+| Warn if `R` does not match previously seen Remote ID
+| for each `Hi, Ki` in `L`:
+| Get file `Hi` from the server → `P'`
+| Verify `Hash(P')` matches `Hi`
+| Decrypt `P'` using `Ki` → `P` then open `P` with git
Manifest file
.............