phinze/homebrew-cask

View on GitHub
Casks/p/pivy.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "pivy" do
  version "0.11.2"
  sha256 "a8249869cc6a922eabe80ac64e5895b503a4f2d23007b21497aa0aca11e2b20c"

  url "https://github.com/joyent/pivy/releases/download/v#{version}/pivy-#{version}-macos12.pkg"
  name "pivy"
  desc "Client for PIV cards"
  homepage "https://github.com/joyent/pivy"

  pkg "pivy-#{version}-macos12.pkg"

  uninstall launchctl: "net.cooperi.pivy-agent",
            quit:      "net.cooperi.pivy-agent",
            pkgutil:   "net.cooperi.pivy"

  # No zap stanza required

  caveats "The installer will prompt you to insert a YubiKey or other PIV token via a dialog box."
end