Skip to content

Commit 04b9a4c

Browse files
committed
Ok
1 parent b28f732 commit 04b9a4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gnupg.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import gnupg
22

3-
gpg = gnupg.GPG(gnupghome='C:/Program Files (x86)/GnuPG')
3+
#gpg = gnupg.GPG(gnupghome='C:/Program Files (x86)/GnuPG')
4+
gpg = gnupg.GPG(gnupghome='.', gpgbinary='C:/Program Files/git/usr/bin/gpg.exe')
45
kdata = """
56
-----BEGIN PGP PUBLIC KEY BLOCK-----
67

@@ -55,4 +56,4 @@ ot5dBq2WWiXzkja7DdgUhIHWAw7G+iTM4JpvxoVUeo7nD0LmcAdVWFiFAO9mBwHB
5556
-----END PGP PUBLIC KEY BLOCK-----
5657
"""
5758
k = gpg.import_keys(kdata)
58-
k.fingerprints
59+
print(k.fingerprints)

0 commit comments

Comments
 (0)