You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that i include the rbw library in my app, so is is not really an issue for the CLI, i hope it is okay to raise an issue under these circumstances.
I recently created a custom field with a long cipher (a PGP Private key), which breaks the library with the following message: thread 'main' panicked at /home/roman/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rbw-1.10.2/src/locked.rs:41:19: ArrayVec: capacity exceeded in extend/from_iter note: run withRUST_BACKTRACE=1environment variable to display a backtrace
The respective line which crashes is:
I am on the latest (1.10.2) version.
My Browser extension and the Linux desktop client can decrypt it.
The rbw CLI can also decrypt it if i use rbw get <ENTRYNAME> --raw
The cipher length is 18888. Not sure this is correct though.
The text was updated successfully, but these errors were encountered:
yeah, currently encrypted fields are limited to 4kb, because we go through a lot of effort to make sure that decrypted data isn't copied, or persisted in memory after it's freed, or swapped to disk, or things like that, and it's a lot harder to enforce those kinds of properties with dynamically sized chunks of memory. i'd be open to revisiting how this works, but it would probably be a pretty finicky change unfortunately/:
Note that i include the rbw library in my app, so is is not really an issue for the CLI, i hope it is okay to raise an issue under these circumstances.
I recently created a custom field with a long cipher (a PGP Private key), which breaks the library with the following message:
thread 'main' panicked at /home/roman/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rbw-1.10.2/src/locked.rs:41:19: ArrayVec: capacity exceeded in extend/from_iter note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
The respective line which crashes is:
rbw/src/locked.rs
Line 41 in f0b7969
I am on the latest (1.10.2) version.
My Browser extension and the Linux desktop client can decrypt it.
The rbw CLI can also decrypt it if i use
rbw get <ENTRYNAME> --raw
The cipher length is 18888. Not sure this is correct though.
The text was updated successfully, but these errors were encountered: