-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap to GPG verification #5971
Comments
Will this also work with GPG2? I only have that one installed as that is the recommended version on the desktop. |
Even though we’re not quite there yet regarding GPG support (cf. issue #5971 and PR Homebrew/brew#1335), I’d still prefer for new casks to have `gpg` stanzas where detached signatures are available (cf. PR #6185). For details on the authenticity of the public key, see: - https://support.1password.com/command-line-getting-started/#set-up-the-command-line-tool - https://keybase.io/1password
From looking at all the related tickets, it seems like it has been decided that this should not be implemented. Could somebody provide some background as to why it has been decided to drop this support for this? |
Homebrew/brew#4120. Start at Homebrew/brew#4120 (comment). |
As per #4688 and #4848, we intend to support GPG verification of cask packages in the form of an optional
gpg
stanza. This issue tracks the prerequisites of a working implementation. (Other relevant issues are #164, #1824.)For those unfamiliar, GPG can verify the authenticity of a package, given:
To satisfy the requirements of GPG, it is necessary to download and store files which are not closely tied to our
url
stanza. As we lack such functionality, some work beyondgpg
proper is required.install
fails.I would suggest to define the stanza as
gpg 'signature url', :key_type => 'key_value'
, which is shorter and arguably clearer than what we defined in DSL: addgpg
stanza #4848.Cask::Download
(Separate the Ruby backend from internal Homebrew dependencies #5080)Verification of integrity (via SHA-256) and authenticity (via GPG) could be moved to a dedicated module/class.
It might be desirable to introduce download methods which are not specific to cask
url
.@caskroom/maintainers, I would appreciate feedback, particularly on the optional items which pertain to Cask's Ruby internals.
The text was updated successfully, but these errors were encountered: