Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Failed to sign message #7

Closed
selfagency opened this issue May 27, 2015 · 3 comments
Closed

Failed to sign message #7

selfagency opened this issue May 27, 2015 · 3 comments
Labels
Milestone

Comments

@selfagency
Copy link

AutoCanary fails to sign message on OS X 10.10.3 with GPG Keychain 1.2b6.

System log

5/27/15 5:45:32.782 PM AutoCanary[96859]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.3 instead of 10.10.3. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
5/27/15 5:45:32.782 PM AutoCanary[96859]: 0   CarbonCore                          0x00007fff920d02b7 ___Gestalt_SystemVersion_block_invoke + 113
5/27/15 5:45:32.782 PM AutoCanary[96859]: 1   libdispatch.dylib                   0x00007fff963bac13 _dispatch_client_callout + 8
5/27/15 5:45:32.782 PM AutoCanary[96859]: 2   libdispatch.dylib                   0x00007fff963bab26 dispatch_once_f + 117
5/27/15 5:45:32.782 PM AutoCanary[96859]: 3   CarbonCore                          0x00007fff92059456 _Gestalt_SystemVersion + 987
5/27/15 5:45:32.782 PM AutoCanary[96859]: 4   CarbonCore                          0x00007fff920586e3 Gestalt + 144
5/27/15 5:45:32.782 PM AutoCanary[96859]: 5   QtCore                              0x0000000107f52f46 _ZN9QInternal12callFunctionENS_16InternalFunctionEPPv + 2190
5/27/15 5:45:32.782 PM AutoCanary[96859]: 6   ???                                 0x00007fff6eb41ceb 0x0 + 140735050685675
5/27/15 5:45:36.961 PM AutoCanary[96859]: QPixmap::scaled: Pixmap is a null pixmap

5/27/15 5:46:39.866 PM AutoCanary[96859]: gpg: problem with the agent: Timeout
5/27/15 5:46:39.866 PM AutoCanary[96859]: gpg: no default secret key: Operation cancelled
5/27/15 5:46:39.866 PM AutoCanary[96859]: gpg: /var/folders/_d/gz7_v74n1jb3jpq158gr88sc0000gn/T/tmppALvLE/message: clearsign failed: Operation cancelled
5/27/15 5:46:39.875 PM AutoCanary[96859]: QPixmap::scaled: Pixmap is a null pixmap
5/27/15 5:46:46.264 PM AutoCanary[96859]: modalSession has been exited prematurely - check for a reentrant call to endModalSession:
5/27/15 5:46:46.265 PM AutoCanary[96859]: 2015-05-27 17:46:46.264 AutoCanary[96859:12844231] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

Diagnostic log

5/27/15 5:38:58.558 PM syspolicyd[13826]: assessment denied for AutoCanary.pkg but overridden
com.apple.message.domain: com.apple.security.assessment.outcome2
com.apple.message.signature2: bundle:UNBUNDLED
com.apple.message.signature3: AutoCanary.pkg
com.apple.message.signature5: UNKNOWN
com.apple.message.signature4: 2
com.apple.message.signature: defeated:Developer ID
SenderMachUUID: 730F2AA1-75F5-362E-A3C5-9424449D7498

Command:         AutoCanary
Path:            /Applications/AutoCanary.app/Contents/MacOS/AutoCanary
  11  start + 52 (AutoCanary + 3044) [0x100000be4]
  11  main + 650 (AutoCanary + 4474) [0x10000117a]
  11  ??? (AutoCanary + 10075) [0x10000275b]
Process:         AutoCanary [93719]
Path:            /Applications/AutoCanary.app/Contents/MacOS/AutoCanary
  11  start + 52 (AutoCanary + 3044) [0x100000be4] 1-11
    11  main + 650 (AutoCanary + 4474) [0x10000117a] 1-11
      11  ??? (AutoCanary + 10075) [0x10000275b] 1-11
         0x100000000 -        0x100009fff  org.pythonmac.unspecified.AutoCanary 0.1 (0.1) <FFD751CA-37B6-3FAC-9CF0-413E01DAA81D>  /Applications/AutoCanary.app/Contents/MacOS/AutoCanary
Parent:          AutoCanary [93719]
Responsible:     AutoCanary [93719]
@selfagency
Copy link
Author

I rebooted and it prompted me to enter my passphrase again. It seems that GPG is rejecting my correct keyphrase and that after I try too many times, the above is what transpires without prompting for a key again until reboot.

@micahflee
Copy link
Contributor

Hmm.. this seems like a gpg-agent issue. AutoCanary isn't actually prompting for your key, it's just running gpg2 in the background, which in turn uses gpg-agent to ask for your passphrase (or cache it).

Can you use gpg with other things, like email?

@micahflee micahflee added the bug label Jun 2, 2015
@micahflee micahflee added this to the 0.2 milestone Jun 2, 2015
@selfagency
Copy link
Author

Yeah I figured out this is GPG's fault or mine. I have no recollection of doing so but I must have changed my key because GPG is rejecting it. Kind of driving me crazy. Sorry for wasting your time — though it would be nice if AutoCanary failed a little more gracefully and let me know my keyphrase is being rejected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants