keepass-rs icon indicating copy to clipboard operation
keepass-rs copied to clipboard

Always "Incorrect key specified" on 32bit ARM (armv7)

Open DavidVentura opened this issue 3 years ago • 1 comments

Hi!

I am using this crate for my app and it works great on amd64 and aarch64 but on armv7 (32bit) it gives me KDBX error: Incorrect key specified.

This is for databases with password-only and key+password

Also happens when running kp-dump-xml on armv7:

david@odroidxu4:~/keepass-rs$ cargo run --release --features "utilities" --bin kp-dump-xml -- test.kdbx 

Tried on the 0.4.9 crate and on master.

Let me know if I can give you some more information

I am building natively on armv7-unknown-linux-gnueabihf

DavidVentura avatar Aug 31 '21 08:08 DavidVentura

Compiling on amd64 for armv7 (and running via qemu-arm-static) also has this issue:

cargo run --target armv7-unknown-linux-musleabihf --release --features "utilities" --bin kp-dump-xml -- ../pykeepass-rs/test.kdbx
Password (or blank for none): 
Error: IncorrectKey

vs native

$ cargo run  --release --features "utilities" --bin kp-dump-xml -- ../pykeepass-rs/test.kdbx 
Password (or blank for none): 
Wrote 1 chunks

(I'm building for musleabi instead of gnueabi to make running via qemu-arm-static easier, behavior is the same)

DavidVentura avatar Aug 31 '21 11:08 DavidVentura