-
-
Notifications
You must be signed in to change notification settings - Fork 5
Improve the documentation #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
jlenon7
wants to merge
2
commits into
nodejs:main
Choose a base branch
from
jlenon7:improve-readme
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+19
−7
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,30 @@ The name comes from Marie Jean Antoine Nicolas de Caritat, Marquis of Condorcet, | |
French philosopher and mathematician, notably known for championing an election | ||
method that now named after him. | ||
|
||
The goal of this project is to allow organisations of people working remotely to | ||
cast votes is a secure and transparent way, using a git repository to collect and | ||
The goal of this project is to allow organizations of people working remotely to | ||
cast votes in a secure and transparent way, using a git repository to collect and | ||
authenticate votes. | ||
|
||
## Requirements | ||
|
||
To be able to cast a vote or create a ballot you will | ||
need the following tools: | ||
|
||
- [Node.js v16+](https://nodejs.org) | ||
- [git](https://git-scm.com) | ||
|
||
If you want to cast a vote with GitHub verified signature | ||
you will also need to install [PGP](https://www.openpgp.org/). | ||
Later in the documentation we will check how to install PGP depending | ||
on your device and how to setup your key, so if you are not familiar | ||
with it we recommend skipping it for now. | ||
|
||
## Usage | ||
|
||
### Participate to a vote using Caritat | ||
|
||
#### Node.js CLI | ||
|
||
Requires [Node.js](https://nodejs.org) 16+ and [git](https://git-scm.com). | ||
|
||
If the vote is setup on a GitHub pull request and you have | ||
[`gh`](https://cli.github.com) locally installed and logged in to your GitHub | ||
account: | ||
|
@@ -105,7 +117,7 @@ documentation on how to use the API. | |
- not basing their vote in function of what other has voted (having the | ||
instigator always vote first helps alleviate this issue). | ||
- As a Voter, you need to trust the panel of Secret Holders for: | ||
- not reconstitue the Vote Private Key before the vote closes. | ||
- not reconstitute the Vote Private Key before the vote closes. | ||
- not leaking the Vote Private Key before the vote closes (if they have | ||
reconstructed it, which they should not do). | ||
- not basing their vote in function of what other has voted (if they have | ||
|
@@ -170,7 +182,7 @@ The two other files can be used to vote without parsing the YAML file. | |
Encrypting the ballot is necessary to ensure people voting early do not | ||
interfere or influence folks voting after them. At the end of the vote, the | ||
the Vote Private Key can be made public, so anyone can decrypt the ballots and verify | ||
the result themself. Or it can decided that the Vote Private Key won't be shared in | ||
the result themselves. Or it can decided that the Vote Private Key won't be shared in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is correct, "anyone" would represent a single person, with a single self |
||
order to keep the votes anonymous, and a large enough panel of Secret Holders | ||
(depending on the vote settings) need to share their key parts, decrypt the | ||
ballots, and share the vote result without disclosing the content of the ballots. | ||
|
@@ -199,5 +211,5 @@ you have a quantum computer at home to break the RSA encryption). | |
|
||
The license makes no restrictions on how this tool should be used, but keep in | ||
mind that, as any electronic voting system, it can only be trusted as long as | ||
the unanonymized vote ballots are made public as soon as the vote closes, which | ||
the un-anonymized vote ballots are made public as soon as the vote closes, which | ||
may or may not be OK depending on the type of election you are using this for. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PGP is a protocol, you can't install it – like you can't "install HTTP", that wouldn't mean anything. They would need a PGP-client, a
gpg
is what Caritat will expect.