1hub / springburg

OpenPGP for .NET
MIT License
4 stars 0 forks source link

API: Resolve disposability of message generators/readers #10

Open filipnavara opened 3 years ago

filipnavara commented 3 years ago

The model is not unified at the moment. It would be nice to have flowable API for message generation without having to dispose each generator.

On the reader side there is a problem with leaving streams open or not read to an end which causes issues for methods like PgpSignedMessage.Verify. This should also have an unified model, possibly reading any data that were unread to the point.