<span id="mailbox-conversation">Apologies, I misspoke<span style="-webkit-tap-highlight-color: transparent;">; Pond does do exponential padding for attachments. (And for people unfamiliar with the Pond codebase, the relevant function is </span>saveEncryptedy in <span style="-webkit-tap-highlight-color: transparent;">"pond/client/background".)  </span><div><br></div>
<div>(I tend to think 16KiB for messages is a little too small; but this is easily changeable in a custom Pond deployment.)<br><div><div><div>
<div><br></div>
<div>I'm less clear on whether the way Pond counts box overhead towards block size is the right way to handle it (if overhead ever changes).</div>
<div><br></div>
<div>dlg</div>
</div></div></div>
</div></span><div class="mailbox_signature">—<br>Sent using alpine: an Alternatively Licensed Program for Internet News and Email</div>
<br><br><div class="gmail_quote"><p>On Sun, Jun 8, 2014 at 3:22 PM, Adam Langley <span dir="ltr"><<a href="mailto:agl@imperialviolet.org" target="_blank">agl@imperialviolet.org</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>On Sat, Jun 7, 2014 at 10:12 PM, David Leon Gil <coruus@gmail.com> wrote:
<br>> Q1. Does any publicly available messaging cryptosystem use exponential
<br>> padding?
<br><br>Pond pads to max(p) for some reasonable value of human typed message
<br>(~15KB). However, attachments don't follow that distribution and are
<br>padded up to the nearest power of two.
<br><br>(You already knew that - just pointing it out for others.)
<br><br><br>Cheers
<br><br>AGL
<br><br>-- 
<br>Adam Langley agl@imperialviolet.org https://www.imperialviolet.org
<br></p></blockquote></div><br>