#92 ✓released
Alex (via GPGTools)

Signing files doesn't work

Reported by Alex (via GPGTools) | October 25th, 2011 @ 02:45 PM | in 1.7 (closed)

Steps that will reproduce the problem?
1. Install the latest GPGServices/GPGTools on Lion with a new user
2. Create a key
3. Sign a file

What is the expected result?
Signature.

What happens instead?
Nothing.

Possible workaround:
Using the CLI.

Any additional information:
Signing selected text works. Log:

10/25/11 2:37:51.960 PM GPGServices: -[GPGServices signFiles:]: unrecognized selector sent to instance 0x100142360
10/25/11 2:37:51.960 PM GPGServices: -[GPGServices signFiles:]: unrecognized selector sent to instance 0x100142360
10/25/11 2:37:51.963 PM GPGServices: (
    0   CoreFoundation                      0x00007fff8d23e286 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff8b397d5e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8d2ca4ce -[NSObject doesNotRecognizeSelector:] + 190
    3   CoreFoundation                      0x00007fff8d22b133 ___forwarding___ + 371
    4   CoreFoundation                      0x00007fff8d22af48 _CF_forwarding_prep_0 + 232
    5   GPGServices                         0x0000000100003863 -[GPGServices dealWithFilesPasteboard:userData:mode:error:] + 283
    6   AppKit                              0x00007fff8ed066b7 -[NSServiceListener _doInvokeServiceIn:msg:pb:userData:error:unhide:] + 1020
    7   AppKit                              0x00007fff8ed06241 _NSServiceMasterCallBack + 120
    8   CoreFoundation                      0x00007fff8d29b735 __CFServiceControllerMessagePortCallBack + 629
    9   CoreFoundation                      0x00007fff8d28fbb9 __CFMessagePortPerform + 729
    10  CoreFoundation                      0x00007fff8d19d11c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 44
    11  CoreFoundation                      0x00007fff8d19ce4b __CFRunLoopDoSource1 + 155
    12  CoreFoundation                      0x00007fff8d1d3587 __CFRunLoopRun + 1895
    13  CoreFoundation                      0x00007fff8d1d2ae6 CFRunLoopRunSpecific + 230
    14  HIToolbox                           0x00007fff8bc403d3 RunCurrentEventLoopInMode + 277
    15  HIToolbox                           0x00007fff8bc4763d ReceiveNextEventCommon + 355
    16  HIToolbox                           0x00007fff8bc474ca BlockUntilNextEventMatchingListInMode + 62
    17  AppKit                              0x00007fff8e7ad3f1 _DPSNextEvent + 659
    18  AppKit                              0x00007fff8e7accf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
    19  AppKit                              0x00007fff8e7a962d -[NSApplication run] + 470
    20  AppKit                              0x00007fff8ea2880c NSApplicationMain + 867
    21  GPGServices                         0x0000000100001804 start + 52
)

Comments and changes to this ticket

  • Alex (via GPGTools)
  • Alex (via GPGTools)
  • Alex (via GPGTools)
  • Alex (via GPGTools)

    Alex (via GPGTools) November 13th, 2011 @ 11:23 AM

    • Assigned user changed from “Mento” to “ronin-140089 (at lighthouseapp)”

    Same holds true for file encryption. Workaround: Download version 1.6 from http://www.gpgtools.org/gpgservices/index.html

  • Alex (via GPGTools)
  • SonyaLynn

    SonyaLynn November 14th, 2011 @ 10:54 PM

    I'm having this same problem w/ encrypting files after installing 11/14 build on Lion. All functions on selected text are working, but none on files.

  • SonyaLynn

    SonyaLynn November 14th, 2011 @ 10:55 PM

    Sorry, forgot Console output:

    11/14/11 1:47:52.189 PM GPGServices: -[GPGServices encryptFiles:]: unrecognized selector sent to instance 0x100120120
    11/14/11 1:47:52.190 PM GPGServices: -[GPGServices encryptFiles:]: unrecognized selector sent to instance 0x100120120
    11/14/11 1:47:52.194 PM GPGServices: (

    0   CoreFoundation                      0x00007fff861a2286 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff8bb4ed5e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8622e4ce -[NSObject doesNotRecognizeSelector:] + 190
    3   CoreFoundation                      0x00007fff8618f133 ___forwarding___ + 371
    4   CoreFoundation                      0x00007fff8618ef48 _CF_forwarding_prep_0 + 232
    5   GPGServices                         0x0000000100003863 -[GPGServices dealWithFilesPasteboard:userData:mode:error:] + 283
    6   AppKit                              0x00007fff903b06b7 -[NSServiceListener _doInvokeServiceIn:msg:pb:userData:error:unhide:] + 1020
    7   AppKit                              0x00007fff903b0241 _NSServiceMasterCallBack + 120
    8   CoreFoundation                      0x00007fff861ff735 __CFServiceControllerMessagePortCallBack + 629
    9   CoreFoundation                      0x00007fff861f3bb9 __CFMessagePortPerform + 729
    10  CoreFoundation                      0x00007fff8610111c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 44
    11  CoreFoundation                      0x00007fff86100e4b __CFRunLoopDoSource1 + 155
    12  CoreFoundation                      0x00007fff86137587 __CFRunLoopRun + 1895
    13  CoreFoundation                      0x00007fff86136ae6 CFRunLoopRunSpecific + 230
    14  HIToolbox                           0x00007fff86e363d3 RunCurrentEventLoopInMode + 277
    15  HIToolbox                           0x00007fff86e3d63d ReceiveNextEventCommon + 355
    16  HIToolbox                           0x00007fff86e3d4ca BlockUntilNextEventMatchingListInMode + 62
    17  AppKit                              0x00007fff8fe573f1 _DPSNextEvent + 659
    18  AppKit                              0x00007fff8fe56cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
    19  AppKit                              0x00007fff8fe5362d -[NSApplication run] + 470
    20  AppKit                              0x00007fff900d280c NSApplicationMain + 867
    21  GPGServices                         0x0000000100001804 start + 52
    

    )

  • Alex (via GPGTools)

    Alex (via GPGTools) November 14th, 2011 @ 10:57 PM

    • Assigned user changed from “ronin-140089 (at lighthouseapp)” to “Mento”

    @Mento: I guess this will not be very hard to fix. Maybe you could have a short look at it?

    @SonyaLynn: Does version 1.6 work for you?

  • Jeff burdges

    Jeff burdges November 14th, 2011 @ 11:36 PM

    I started working on this one because it cropped up immediately when looking into various warnings. In essence, all that functionality remains commented out inside the Libmacgpg branch. I've decided that most commented code was simply copied from the MacGPGME version without porting to Libmacgpg.

    In the short term, there is no solution but to switch back to the master branch, which I presume still uses MacGPGME. In the longer term, I had planned on fixing this myself, but obviously anyone who already did porting from MacGPGME to Libmacgpg could do it faster if switching to Libmacgpg is a short term priority or something. I could just follow their lead and do debugging in that case.

  • Alex (via GPGTools)

    Alex (via GPGTools) November 14th, 2011 @ 11:51 PM

    • Assigned user changed from “Mento” to “Jeff burdges”

    @Jeff: wonderful! so you're working on it. very, very good.

    @All: does version 1.6 work for you? in this case we'll add this version to the installer till 1.7 works again.

  • ronin-140089 (at lighthouseapp)

    ronin-140089 (at lighthouseapp) November 14th, 2011 @ 11:53 PM

    Let me clear something up:

    The libmacgpg branch was never finished. I started working on it in a radical manner: Comment out all implementations and gradually implement more and more until everything is working again.

    I'm very sorry if it wasn't clear the the libmacgpg-branch was never ready for a release.

  • Alex (via GPGTools)
  • Jeff burdges

    Jeff burdges November 28th, 2011 @ 01:03 AM

    • State changed from “open” to “fixed”

    I'll make a new ticket about the part of this that remains.

  • steve

    steve November 30th, 2011 @ 12:45 PM

    @Jeff sure go ahead. Could you link the new tickets here?

  • steve

    steve August 19th, 2013 @ 10:57 PM

    • Tag cleared.
    • Assigned user cleared.
    • Importance changed from “” to “Low”
  • steve

    steve June 18th, 2015 @ 04:26 PM

    • State changed from “fixed” to “released”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Referenced by

Pages