IBM / aspera-cli

IBM Aspera CLI
Apache License 2.0
77 stars 17 forks source link

genkey: Neither PUB key nor PRIV key: no start line #125

Closed laurent-martin closed 1 year ago

laurent-martin commented 1 year ago

version 4.14

When executing:

ascli conf genkey mykey 4096

Error:

ERROR: Other(OpenSSL::PKey::RSAError): Neither PUB key nor PRIV key: unsupported
laurent-martin commented 1 year ago

Yes, that's a bug, ascli misses to convert the argument to integer, and openssl does not like that.

Workaround: don't provide that argument, it uses 4096 as default:

ascli conf genkey mykey