FS#76428 - [vagrant] pkeys are immutable on OpenSSL 3.0

Attached to Project: Community Packages
Opened by meaz (meaz) - Saturday, 05 November 2022, 09:43 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 06 November 2022, 10:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since last update of OpenSSL, when I run `vagrant up` to create a new box, I get this:

```
/opt/vagrant/embedded/gems/2.3.2/gems/net-ssh-6.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb:21:in generate_key!': pkeys are immutable on OpenSSL 3.0 (OpenSSL::PKey::PKeyError)
```

Additional info:
* package version(s): Vagrant 2.3.2, OpenSSL 3.0.7 and virtualbox 7.0.2.
* config and/or log files etc.: https://bin.disroot.org/?f09eed1b5b5b6295#5GQWDNDnqhKNXdwUcfiF1cSWSDaBU5mq8WyWVUed9xee
* link to upstream bug report: reported also on vagrant, in case it comes from there: https://github.com/hashicorp/vagrant/issues/12985
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 06 November 2022, 10:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  vagrant 2.3.2-2
Comment by loqs (loqs) - Saturday, 05 November 2022, 15:22 GMT
This will be fixed by https://github.com/hashicorp/vagrant/pull/12979
Edit:
Please try rebuilding vagrant with the attached diff applied and see if it resolves the issue.
Comment by Toolybird (Toolybird) - Saturday, 05 November 2022, 21:55 GMT Comment by Evangelos Foutras (foutrelis) - Sunday, 06 November 2022, 04:25 GMT
vagrant 2.3.2-2 includes the patch suggested by loqs. Can't readily test it myself so I'll wait for a confirmation before closing.
Comment by Richard Hinojosa (txhc4life) - Sunday, 06 November 2022, 06:49 GMT
I can confirm it works. I ran asp checkout vagrant. Entered the trunk directory and ran makepkg. I installed the following package vagrant-2.3.2-2-x86_64.pkg.tar.zst.
Comment by meaz (meaz) - Sunday, 06 November 2022, 07:43 GMT
I've just updated to vagrant 2.3.2-2, and it works, thanks a lot for that quick reaction!

Loading...