encryption completed.
Keys generated using curve25519-dalek, cipher using chacha20poly1305, as used by WireGuard.
and this is me sshing to a VM via my diy VPN.
there's a chance the offending code looks like this (if the truncation story is right). notice the indentation
plus python puts every variable in "function scope" so `value` will be the last byte at the end of the loop
if it's actually this, LMAO