#994947 tripwire: twadmin won't allow a 64-character passphrase

Package:
tripwire
Source:
tripwire
Description:
file and directory integrity checker
Submitter:
Tom Yates
Date:
2021-09-23 16:51:03 UTC
Severity:
normal
#994947#5
Date:
2021-09-23 16:21:55 UTC
From:
To:
Dear Maintainer,

I've installed tripwire, opting out of key creation during installation,
and am creating my keys with twadmin.  When I run twadmin, and provide a
64-character passphrase, it prints the request for verification, but
immediately skips to rejecting and re-requesting it:
---------- start output ---------------
root@deb11-tripwire:/etc/tripwire# twadmin -m G -S /etc/tripwire/site.key

(When selecting a passphrase, keep in mind that good passphrases typically
have upper and lower case letters, digits and punctuation marks, and are
at least 8 characters in length.)

Enter the site keyfile passphrase:HERE I PROVIDE EXACTLY 64 CHARACTERS OF ALPHANUMERIC INPUT
Verify the site keyfile passphrase:
Incorrect site passphrase.
Enter the site keyfile passphrase:
---------- start output ---------------

This seems to be true whether I cut-and-paste the passphrase, or type it
by hand.  63 characters and 65 characters are both fine; it only happens
with 64.