Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-part/lazy signatures #3

Open
kirelagin opened this issue Jun 12, 2020 · 5 comments
Open

Multi-part/lazy signatures #3

kirelagin opened this issue Jun 12, 2020 · 5 comments
Labels
crypto-sodium package: crypto-sodium

Comments

@kirelagin
Copy link
Contributor

https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures#example-multi-part-message

  • Lazy ByteString?
  • ListT?
@kirelagin kirelagin added the crypto-sodium package: crypto-sodium label Jun 12, 2020
@kirelagin
Copy link
Contributor Author

Probably, do #10 first.

@kirelagin
Copy link
Contributor Author

See Crypto.Mac.Lazy, Crypto.Mac.Stream, and crypto-sodium-streamly.

@kirelagin
Copy link
Contributor Author

@kirelagin
Copy link
Contributor Author

I think we should restrict the scope of this issue to multi-part messages as implemented in Libsodium, i.e. we lazily consume a message and produce a signature.

Streaming signed data should be a separate concept, which is not implemented in Libsodium, and we should do something like the Saltpack’s format and/or Sodium’s encrypted stream format.

@kirelagin
Copy link
Contributor Author

Probably won’t happen (see #17 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto-sodium package: crypto-sodium
Projects
None yet
Development

No branches or pull requests

1 participant