Properly handle upload and Update the structure of exported files #109

Closed
opened 2024-06-07 19:42:33 +00:00 by s · 0 comments
Owner

FINAL EXPORTED

When all the counterparts have signed the sigit, export the file as FILENAME.sigit.zip and its structure should be like

-> meta.json
-> files

UNFINISHED SIGIT

When exporting sigit (encrypted file) it should be wrapped in a zip file along with keys.json and wrapper zip file structure should be like

-> keys.json
-> filename.sigit

keys.json contains an Array of encrypted decryption keys (encrypted to each counterpart's pubkey)

The length of decryption keys array should be multiple of 10 to hide the number of counterparts.

{"decryptkeys":["pubkey1 encrypted decryption key","pubkey2 encrypted decryption key","padding key"]}

Handle Upload

  • On upload if file is zip file and contains keys.json navigate to sign
  • On upload if file is zip file and contains meta.json navigate to verify
  • if uploaded file is pdf or any other file navigate to create
### FINAL EXPORTED When all the counterparts have signed the sigit, export the file as FILENAME.sigit.zip and its structure should be like -> meta.json -> files ### UNFINISHED SIGIT When exporting sigit (encrypted file) it should be wrapped in a zip file along with keys.json and wrapper zip file structure should be like -> keys.json -> filename.sigit keys.json contains an Array of encrypted decryption keys (encrypted to each counterpart's pubkey) The length of decryption keys array should be multiple of 10 to hide the number of counterparts. `{"decryptkeys":["pubkey1 encrypted decryption key","pubkey2 encrypted decryption key","padding key"]}` ### Handle Upload * On upload if file is zip file and contains keys.json navigate to sign * On upload if file is zip file and contains meta.json navigate to verify * if uploaded file is pdf or any other file navigate to create
s changed title from Properly handle upload to Properly handle upload and Update the structure of exported files 2024-06-10 09:18:43 +00:00
s closed this issue 2024-06-13 10:01:31 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#109
No description provided.