“vagrant” will damage your computer. | macOS v12 (Monterey) #13132

12k Views Asked by At

Today morning suddenly I started getting this popup whenever I ran Vagrant up in my Mac.

Enter image description here

VirtualBox version 7.0.4 r154605 (Qt5.15.2).
macOS v12 (Monterey), MacBook Pro (Retina, 15-inch, Mid 2015)

Ubuntu LTS Settler Version Homestead Version Branch Status
20.04 11.x 12.x main Development/Unstable
20.04 11.x 12.x release Stable

What's wrong here?

7

There are 7 best solutions below

0
Elhassan Baazizi On BEST ANSWER

I also had the same issue after upgrading to macOS v13.3.1 (Ventura. 22E261).

Try the following:

  1. brew reinstall --cask vagrant
  2. vagrant plugin update

Then the problem will be solved.

1
Kleppo On

I reinstalled Vagrant, and then it all works again...

2
Lutz Grätz On

I had the same error message on macOS v11.7.6 (Big Sur. 20G1231).

After downloading and reinstalling the AMD64 installer from Vagrant and running

vagrant plugin update
vagrant plugin repair

in the terminal, everything worked as before.

1
Dan E On

Running

brew install hashicorp/tap/hashicorp-vagrant

in your CLI will update to latest vagrant and fixes the issue.

0
Joe W. On

The previous fixes look correct. The error itself is due to the signing key being revoked on April 24th, 2023.

Hashicorp did this due to the CircleCI data breach. Details are available at Security Alert: HashiCorp Response to CircleCI.

0
maurinaz On

For those who are getting a SHA-256 mismatch, you can try to run brew untap vagrant and brew tap vagrant and retry the upper commands:

brew reinstall --cask vagrant

vagrant plugin update
1
eerenyilmaz On

I had same issue without upgrading or update macos or anything. Try it;

brew install hashicorp/tap/hashicorp-vagrant

Solved my problem