News for hackers. Stuff that matters.
Re:PurritoBin: Ultra fast, minimalistic, encrypted command l... by gruez on Sunday July 05, 2020 @07:48PM (#23743234)
>which means you need to buffer the whole ciphertext in memory, defeating the streaming functionality of the service

Can't you generate an IV, write it out to the stream, then encrypt/write the ciphertext?

Re:PurritoBin: Ultra fast, minimalistic, encrypted command l... by rakoo on Monday July 06, 2020 @09:03AM (#23747413)
You could indeed, I didn't think of that. But it starts to beheavier and heavier, and the risk of making subtle mistakes increases. That's why it's better to use tools that do it properly, like age (https://github.com/FiloSottile/age)
Re:PurritoBin: Ultra fast, minimalistic, encrypted command l... by LeoPanthera on Sunday July 05, 2020 @07:57PM (#23743306)
You can specify an IV with -iv. If you don't, the IV is derived from the password.