-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.goreleaser.yml
77 lines (61 loc) · 1.74 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
project_name: pinentry-touchid
before:
hooks:
- go mod download
builds:
-
main: ./main.go
binary: pinentry-touchid
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'
# Generate/update a homebrew formula
brews:
-
tap:
owner: jorgelbg
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
homepage: "https://github.com/jorgelbg/pinentry-touchid"
caveats: |
➡️ Ensure that pinentry-mac is the default pinentry program:
#{bin}/pinentry-touchid -fix
✅ Add the following line to your ~/.gnupg/gpg-agent.conf file:
pinentry-program #{bin}/pinentry-touchid
🔄 Then reload your gpg-agent:
gpg-connect-agent reloadagent /bye
🔑 Run the following command to disable "Save in Keychain" in pinentry-mac:
defaults write org.gpgtools.common DisableKeychain -bool yes
⛔️ If you are upgrading from a previous version, you will be asked to give
access again to the keychain entry. Click "Always Allow" after the
Touch ID verification to prevent this dialog from showing.
description: |
Custom GPG pinentry program for macOS that allows using Touch ID for fetching the password from
the macOS keychain.
# Packages your package depends on.
dependencies:
- pinentry-mac
- pinentry
install: |
bin.install "pinentry-touchid"
archives:
- replacements:
darwin: macos
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- '^dev:'
- '^env:'