cynecx
cynecx
I've implemented an even more hacky "Option B" from above here: https://github.com/cynecx/rust-analyzer/commit/cc7ba822ae6062f463acb4cd954ddb97e9e043a0. **Fair warning**: It is far from being upstreamable or PR worthy, but works if you really need it.
Oh, I see. Yes, completions do work. Is there an already opened issue for that? (So I might close this one.)
@edwin0cheng ~~I am currently on [master](https://github.com/rust-analyzer/rust-analyzer/tree/3431312418ea255e98d3f94536344d396b9b07d6). And it seems that it's broken (In terms of it doesn't even find/resolve items). I am not quite sure when it broke though. I...
Ping? I guess this will provide an api which allows encrypting/decrypting "chunk-wise" data? (The current aead api doesn't support this.)
@tarcieri Ehrm, perhaps my comment is more or less ambiguous. I simply seek a way to do aead with *known-sized* data, however the environment is resource-constrained (limited ram), so I...
@tarcieri Sorry I don’t quite understand. How does encrypting in chunks affect safety? Let’s say I want to encrypt 100 bytes. I could simply use the current api as it...
> The security issue is around streaming decryption and exposing unauthenticated plaintexts before the MAC tag has been checked. An authentication-only api could help here, so the user can authenticate...
@tarcieri Yeah, I agree. However, how about we could drop in-place decryption then? I've settled for sodiumoxide's `secretstream` for now which supports specifying an output buffer and also supports encrypting...
@markuskobler I am not sure about the state of this repository but the actual crates.io crate (async-task) lives over here: https://github.com/stjepang/async-task.
https://github.com/stjepang/async-task