openssl pkcs12 -passout file:passphrase.txt throws this error if the passphrase file doesn't end with a \n. Error reading password from BIO Error getting passwords At best, this error is inconsistent with the -passin option, but I believe the behavior is a bug. MWE (EC, but also f...