squiggle with signature-pad and smoother lines + blossom #258

Merged
enes merged 12 commits from feat/signature-pad into staging 2024-11-26 09:35:44 +00:00
Member

This PR replaces the signature type drawing.
The squiggle now uses signature_pad package and has smoother lines. Due to size implications of more detailed signature the underlying data is encrypted and uploaded to the blossom server.

The updated logic is now following strategy like pattern for the toolbox/mark types with each tool having a Input and Render components with optional fetchAndDecrypt, encryptAndUpload functions.

#242

TODO:

  • - offline support (postponed)
  • -> verify signature

Signature data should also be verified on the verify page (make sure the hash of the file is the hash in the meta.json)

  • -> Double check exporting

When exporting (encrypted or not) we should include the signature data in the files folder in the zipped file (HASH.json)`)

This PR replaces the signature type drawing. The squiggle now uses `signature_pad` package and has smoother lines. Due to size implications of more detailed signature the underlying data is encrypted and uploaded to the blossom server. The updated logic is now following strategy like pattern for the toolbox/mark types with each tool having a `Input` and `Render` components with optional `fetchAndDecrypt`, `encryptAndUpload` functions. https://git.nostrdev.com/sigit/sigit.io/issues/242 TODO: - [x] - offline support (postponed) - [x] -> verify signature >Signature data should also be verified on the verify page (make sure the hash of the file is the hash in the meta.json) - [x] -> Double check exporting >When exporting (encrypted or not) we should include the signature data in the files folder in the zipped file (HASH.json)`)
enes added 10 commits 2024-11-18 17:06:08 +00:00
enes added 1 commit 2024-11-22 12:30:26 +00:00
chore(git): merge branch 'staging' into feat/signature-pad
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 38s
3255e93121
enes added 1 commit 2024-11-22 16:14:14 +00:00
feat(signature): verify hash
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 38s
a371e98e9e
enes changed title from wip: squiggle with signature-pad and smoother lines + blossom to squiggle with signature-pad and smoother lines + blossom 2024-11-22 16:27:06 +00:00
m approved these changes 2024-11-26 09:33:39 +00:00
m left a comment
Owner

I am loving the new Mark Architecture!

I am loving the new `Mark` Architecture!
enes merged commit 760ac176e8 into staging 2024-11-26 09:35:44 +00:00
enes deleted branch feat/signature-pad 2024-11-26 09:35:45 +00:00
Sign in to join this conversation.
No reviewers
m
No Milestone
No project
No Assignees
2 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#258
No description provided.