Add attachemt signature support
Fix error 15197 for encrypted messages with attachments.
Use additional pipe in crypto.symmetricallyEncrypt to pass signature from the encryption code to the attachment structure as a buffer.
Fixes #31
P.S. I'm not Go developer, so this PR may contain some dirty code. I'm not happy with some solutions myself, especially with signature as buffer, but if I straight away use the same approach as with ContentID or other string fields, Protonmail can't accept this signature and returns Signature: null in POST response.
are there plans to merge this PR?
Thanks for your wonderful work! I'm very looking forward to seeing this PR merged! 👍
sounds good to me with the last fix from @dvalter , what do you think @emersion ?
@emersion Is there any plan to get this merged?
G'day, lads! Cheers for your hard work, it is sincerely appreciated! How far along is this PR? :)