tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/27-services-not-workingGPGTools: Discussion 2017-09-14T12:14:57Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T09:41:24Z2011-11-20T09:41:24Zservices not working<div><p>I've just installed gpgTools for mac on machine running
MacOS10.7.2 (lion).</p>
<p>The mail seems to work fine but file services seem to be broken
(do not ask for recipients when selected). If I run the FixGPP
Tools option in the preferences panel services start asking for
recipient data but the dialog box with possible recipients is
empty. One one occasion this broke the mail application and I had
to reinstall. Can you advise how to fix this</p>
<p>Note: I installed over an old GPG1 installation. I do not know
if this is the source of the problem</p></div>richard.walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T09:46:50Z2011-11-20T09:46:50Zservices not working<div><p>Hi Richard,</p>
<p>due to a mishap we've released a GPGServices version with the
latest installer which is not yet fully compatible with Lion.</p>
<p>You can download the working version 1.6 here: <a href=
"http://www.gpgtools.org/gpgservices/index.html">http://www.gpgtools.org/gpgservices/index.html</a></p>
<p>Hope that helps,</p>
<p>Lukas</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T10:32:05Z2011-11-20T10:32:05Zservices not working<div><p>Hi luke,</p>
<p>Thanks for the quick answer but I am afraid it didn't help.
Services continue to (misfunction) in exactly the same way as
before...It looks very much as though they are trying to display a
window off screen (I am on a Macbook 13" with 1280*800
resolution).</p>
<p>Any ideas?</p>
<p>Richard</p></div>Richard Walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T11:00:25Z2011-11-20T11:00:25Zservices not working<div><p>Maybe you could have a look at the Console.app output and paste
relevant information to this discussion. The latest installer
includes GPGServices 1.6 that seems to work on most machines.<br>
You can invoke mission control to show all open windows.</p></div>Alextag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T11:40:49Z2011-11-20T11:40:50Zservices not working<div><p>I think. My installation is the latest one (111117). I have also
reinstalled GPGservices 1.6 manually. It makes no difference.
Mission control shows no open windows. Sorry but I don't know what
output I should be checking in the console. I am working from the
finder so usually don't use the console but if you give me a test
sequence I'll try it out.</p></div>Richard Walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T11:53:21Z2011-11-20T11:53:21Zservices not working<div><p>If Mission Control doesn't show open windows then I assume there
is no window. Regarding the console: There is an application called
"Console.app" (see above):</p>
<ol>
<li>Start Console.app</li>
<li>Click "Clear Display"</li>
<li>Right click on a file > Services > OpenPGP: Encrypt >
OK</li>
<li>Switch to Console.app</li>
<li>Copy & paste the output</li>
</ol></div>Alextag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T12:09:38Z2011-11-20T12:09:39Zservices not working<div><p>Thanks a lot: Here is the output - I'll put it in a text file as
well</p>
<hr>
<p>20/11/2011 13:05:44.178 GPGServices: (</p>
<pre>
<code>0 CoreFoundation 0x00007fff87e25286 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8a53ed5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff87e250ba +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff87e25044 +[NSException raise:format:] + 116
4 CoreFoundation 0x00007fff87dfe463 -[__NSCFSet addObject:] + 147
5 GPGServices 0x000000010000663b +[GPGServices myPrivateKeys] + 367
6 GPGServices 0x000000010000811f -[KeyChooserDataSource getPrivateKeys] + 33
7 GPGServices 0x0000000100008519 -[KeyChooserDataSource init] + 127
8 AppKit 0x00007fff8e168bcf -[NSCustomObject nibInstantiate] + 418
9 AppKit 0x00007fff8e1689ba -[NSIBObjectData instantiateObject:] + 303
10 AppKit 0x00007fff8e167c19 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 347
11 AppKit 0x00007fff8e15e52f loadNib + 322
12 AppKit 0x00007fff8e15da28 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
13 AppKit 0x00007fff8e15d943 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
14 AppKit 0x00007fff8e34cbc6 -[NSWindowController loadWindow] + 221
15 AppKit 0x00007fff8e34c981 -[NSWindowController window] + 75
16 AppKit 0x00007fff8e34c7ef -[NSWindowController showWindow:] + 40
17 GPGServices 0x00000001000067bb -[RecipientWindowController runModal] + 69
18 GPGServices 0x0000000100003fc0 -[GPGServices encryptFiles:] + 181
19 GPGServices 0x0000000100003ed6 -[GPGServices dealWithFilesPasteboard:userData:mode:error:] + 319
20 AppKit 0x00007fff8e6af6b7 -[NSServiceListener _doInvokeServiceIn:msg:pb:userData:error:unhide:] + 1020
21 AppKit 0x00007fff8e6af241 _NSServiceMasterCallBack + 120
22 CoreFoundation 0x00007fff87e82735 __CFServiceControllerMessagePortCallBack + 629
23 CoreFoundation 0x00007fff87e76bb9 __CFMessagePortPerform + 729
24 CoreFoundation 0x00007fff87d8411c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 44
25 CoreFoundation 0x00007fff87d83e4b __CFRunLoopDoSource1 + 155
26 CoreFoundation 0x00007fff87dba587 __CFRunLoopRun + 1895
27 CoreFoundation 0x00007fff87db9ae6 CFRunLoopRunSpecific + 230
28 HIToolbox 0x00007fff8c69b3d3 RunCurrentEventLoopInMode + 277
29 HIToolbox 0x00007fff8c6a263d ReceiveNextEventCommon + 355
30 HIToolbox 0x00007fff8c6a24ca BlockUntilNextEventMatchingListInMode + 62
31 AppKit 0x00007fff8e1563f1 _DPSNextEvent + 659
32 AppKit 0x00007fff8e155cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
33 AppKit 0x00007fff8e15262d -[NSApplication run] + 470
34 AppKit 0x00007fff8e3d180c NSApplicationMain + 867
35 GPGServices 0x0000000100001554 start + 52
36 ??? 0x0000000000000002 0x0 + 2</code>
</pre>
<p>)</p></div>Richard Walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T12:22:29Z2011-11-20T12:22:29Zservices not working<div><p>This helps. Something about your private key(s). Is gpg working
via command line?</p>
<ol>
<li>Open Terminal.app</li>
<li>echo test > testfile</li>
<li>gpg -s testfile</li>
<li>gpg --verify testfile.gpg</li>
</ol></div>Alextag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T13:37:43Z2011-12-03T15:46:55Zservices not working<div><p>I think it is working but am not sure about keys - I imported
them from previous PGP and GPG installations...</p>
<p>I also generated three new keys (not the ones referred to
here)</p>
<p>Last login: Sun Nov 20 12:29:03 on ttys000<br>
vpn-a-183-236:~ rwalker$<br>
vpn-a-183-236:~ rwalker$ echo test > testfile<br>
vpn-a-183-236:~ rwalker$ gpg -s testfile<br>
gpg: error checking usability status of F488B1C1<br>
gpg: key F488B1C1: secret key without public key - skipped</p>
<p>You need a passphrase to unlock the secret key for<br>
user: "Richard Walker (new key) <a href=
"mailto:rwalker@xiwrite.com">rwalker@xiwrite.com</a>"<br>
1024-bit DSA key, ID B8F3AC76, created 2008-09-22</p>
<p>vpn-a-183-236:~ rwalker$ gpg --verify testfile.gpg<br>
gpg: Signature made Sun 20 Nov 14:34:14 2011 CET using DSA key ID
B8F3AC76<br>
gpg: Good signature from "Richard Walker (new key) <a href=
"mailto:rwalker@xiwrite.com">rwalker@xiwrite.com</a>"<br>
gpg: WARNING: This key is not certified with a trusted
signature!<br>
gpg: There is no indication that the signature belongs to the
owner.<br>
Primary key fingerprint: 1BC8 7C22 0590 332C F67B 4860 01F4 DD2F
B8F3 AC76<br>
vpn-a-183-236:~ rwalker$</p></div>Richard Walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T17:42:37Z2011-11-20T17:42:38Zservices not working<div><p>Update...</p>
<p>I eliminated all my test keys and kept only essential ones. The
decrypt service now works perfectly but the encrypt services still
refuses to ask for a key to encrypt to.</p>
<p>Also for some reason mail no longer does automatic decryption -
it used to but then I asked it to store the keys on my key chain
and it now forces me to download the files and decrypt manually.
Not serious but boring.</p></div>Richard Walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T18:35:59Z2011-11-20T18:35:59Zservices not working<div><p>Could you rename your gpg config file ($HOME/.gnupg/gpg.conf)?
Maybe there are bogus entries? Also I suggest to open some tickets
here to get close to your configuration issues: <a href=
"http://gpgtools.lighthouseapp.com/">http://gpgtools.lighthouseapp.com/</a></p></div>Alextag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T19:17:13Z2011-11-20T19:17:14Zservices not working<div><p>I did that but it made no difference. I also redid the
verification of GPG from the command line. I got:</p>
<p>SV-38-86:~ rwalker$ echo test>testfile<br>
SV-38-86:~ rwalker$ gpg -s testfile<br>
gpg: error checking usability status of F488B1C1<br>
gpg: key F488B1C1: secret key without public key - skipped</p>
<p>You need a passphrase to unlock the secret key for<br>
user: "Richard Walker <a href=
"mailto:rwalker1501@gmail.com">rwalker1501@gmail.com</a>"<br>
2048-bit RSA key, ID 6AEE5DEC, created 2011-11-19 (main key ID
5FD1FE28)</p>
<p>File `testfile.gpg' exists. Overwrite? (y/N) y<br>
SV-38-86:~ rwalker$ verify testfile.gpg<br>
-bash: verify: command not found SV-38-86:~ rwalker$ gpg --verify
testfile.gpg<br>
gpg: Signature made Sun 20 Nov 20:06:23 2011 CET using RSA key ID
6AEE5DEC<br>
gpg: Good signature from "Richard Walker <a href=
"mailto:rwalker1501@gmail.com">rwalker1501@gmail.com</a>"<br>
gpg: WARNING: This key is not certified with a trusted
signature!<br>
gpg: There is no indication that the signature belongs to the
owner.<br>
Primary key fingerprint: 5850 6FF6 1011 7BCD 97FF 635A DC42 D919
5FD1 FE28</p>
<pre>
<code> Subkey fingerprint: 470D 4C45 5ECE 4167 54CC 530A C184 0433 6AEE 5DEC</code>
</pre>
<p>SV-38-86:~ rwalker$</p>
<p>Note: on GPG keychain access has no reference to this key! Could
something be corrupted there?</p>
<p>Also I see from the console that GPG mail tries to decrypt mails
on startup but fails:</p>
<p>20/11/2011 19:54:53.581 Mail: NSExceptionHandler has recorded
the following exception:<br>
GPGException -- Decrypt failed!<br>
Stack trace: 0x1104f9c69 0x7fff88d57d5e 0x11174612b 0x1116fb262
0x7fff8a43caad 0x1116fb0eb 0x1116fa300 0x1116f9936 0x7fff82693b92
0x7fff826939c7 0x7fff826e5c84 0x7fff8662796f 0x7fff865ac781
0x7fff866277cb 0x7fff826e599f 0x7fff8663020c 0x7fff866300a4
0x7fff82625745 0x7fff826256eb 0x7fff83edd788 0x7fff83ef09e6
0x7fff8a43a8ba 0x7fff8a43b799 0x7fff850883da 0x7fff85089b85</p>
<p>Now I'll open a ticket as you suggest</p></div>Richard Walkertag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T20:43:25Z2011-11-20T20:43:25Zservices not working<div><p>Your secret key has no public key. What about exporting your
secret key, renaming your gpg keychain, and reimporting the secret
key again? Technically it should be possible to generate your
public key based on your private key.<br>
Let's move the discussion to the attached ticket.</p></div>Alextag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T22:19:06Z2011-11-20T22:19:06Zservices not working<div><p>Hi alex,</p>
<p>The problem is resolved. Thanks for the excellent support and
good luck for future</p>
<p>Richard</p></div>Walker John Richardtag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T22:25:35Z2011-11-20T22:25:35Zservices not working<div><p>Good to hear. How did you solved it?</p></div>Alextag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T23:05:03Z2011-11-20T23:05:03Zservices not working<div><p>I followed your advice - renamed the keyring - and created a new
one with a new public private key pair. Then I reimported all my
old public keys. I did not reimport my old key pair - it was only a
test and I didn't need it.</p>
<p>Thanks again</p>
<p>Richard</p></div>Walker John Richardtag:gpgtools.tenderapp.com,2011-11-04:Comment/115473242011-11-20T23:06:48Z2011-11-20T23:06:48Zservices not working<div><p>Ok, thanks.</p></div>Alex