diff --git a/src/gd_v_express.erl b/src/gd_v_express.erl index 349b5ac..9c66a16 100644 --- a/src/gd_v_express.erl +++ b/src/gd_v_express.erl @@ -80,29 +80,33 @@ start_link(Args) -> % Sending... % % 0. Sender opens GajuExpress interface -% 1. GajuDesk asks GajuExpress for a price quote -% 2. GajuExpress responds with a price quote: pucks per byte per height -% 3. The user inputs the public key/ID of the party the data should be sent to -% 4. The user picks the file or directory to send -% 5. The user decides whether to sign the package or be anonymous -% 6. The user picks which key to sign with if not anonymous -% 7. The price is shown -% 8. The user agrees or aborts -% 9. If the user agrees, a payment window opens and they send a payment to GajuExpress -% 10. Once GajuExpress verifies the payment, the upload begins +% 1. The user inputs the public key/ID of the party the data should be sent to +% 2. The user picks the file or directory to send +% 3. The user decides whether to sign the package or be anonymous +% 4. The user picks which key to send (and sign with if signing) +% 5. The user sets the package's TTL +% 6. GajuDesk packs up and compresses the bundle. +% 7. GajuDesk asks GajuExpress for a quote based on size/time +% 8. The price is shown +% 9. The user agrees or aborts +% 10. If the user agrees, a payment window opens and they send a payment to GajuExpress +% 11. GajuDesk polls until the payment is included or the user gives up +% 12. Once GajuExpress verifies the payment, the upload begins +% 13. Progress bar % % % Receiving... % -% 1. Sender opens GajuExpress interface -% 2. GajuDesk asks GajuExpress whether there are any packages waiting for KeyList -% 3. If yes, then the pending deliveries are shown in the delivery panel -% 4. The user selects + clicks open (or double clicks) a package -% 5. User selects where to unpack it in a file dialog -% 6. GajuDesk downloads the package from GajuExpress -% 7. Progress bar -% 8. File is decrypted and optionally signature verified -% 9. GajuExpress deletes their copy of the file +% 1. Sender opens GajuExpress interface +% 2. GajuExpress issues an ID signature challenge +% 3. GajuDesk asks GajuExpress whether there are any packages waiting for Key +% 4. If yes, then the pending deliveries are shown in the delivery panel +% 5. The user selects + clicks open (or double clicks) a package +% 6. User selects where to unpack it in a file dialog +% 7. GajuDesk downloads the package from GajuExpress +% 8. Progress bar +% 9. File is decrypted and optionally signature verified +% 10. GajuExpress deletes their copy of the file init({Prefs, Manifest}) -> Lang = maps:get(lang, Prefs, en),