No error if no recipients are given

Issue #2 resolved
Anonymous created an issue


not sure if this is the expected behaviour but if you make a: data_en = gpg.encrypt(data, []) str(data_en) is an empty string.

In my eyes, this is unexpected behaviour and should instead raise an exception instead to prevent some very nasty bugs. If this is supposwed to work like this, please add a comment to the documentation.

Comments (2)

  1. Log in to comment