so many things
This commit is contained in:
1 parent
e8e1d66c1e
commit
112b062571
4 files changed
+70
-287
No files matched your search
+59
-5
@@ -2,15 +2,11 @@
|
||||
### public key
|
||||
Note that any private key are a public key.
|
||||
|
||||
~~~
|
||||
|
||||
~~~
|
||||
|
||||
### private key
|
||||
|
||||
|
||||
|
||||
|
||||
### cypher format
|
||||
|
||||
We use the `.cyp` file extension for the encrypted file. A .cyp is nothing
|
||||
@@ -22,4 +18,62 @@ else than a zip file containing the following shit.
|
||||
* mode
|
||||
* encrypted symetric key
|
||||
* hash of the encrypted data (always use full for validation)
|
||||
3. a 'signature' file with the signature of the `meta_data.yml` file
|
||||
3. a 'signature' file with the signature of the `meta_data.yml` filefunc (this *RsaSha512) encrypt() ([]byte, error) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
~~~
|
||||
|
||||
_____________________________________________________________________
|
||||
|
|
||||
| Envelop: zip file, no compression, no encryption
|
||||
| _________________________________________________________________
|
||||
| |
|
||||
| | Paiload key: cyphered by target pulic key
|
||||
| |______________________________________________________________
|
||||
|
|
||||
| _____________________________________________________________________
|
||||
| |
|
||||
| | Envelop meta data: encryption type, mode, Paiload signature (yaml)
|
||||
| |________________________________________________________________________
|
||||
|
|
||||
| ________________________________________________________________________
|
||||
| |
|
||||
| | Paiload: Zip file, no compression, symetrcally encrypted
|
||||
| | _________________________________________________________________
|
||||
| | |
|
||||
| | | paiload intern metadata: Data signature, sender, message,...
|
||||
| | |_________________________________________________________________
|
||||
| |
|
||||
| | _________________________________________________________________
|
||||
| | |
|
||||
| | | Data: Zip file, high compression
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
| | |____________________________________________________________________
|
||||
| |
|
||||
| |_________________________________________________________________________
|
||||
|
|
||||
|______________________________________________________________________________
|
||||
|
||||
~~~
|
||||
Reference in new issue
Block a user