kfogel / OneTime

An open source encryption program that uses the "one-time pad" method.
http://red-bean.com/onetime
32 stars 14 forks source link

Pad usage validation error when encrypting large files. #3

Closed kfogel closed 11 years ago

kfogel commented 11 years ago

There's a bug in Configuration._consolidate_used_ranges(), or in the logic of its callers, that leads to a bogus pad-range reconsumption error when encrypting large files. Commit 1635e0f9c2c3f8ffc74d17e6cdce03146dee4169 describes it in detail, and adds a (currently failing) regression test.

kfogel commented 11 years ago

Fixed in commit a9775d3.