If I do an openssl enc -bf with a > 128 bit key it just silently ignores
everything over 128 bits:
> ng@ubuntu:~$ openssl enc -bf -iv 0 -P -K
> 000000000000000000000000000000012345
> salt=0700000000000000
> key=00000000000000000000000000000001
> iv =0000000000000000
If you go over 128 characters you get an error:
> blong@ubuntu:~/workspace/webkit$ openssl enc -bf -iv 0 -P -K
> 00000000000000000000000000000001234500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
> salt=0700000000000000
> key=00000000000000000000000000000001
> iv =0000000000000000
> blong@ubuntu:~/workspace/webkit$ openssl enc -bf -iv 0 -P -K
> 000000000000000000000000000000012345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
> hex string is too long
> invalid hex key value
I'm guessing this is a unit mix-up, where it should be complaining with
> 128 /bits/, but instead it complains at > 128 /characters/.

If I do an openssl enc -bf with a > 128 bit key it just silently ignores everything over 128 bits:
ng@ubuntu:~$ openssl enc -bf -iv 0 -P -K 000000000000000000000000000000012345
salt=0700000000000000
key=00000000000000000000000000000001
iv =0000000000000000
If you go over 128 characters you get an error:
blong@ubuntu:~/workspace/webkit$ openssl enc -bf -iv 0 -P -K 00000000000000000000000000000001234500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
salt=0700000000000000
key=00000000000000000000000000000001
iv =0000000000000000
blong@ubuntu:~/workspace/webkit$ openssl enc -bf -iv 0 -P -K 000000000000000000000000000000012345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
hex string is too long
invalid hex key value
I'm guessing this is a unit mix-up, where it should be complaining with > 128 bits, but instead it complains at > 128 characters.

Attachment: signature.asc
Description: PGP signature

Reply via email to