Skip to content

streamable (and resumable) s/mime encryption (plus signature) #326

@ralfhauser

Description

@ralfhauser
  1. Create a S/MIME implementation that reads the input mime stream only once and writes the result to an output stream.
    (no temp files, just reading from the input stream and writing to the output stream)

  2. Make it resumable, i.e. it can be stopped, it keeps the (serializeable) state (symmetric session key, nonces/salts, ...) - later it can restart at any offset and the pieces of the output stream when combined (and no gaps) make a valid smime encrypted message
    (just for reference: your sha256 appears to fulfil 1 and 2)

  3. the same for s/mime signatures

  4. what would it cost if the bouncycastle core team were to implement this (say 1 + 2)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions