miloserdow / capistrano-deploy

Github Actions for Capistrano
MIT License
128 stars 43 forks source link

[Bug?] Error message "Valid ciphername values:" #36

Closed adrianthedev closed 5 months ago

adrianthedev commented 2 years ago

I'm trying to encrypt my local key using the provided options and I get an error on macos Monterey. Not sure if I'm doing something wrong

image

felipecsl commented 2 years ago

I also had the same problem on macos. I was able to get it to work when running from an ubuntu box

Zai commented 1 year ago

@adrianthedev Are you on macOS ?

If yes try openssl version and if you get something like "LibreSSL" you can't use this command. It's only working with openssl v3.

By the way we have encoded a ssh key (created from a mac with LibreSSL & ed25519) from an ubuntu server and we get an error during deployment at command ssh-add. Error loading key "config/deploy_id_rsa": error in libcrypto

We were forced to regenerate all key directly from an ubuntu server with openssl and all works like a charm. :)

For more information check this thread : https://github.com/openssl/openssl/issues/13443#issuecomment-729845774

Hope it'll help to understand the problem.

adrianthedev commented 1 year ago

I have to admit I moved along from this project, but will reference this issue in the future when I stumble upon it.

Thank you!

miloserdow commented 5 months ago

I've just tested it on MacOS, seems like no longer an issue