-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Description
Describe the bug
Since I updated from 2.14 to 2.16 I've had this error when autocompleting openssl:
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
This appears to be related to PR #1256.
In addition, output from openssl ⇥⇥ looks misformatted:
mike ~ ❱❱❱ openssl -bash: command substitution: line 1: unexpected EOF while looking for matching `''
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
(see help:
Digest idea idea-cbc idea-cfb idea-ecb
Message idea-ofb rc2 rc2-40-cbc rc2-64-cbc
Standard info
aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb kdf
aes-256-cbc aes-256-ecb aria-128-cbc aria-128-cfb list
aria-128-cfb1 aria-128-cfb8 aria-128-ctr aria-128-ecb mac
aria-128-ofb aria-192-cbc aria-192-cfb aria-192-cfb1 nseq
aria-192-cfb8 aria-192-ctr aria-192-ecb aria-192-ofb ocsp
aria-256-cbc aria-256-cfb aria-256-cfb1 aria-256-cfb8 passwd
aria-256-ctr aria-256-ecb aria-256-ofb base64 pkcs12
asn1parse pkcs7
bf bf-cbc bf-cfb bf-ecb pkcs8
bf-ofb camellia-128-cbc camellia-128-ecb camellia-192-cbc pkey
ca pkeyparam
camellia-192-ecb camellia-256-cbc camellia-256-ecb cast pkeyutl
cast-cbc cast5-cbc cast5-cfb cast5-ecb prime
cast5-ofb des des-cbc des-cfb rand
ciphers rc2-cbc rc2-cfb rc2-ecb rc2-ofb
cmp rc4 rc4-40 seed seed-cbc
cms rehash
commands req
crl rsa
crl2pkcs7 rsautl
des-ecb des-ede des-ede-cbc des-ede-cfb s_client
des-ede-ofb des-ede3 des-ede3-cbc des-ede3-cfb s_server
des-ede3-ofb des-ofb des3 desx s_time
dgst seed-cfb seed-ecb seed-ofb sm4-cbc
dhparam sess_id
dsa sm4-cfb sm4-ctr sm4-ecb sm4-ofb
dsaparam smime
ec speed
ecparam spkac
enc srp
enc command for more details) storeutl
engine the
errstr ts
fipsinstall verify
gendsa version
genpkey x509
genrsa zlib
help
mike ~ ❱❱❱ openssl
To reproduce
Tab complete openssl
Expected behavior
Versions (please complete the following information)
- Operating system name/distribution and version: macOS 14.6, MacPorts
- bash version,
echo "$BASH_VERSION": 5.2.37(1)-release - bash-completion version,
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}"): 2.16.0
Additional context
OpenSSL 3.4.0 22 Oct 2024 (Library: OpenSSL 3.4.0 22 Oct 2024)
Output from openssl version was compared with a GNU/Linux system running OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024) and the output appears to be formatted identically.
Also tried running from a clean shell (bash -c bash) with the same results.
Debug trace
Full output of openssl x5⇥ (preceded by set -x) is here: https://pastebin.com/CR43uWJe
Metadata
Metadata
Assignees
Labels
No labels