updated readme
This commit is contained in:
1 parent
09d0f237d5
commit
8d26f70c3a
1 file changed
+18
-24
@@ -1,48 +1,42 @@
|
|||||||
|
|
||||||
# ecrypto
|
# Filou
|
||||||
|
> cryptogra **phy** | **loo** phole
|
||||||
|
|
||||||
|
|
||||||
ecrypto is in devlopment. It is not yet a super hyper cool program but
|
Filou is in devlopment. It is not yet a super hyper cool program but
|
||||||
we are going there.
|
we are going there.
|
||||||
|
|
||||||
### name
|
## the name
|
||||||
|
|
||||||
*ecrypto* really sucks. Let's find a better name.
|
|
||||||
|
|
||||||
* *ecrypto* (easy-crypto)
|
|
||||||
* *nfc* (npm for cryptography)
|
|
||||||
* *monsieur gustave* one needs to watch the Grand Budapest Hotel
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*Filou* was my brother nickname. He died the 9th octobre 2014. This program is
|
||||||
|
dedicated to his memory.
|
||||||
|
|
||||||
## Use case
|
## Use case
|
||||||
|
|
||||||
ecrypto is the *npm* for cryptography. It revolutionizes the way the people
|
Filou is the *npm* for cryptography. It revolutionizes the way the people
|
||||||
use cryptography on a everyday use. The general design is to do what programs
|
use cryptography on a everyday use. The general design is to do what programs
|
||||||
like *npm* did for dependencies management but for cryptography.
|
like *npm* did for dependencies management but for cryptography.
|
||||||
|
|
||||||
ecrypto user interface is a command line user interface (*CLI*) and its source
|
Filou user interface is a command line user interface (*CLI*) and its source
|
||||||
code. For us, the readability of the source code is as important as the
|
code. For us, the readability of the source code is as important as the
|
||||||
functionality of the software.
|
functionality of the software.
|
||||||
|
|
||||||
### using ecrypto
|
### using filou
|
||||||
|
|
||||||
#### creating keys
|
#### creating keys
|
||||||
|
|
||||||
The first thing you want to do when using ecrypto is to create your personal
|
The first thing you want to do when using filou is to create your personal
|
||||||
private-public key pair. your keys will be kept in
|
private-public key pair. your keys will be kept in
|
||||||
your `~/.ecrypto` directory.
|
your `~/.filou` directory.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
ecrypto createkey
|
filou createkey
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Then, you might want to publish your public key to the public repository
|
Then, you might want to publish your public key to the public repository
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
ecrypto publish -email alice@lechef.com
|
filou publish -email alice@lechef.com
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
#### encrypting file
|
#### encrypting file
|
||||||
@@ -53,18 +47,18 @@ things
|
|||||||
1. if *bob@lechef.com*'s public key is on the public repository, you can
|
1. if *bob@lechef.com*'s public key is on the public repository, you can
|
||||||
simply use
|
simply use
|
||||||
~~~
|
~~~
|
||||||
ecrypto encrypt -to bob@lechef.com -file mysecretdocument.doc -out mycypherdoc.cyp
|
filou encrypt -to bob@lechef.com -file mysecretdocument.doc -out mycypherdoc.cyp
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
2. if *bob@lechef.com*'s public key is on your local file path you can use
|
2. if *bob@lechef.com*'s public key is on your local file path you can use
|
||||||
~~~
|
~~~
|
||||||
ecrypto encrypt -to /path/to/bob@lechef.com -file mysecretdocument.doc -out mycypherdoc.cyp
|
filou encrypt -to /path/to/bob@lechef.com -file mysecretdocument.doc -out mycypherdoc.cyp
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
3. if *bob@lechef.com*'s public key is on accessible on a public url you can
|
3. if *bob@lechef.com*'s public key is on accessible on a public url you can
|
||||||
use
|
use
|
||||||
~~~
|
~~~
|
||||||
ecrypto encrypt -to https://example.com/path/to/bob@lechef.com -file mysecretdocument.doc -out mycypherdoc.cyp
|
filou encrypt -to https://example.com/path/to/bob@lechef.com -file mysecretdocument.doc -out mycypherdoc.cyp
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
In anycase, the command line output will be a cypher file called
|
In anycase, the command line output will be a cypher file called
|
||||||
@@ -77,11 +71,11 @@ Once you received a file `encrypted_file.cyp`, you can decrypt it via the
|
|||||||
following command.
|
following command.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
ecrypt decrypt encrypted_file.cyp
|
filou decrypt encrypted_file.cyp
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
#### so you want to hack ecrypto
|
#### so you want to hack filou
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user