Skip to content

Commit a0ee516

Browse files
authored
Add readme (#42)
2 parents c92c737 + 23ab268 commit a0ee516

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

example/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Exploitation repository for [O.R.CA](https://github.com/eove/orca)
2+
3+
This repository uses [O.R.CA unstable](https://eove.github.io/orca/unstable) as written in the [flake.nix](./flake.nix) file
4+
5+
The documentation is present in the `docs` folder as markdown files.
6+
7+
You can open it locally in a web browser on your machine by running the following command:
8+
```bash
9+
nix develop --command mdbook build --open
10+
```
11+
12+
> [!Note]
13+
> The nix shell provided in the flake besides this readme automatically makes `mdbook` available to you
14+
15+
That documentation will guide you on how to use this repository and O.R.CA.

example/docs/offline_vault_ceremony.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ The 📢`organiser` should communicate to all 👥`team members` the list of ope
5050

5151
#### Configuring the ceremony
5252

53-
The 📢`organiser` should know which environment will be worked on (`prod`/`preprod`), modify the value of `orca.environment-target` in [orca-config.nix](../../orca-config.nix) accordingly, and notify this environment to all 👥`team members`.
53+
The 📢`organiser` should know which environment will be worked on (`prod`/`preprod`), modify the value of `orca.environment-target` in orca-config.nix accordingly, and notify this environment to all 👥`team members`.
5454

55-
The 📢`organiser` should get the value of the *C<sub>vault</sub>* present in the last report and set the value of `orca.latest_cvault` in [orca-config.nix](../../orca-config.nix) accordingly. If the ceremony is the first one for this environment, then `null` should be set. It is recommended that the 📢`organiser` verifies the validity of the report in the same way the 👥`team members` [will do during the verification phase](#verification-of-the-last-ceremonys-report).
55+
The 📢`organiser` should get the value of the *C<sub>vault</sub>* present in the last report and set the value of `orca.latest_cvault` in orca-config.nix accordingly. If the ceremony is the first one for this environment, then `null` should be set. It is recommended that the 📢`organiser` verifies the validity of the report in the same way the 👥`team members` [will do during the verification phase](#verification-of-the-last-ceremonys-report).
5656

57-
The 📢`organiser` should know what will be done during the ceremony and set the values of `orca.actions_in_order` and `orca.rotate_keys` in [orca-config.nix](../../orca-config.nix) accordingly.
57+
The 📢`organiser` should know what will be done during the ceremony and set the values of `orca.actions_in_order` and `orca.rotate_keys` in orca-config.nix accordingly.
5858

5959
#### Updating the version of the offline vault
6060

6161
The software we are using to run the *ephemeral vault* should not be obsolete (to allow for smooth migration of data, and avoid any unpatched security weakness).
6262

63-
Check if there is any new stable release that is more recent than what is specified in the exploitation repository's [flake.nix](../../../flake.nix)'s `inputs.nixpkgs.url` and `inputs.orca.url` . If so, we should upgrade to the lastest stable release.
63+
Check if there is any new stable release that is more recent than what is specified in the exploitation repository's flake.nix's `inputs.nixpkgs.url` and `inputs.orca.url` . If so, we should upgrade to the lastest stable release.
6464

6565
Otherwise update the `flake.lock` to the most up-to-date packages by running:
6666
```bash

example/docs/periodical_checks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Where:
8787
* `[email protected]` is the email address of the owner of this hardware token
8888
* `serial` is the serial number of the hardware token (as displayed, for example using `gpg --card-status`)
8989

90-
Once all relevant GPG keys have been renewed and their public key commited to the repository, a key rotation should be run in a ceremony for the offline vault. This is done by setting `rotate_keys` to `true` in [the orca config file](../../orca-config.nix).
90+
Once all relevant GPG keys have been renewed and their public key commited to the repository, a key rotation should be run in a ceremony for the offline vault. This is done by setting `rotate_keys` to `true` in the orca-config.nix file.
9191

9292
An unseal share rotation should be run also on the online vault.
9393

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
done
9595
sed -i s@github:eove/orca@github:eove/orca/$VERSION@g example/flake.nix
9696
sed -i s@github:eove/orca@github:eove/orca/$VERSION@g docs/README.md
97+
sed -i "[email protected] [email protected] ''${VERSION}@g" example/README.md
9798
'';
9899
html-to-pdf = pkgs.writeShellScriptBin "html-to-pdf" ''
99100
if [ "$#" -lt 2 ]; then

0 commit comments

Comments
 (0)