GPGServices: Symmentric encryption only on a file fails with error: Enrcypt/sign failed! Encyryt/sign failed! (No such file or directory)
Code presented is 32849.
My goal is to just password encrypt a file symmetrically.
-
gpg_nofilerodirectory.png 27.9 KB
-
Screen_Shot_2018-03-25_at_11.44.48_AM.png 56.6 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Steve on 26 Mar, 2018 11:30 AM
Could you please download and install our latest hotfix GPG Suite restart your mac and see if that solves your problem.
All the best,
steve
Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.
2 Posted by miscmael on 27 Mar, 2018 03:04 AM
Hello Steve,
I tried the nightly build. Exact same error. Is there some kind of log I can send that would be useful?
- Jim
3 Posted by miscmael on 27 Mar, 2018 03:28 AM
Hey one more thing,I went back to the last stable build release and tried:
terminal: gpg —-symmetric <filename> it pops up the password dialog, but then the command line error message is more useful it says:
gpg: keyblock resource ‘<path to>/pubring.gpg’: No such file or directory.
Interestingly, it does actually encrypt the file.
Note my config is to have my keys offline on USB and I don’t want them connected or available when I’m just doing a symmetric encryption.
This worked on earlier builds before the key management changed.
I hope this helps with the debugging.
- Jim
Support Staff 4 Posted by Steve on 27 Mar, 2018 09:53 AM
Could you please download and install our latest hotfix GPG Suite and see if that solves your problem.
All the best,
steve
Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.
5 Posted by miscmael on 28 Mar, 2018 04:37 AM
Hello Steve,
Okay with built: GPG_Suite-2124n.dmg. Seems to be an error with symbol: _clock_gettime.
This error is reported in console wether I use GUI or terminal:
Dyld Error Message:
Symbol not found: _clock_gettime
Referenced from: /usr/local/MacGPG2/bin/gpg-agent
Expected in: /usr/lib/libSystem.B.dylib
Test sequence from gui and terminal follows:
GUI:
Through finder gui: alt-click file, services, open pgp:encrypt file: result: No dialog presented. No process.
Console says:
Process: gpg-agent [3209]
Path: /usr/local/MacGPG2/bin/gpg-agent
Identifier: gpg-agent
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gpg-agent [3209]
User ID: 502
Date/Time: 2018-03-27 21:30:17.253 -0700
OS Version: Mac OS X 10.11.6 (15G19009)
Report Version: 11
Anonymous UUID: A38462D2-B41C-04DF-4BD4-C82F2B432D12
Time Awake Since Boot: 11000 seconds
System Integrity Protection: enabled
Crashed Thread: 1
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** multi-threaded process forked ***
crashed on child side of fork pre-exec
Dyld Error Message:
Symbol not found: _clock_gettime
Referenced from: /usr/local/MacGPG2/bin/gpg-agent
Expected in: /usr/lib/libSystem.B.dylib
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff89065d3e __pselect + 10
1 libsystem_kernel.dylib 0x00007fff89063274 pselect$1050 + 82
2 libnpth.0.dylib 0x0000000104cc281c npth_pselect + 76
3 gpg-agent 0x0000000104b490eb handle_connections + 1755
4 gpg-agent 0x0000000104b4734e main + 5886
5 libdyld.dylib 0x00007fff9c0e35ad start + 1
Thread 1 Crashed:
0 dyld 0x00007fff6da8c075 dyld_fatal_error + 1
1 dyld 0x00007fff6da8f094 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2 libdyld.dylib 0x00007fff9c0e1262 dyld_stub_binder + 282
3 ??? 0x0000000104b93008 0 + 4374212616
4 gpg-agent 0x0000000104b5e0c8 get_calibrated_s2k_count + 56
5 gpg-agent 0x0000000104b4f6d8 cmd_getinfo + 648
6 libassuan.0.dylib 0x0000000104caf7ce dispatch_command + 686
7 libassuan.0.dylib 0x0000000104cae8a3 assuan_process + 147
8 gpg-agent 0x0000000104b4a963 start_command_handler + 483
9 gpg-agent 0x0000000104b4a2a2 do_start_connection_thread + 98
10 gpg-agent 0x0000000104b49ffc start_connection_thread_std + 60
11 libnpth.0.dylib 0x0000000104cc2004 thread_start + 68
12 libsystem_pthread.dylib 0x00007fff977f599d _pthread_body + 131
13 libsystem_pthread.dylib 0x00007fff977f591a _pthread_start + 168
14 libsystem_pthread.dylib 0x00007fff977f3351 thread_start + 13
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x00007fff6dac5290 rbx: 0x00007ffba9414a80 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fff6dac5400 rsi: 0x0000000000000000 rbp: 0x000070000021cad0 rsp: 0x000070000021cab8
r8: 0x00007fff6daae04c r9: 0x00000000ff000000 r10: 0x000070000021c8a6 r11: 0x00007fff6dac5400
r12: 0x0000000104b958f0 r13: 0x0000000000000008 r14: 0x00007fff6dac5400 r15: 0x0000000104b8ec9c
rip: 0x00007fff6da8c075 rfl: 0x0000000000000246 cr2: 0x00007fff6da9833e
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 3
Binary Images:
0x104b45000 - 0x104b92ff7 +gpg-agent (0) <EDDA8BF2-1BD8-32DE-B747-21AF7BC95803> /usr/local/MacGPG2/bin/gpg-agent
0x104baf000 - 0x104c66fef +libgcrypt.20.dylib (0) <FDAB714A-CDEF-3FA6-A420-4C8B09FD3BD2> /usr/local/MacGPG2/lib/libgcrypt.20.dylib
0x104c8c000 - 0x104c9aff3 +libgpg-error.0.dylib (0) <B9726210-3295-3B29-881B-CF99F41B64EC> /usr/local/MacGPG2/lib/libgpg-error.0.dylib
0x104caa000 - 0x104cb6ff7 +libassuan.0.dylib (0) <E50D9843-7B87-3A3C-BA31-24D51A7C6020> /usr/local/MacGPG2/lib/libassuan.0.dylib
0x104cc1000 - 0x104cc2ffb +libnpth.0.dylib (0) <107B5456-BF9B-3DB9-8998-C6361D76D2A5> /usr/local/MacGPG2/lib/libnpth.0.dylib
0x104ccd000 - 0x104cd5fff +libintl.8.dylib (0) <D9D2C961-6824-3CFC-8391-DFCF4A9B1C1E> /usr/local/MacGPG2/lib/libintl.8.dylib
0x7fff6da8b000 - 0x7fff6dac2a47 dyld (360.22) <C8E77F6D-CE86-3C5B-8576-2584A799B51E> /usr/lib/dyld
0x7fff8727f000 - 0x7fff87287fff libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
0x7fff874b2000 - 0x7fff874b7ff3 libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
0x7fff87d1c000 - 0x7fff87d4bfc3 libsystem_m.dylib (3105) <26AC4401-331F-37BB-A636-400B9D8B38DE> /usr/lib/system/libsystem_m.dylib
0x7fff8904f000 - 0x7fff8906dff7 libsystem_kernel.dylib (3248.73.5) <4765807C-1B75-3D5F-9432-8F2755B45BE8> /usr/lib/system/libsystem_kernel.dylib
0x7fff8936b000 - 0x7fff89372ff7 libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
0x7fff8a137000 - 0x7fff8a229ff7 libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib
0x7fff8a2d9000 - 0x7fff8a2d9ff7 liblaunch.dylib (765.70.1) <96D7C3EE-82E2-39AB-870F-B317A030E86D> /usr/lib/system/liblaunch.dylib
0x7fff8a744000 - 0x7fff8a74dff3 libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
0x7fff8a86f000 - 0x7fff8a8d5ff7 libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
0x7fff8b588000 - 0x7fff8b59fff7 libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
0x7fff8b66e000 - 0x7fff8b66eff7 libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
0x7fff8c7c5000 - 0x7fff8c9d2fff libicucore.A.dylib (551.51.6) <142B2AD5-0A50-3382-8213-096E925863F7> /usr/lib/libicucore.A.dylib
0x7fff8d116000 - 0x7fff8d11afff libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
0x7fff8d1e2000 - 0x7fff8d20bfff libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
0x7fff8e0bb000 - 0x7fff8e10eff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff8e415000 - 0x7fff8e417ff7 libsystem_configuration.dylib (802.40.13) <134ED2F5-378A-326B-A985-850ECC73A5C0> /usr/lib/system/libsystem_configuration.dylib
0x7fff8f51b000 - 0x7fff8f592feb libcorecrypto.dylib (335.50.1) <14B4AD6E-C2ED-3161-80C8-0AA018DC5ED7> /usr/lib/system/libcorecrypto.dylib
0x7fff8f6f5000 - 0x7fff8f706ff7 libsystem_trace.dylib (201.10.3) <D36B59EB-48D7-30D3-A6AE-328D6CA3D2AA> /usr/lib/system/libsystem_trace.dylib
0x7fff8f70c000 - 0x7fff8f799fef libsystem_c.dylib (1082.60.1) <56329DD7-DF87-370E-B56B-9AF92AD2E048> /usr/lib/system/libsystem_c.dylib
0x7fff8ff21000 - 0x7fff8ff29fef libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
0x7fff8fff5000 - 0x7fff8fff8fff libsystem_sandbox.dylib (460.60.4) <7F7457B0-F83B-34DD-A7AE-0F8937E7C2A0> /usr/lib/system/libsystem_sandbox.dylib
0x7fff902a7000 - 0x7fff902beff7 libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
0x7fff902e9000 - 0x7fff9075ffff com.apple.CoreFoundation (6.9 - 1259.20) <CFDE34FD-2227-3FD8-A8F9-00D21DCD872B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff90b5a000 - 0x7fff90ec5657 libobjc.A.dylib (680) <D55D5807-1FBE-32A5-9105-44D7AFE68C27> /usr/lib/libobjc.A.dylib
0x7fff9445f000 - 0x7fff9446aff7 libcommonCrypto.dylib (60075.50.1) <42368302-BA87-39CD-9590-CB05F35B5A8A> /usr/lib/system/libcommonCrypto.dylib
0x7fff9446b000 - 0x7fff94495ff7 libc++abi.dylib (307.4) <D24E06BF-6522-3C4A-BD0C-11C42BA4D8E8> /usr/lib/libc++abi.dylib
0x7fff95f3c000 - 0x7fff95f3cff7 libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
0x7fff960af000 - 0x7fff960f5ff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff977f2000 - 0x7fff977fbff7 libsystem_pthread.dylib (138.10.4) <88FF5FCA-6275-3F82-BAF6-1B3ED639CC2A> /usr/lib/system/libsystem_pthread.dylib
0x7fff98817000 - 0x7fff98833ff7 libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
0x7fff9964a000 - 0x7fff99673ff7 libxpc.dylib (765.70.1) <4FB1311F-4032-3F56-BF0B-CFF45D78FB01> /usr/lib/system/libxpc.dylib
0x7fff997d6000 - 0x7fff997d7fff libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
0x7fff9aeb0000 - 0x7fff9aeb8fff libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
0x7fff9b78d000 - 0x7fff9b78fff7 libquarantine.dylib (80) <9F031942-56F7-3A85-B18E-C62FFC45FB53> /usr/lib/system/libquarantine.dylib
0x7fff9c0c8000 - 0x7fff9c0c9ffb libSystem.B.dylib (1226.10.1) <261DBD02-CC8E-33A0-825F-391C00A4BEA5> /usr/lib/libSystem.B.dylib
0x7fff9c0e0000 - 0x7fff9c0e3ffb libdyld.dylib (360.22) <816EC2BB-152D-3780-A6C1-B614AF7800B8> /usr/lib/system/libdyld.dylib
0x7fff9c69c000 - 0x7fff9c6a4ffb libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff9c94c000 - 0x7fff9c951ff7 libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
0x7fff9c9bf000 - 0x7fff9c9ecfff libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
0x7fff9caae000 - 0x7fff9cab0fff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
0x7fff9cb22000 - 0x7fff9cb23ffb libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
0x7fff9d3b4000 - 0x7fff9d3b5fff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9d3b7000 - 0x7fff9d3c8ff7 libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
0x7fff9d4c9000 - 0x7fff9d4cafff libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1325573
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=108.0M resident=0K(0%) swapped_out_or_unallocated=108.0M(100%)
Writable regions: Total=34.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=34.6M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Dispatch continuations 4096K 2
Kernel Alloc Once 4K 2
MALLOC 18.2M 9
MALLOC guard page 16K 4
Process Corpse Info 2048K 2
STACK GUARD 56.0M 3
Stack 10.1M 7
Stack Guard 16K 5
VM_ALLOCATE 52K 4
__DATA 2936K 52
__LINKEDIT 91.7M 9
__TEXT 16.2M 52
__UNICODE 552K 2
shared memory 28K 6
=========== ======= =======
TOTAL 201.8M 145
TERMINAL:
Using terminal I see this:
user:Shared jim$ gpg âsymmetric "encrypt_test.txt"
gpg: keyblock resource '/Volumes/MyStuff/ring/pubring.gpg': No such file or directory
gpg: keyblock resource '/Volumes/MyStuff/ring/pubring.gpg': No such file or directory
gpg: problem with the agent: End of file
gpg: problem with the agent: Not supported
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of 'encrypt_test.txt' failed: Operation cancelled
user:Shared jim$
And console says:
Process: gpg-agent [3293]
Path: /usr/local/MacGPG2/bin/gpg-agent
Identifier: gpg-agent
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Terminal [3279]
User ID: 502
Date/Time: 2018-03-27 21:34:30.724 -0700
OS Version: Mac OS X 10.11.6 (15G19009)
Report Version: 11
Anonymous UUID: A38462D2-B41C-04DF-4BD4-C82F2B432D12
Time Awake Since Boot: 11000 seconds
System Integrity Protection: enabled
Crashed Thread: 1
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
crashed on child side of fork pre-exec
Dyld Error Message:
Symbol not found: _clock_gettime
Referenced from: /usr/local/MacGPG2/bin/gpg-agent
Expected in: /usr/lib/libSystem.B.dylib
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff89065d3e __pselect + 10
1 libsystem_kernel.dylib 0x00007fff89063274 pselect$1050 + 82
2 libnpth.0.dylib 0x000000010ffc481c npth_pselect + 76
3 gpg-agent 0x000000010fe500eb handle_connections + 1755
4 gpg-agent 0x000000010fe4e34e main + 5886
5 libdyld.dylib 0x00007fff9c0e35ad start + 1
Thread 1 Crashed:
0 dyld 0x00007fff61a24075 dyld_fatal_error + 1
1 dyld 0x00007fff61a27094 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2 libdyld.dylib 0x00007fff9c0e1262 dyld_stub_binder + 282
3 ??? 0x000000010fe9a008 0 + 4561936392
4 gpg-agent 0x000000010fe650c8 get_calibrated_s2k_count + 56
5 gpg-agent 0x000000010fe566d8 cmd_getinfo + 648
6 libassuan.0.dylib 0x000000010ffb07ce dispatch_command + 686
7 libassuan.0.dylib 0x000000010ffaf8a3 assuan_process + 147
8 gpg-agent 0x000000010fe51963 start_command_handler + 483
9 gpg-agent 0x000000010fe512a2 do_start_connection_thread + 98
10 gpg-agent 0x000000010fe50ffc start_connection_thread_std + 60
11 libnpth.0.dylib 0x000000010ffc4004 thread_start + 68
12 libsystem_pthread.dylib 0x00007fff977f599d _pthread_body + 131
13 libsystem_pthread.dylib 0x00007fff977f591a _pthread_start + 168
14 libsystem_pthread.dylib 0x00007fff977f3351 thread_start + 13
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x00007fff61a5d290 rbx: 0x00007fb170d00160 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fff61a5d400 rsi: 0x0000000000000000 rbp: 0x0000700000080ad0 rsp: 0x0000700000080ab8
r8: 0x00007fff61a4604c r9: 0x00000000ffffffc0 r10: 0x00007000000808a6 r11: 0x00007fff61a5d400
r12: 0x000000010fe9c8f0 r13: 0x0000000000000008 r14: 0x00007fff61a5d400 r15: 0x000000010fe95c9c
rip: 0x00007fff61a24075 rfl: 0x0000000000000246 cr2: 0x00007fff61a3033e
Logical CPU: 1
Error Code: 0x00000000
Trap Number: 3
Binary Images:
0x10fe4c000 - 0x10fe99ff7 +gpg-agent (0) <EDDA8BF2-1BD8-32DE-B747-21AF7BC95803> /usr/local/MacGPG2/bin/gpg-agent
0x10feb7000 - 0x10ff6efef +libgcrypt.20.dylib (0) <FDAB714A-CDEF-3FA6-A420-4C8B09FD3BD2> /usr/local/MacGPG2/lib/libgcrypt.20.dylib
0x10ff91000 - 0x10ff9fff3 +libgpg-error.0.dylib (0) <B9726210-3295-3B29-881B-CF99F41B64EC> /usr/local/MacGPG2/lib/libgpg-error.0.dylib
0x10ffab000 - 0x10ffb7ff7 +libassuan.0.dylib (0) <E50D9843-7B87-3A3C-BA31-24D51A7C6020> /usr/local/MacGPG2/lib/libassuan.0.dylib
0x10ffc3000 - 0x10ffc4ffb +libnpth.0.dylib (0) <107B5456-BF9B-3DB9-8998-C6361D76D2A5> /usr/local/MacGPG2/lib/libnpth.0.dylib
0x10ffce000 - 0x10ffd6fff +libintl.8.dylib (0) <D9D2C961-6824-3CFC-8391-DFCF4A9B1C1E> /usr/local/MacGPG2/lib/libintl.8.dylib
0x7fff61a23000 - 0x7fff61a5aa47 dyld (360.22) <C8E77F6D-CE86-3C5B-8576-2584A799B51E> /usr/lib/dyld
0x7fff8727f000 - 0x7fff87287fff libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
0x7fff874b2000 - 0x7fff874b7ff3 libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
0x7fff87d1c000 - 0x7fff87d4bfc3 libsystem_m.dylib (3105) <26AC4401-331F-37BB-A636-400B9D8B38DE> /usr/lib/system/libsystem_m.dylib
0x7fff8904f000 - 0x7fff8906dff7 libsystem_kernel.dylib (3248.73.5) <4765807C-1B75-3D5F-9432-8F2755B45BE8> /usr/lib/system/libsystem_kernel.dylib
0x7fff8936b000 - 0x7fff89372ff7 libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
0x7fff8a137000 - 0x7fff8a229ff7 libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib
0x7fff8a2d9000 - 0x7fff8a2d9ff7 liblaunch.dylib (765.70.1) <96D7C3EE-82E2-39AB-870F-B317A030E86D> /usr/lib/system/liblaunch.dylib
0x7fff8a744000 - 0x7fff8a74dff3 libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
0x7fff8a86f000 - 0x7fff8a8d5ff7 libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
0x7fff8b588000 - 0x7fff8b59fff7 libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
0x7fff8b66e000 - 0x7fff8b66eff7 libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
0x7fff8c7c5000 - 0x7fff8c9d2fff libicucore.A.dylib (551.51.6) <142B2AD5-0A50-3382-8213-096E925863F7> /usr/lib/libicucore.A.dylib
0x7fff8d116000 - 0x7fff8d11afff libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
0x7fff8d1e2000 - 0x7fff8d20bfff libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
0x7fff8e0bb000 - 0x7fff8e10eff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff8e415000 - 0x7fff8e417ff7 libsystem_configuration.dylib (802.40.13) <134ED2F5-378A-326B-A985-850ECC73A5C0> /usr/lib/system/libsystem_configuration.dylib
0x7fff8f51b000 - 0x7fff8f592feb libcorecrypto.dylib (335.50.1) <14B4AD6E-C2ED-3161-80C8-0AA018DC5ED7> /usr/lib/system/libcorecrypto.dylib
0x7fff8f6f5000 - 0x7fff8f706ff7 libsystem_trace.dylib (201.10.3) <D36B59EB-48D7-30D3-A6AE-328D6CA3D2AA> /usr/lib/system/libsystem_trace.dylib
0x7fff8f70c000 - 0x7fff8f799fef libsystem_c.dylib (1082.60.1) <56329DD7-DF87-370E-B56B-9AF92AD2E048> /usr/lib/system/libsystem_c.dylib
0x7fff8ff21000 - 0x7fff8ff29fef libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
0x7fff8fff5000 - 0x7fff8fff8fff libsystem_sandbox.dylib (460.60.4) <7F7457B0-F83B-34DD-A7AE-0F8937E7C2A0> /usr/lib/system/libsystem_sandbox.dylib
0x7fff902a7000 - 0x7fff902beff7 libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
0x7fff902e9000 - 0x7fff9075ffff com.apple.CoreFoundation (6.9 - 1259.20) <CFDE34FD-2227-3FD8-A8F9-00D21DCD872B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff90b5a000 - 0x7fff90ec5657 libobjc.A.dylib (680) <D55D5807-1FBE-32A5-9105-44D7AFE68C27> /usr/lib/libobjc.A.dylib
0x7fff9445f000 - 0x7fff9446aff7 libcommonCrypto.dylib (60075.50.1) <42368302-BA87-39CD-9590-CB05F35B5A8A> /usr/lib/system/libcommonCrypto.dylib
0x7fff9446b000 - 0x7fff94495ff7 libc++abi.dylib (307.4) <D24E06BF-6522-3C4A-BD0C-11C42BA4D8E8> /usr/lib/libc++abi.dylib
0x7fff95f3c000 - 0x7fff95f3cff7 libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
0x7fff960af000 - 0x7fff960f5ff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff977f2000 - 0x7fff977fbff7 libsystem_pthread.dylib (138.10.4) <88FF5FCA-6275-3F82-BAF6-1B3ED639CC2A> /usr/lib/system/libsystem_pthread.dylib
0x7fff98817000 - 0x7fff98833ff7 libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
0x7fff9964a000 - 0x7fff99673ff7 libxpc.dylib (765.70.1) <4FB1311F-4032-3F56-BF0B-CFF45D78FB01> /usr/lib/system/libxpc.dylib
0x7fff997d6000 - 0x7fff997d7fff libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
0x7fff9aeb0000 - 0x7fff9aeb8fff libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
0x7fff9b78d000 - 0x7fff9b78fff7 libquarantine.dylib (80) <9F031942-56F7-3A85-B18E-C62FFC45FB53> /usr/lib/system/libquarantine.dylib
0x7fff9c0c8000 - 0x7fff9c0c9ffb libSystem.B.dylib (1226.10.1) <261DBD02-CC8E-33A0-825F-391C00A4BEA5> /usr/lib/libSystem.B.dylib
0x7fff9c0e0000 - 0x7fff9c0e3ffb libdyld.dylib (360.22) <816EC2BB-152D-3780-A6C1-B614AF7800B8> /usr/lib/system/libdyld.dylib
0x7fff9c69c000 - 0x7fff9c6a4ffb libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff9c94c000 - 0x7fff9c951ff7 libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
0x7fff9c9bf000 - 0x7fff9c9ecfff libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
0x7fff9caae000 - 0x7fff9cab0fff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
0x7fff9cb22000 - 0x7fff9cb23ffb libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
0x7fff9d3b4000 - 0x7fff9d3b5fff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9d3b7000 - 0x7fff9d3c8ff7 libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
0x7fff9d4c9000 - 0x7fff9d4cafff libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1355833
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=108.0M resident=0K(0%) swapped_out_or_unallocated=108.0M(100%)
Writable regions: Total=26.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=26.9M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 4K 2
MALLOC 18.2M 8
MALLOC guard page 16K 4
STACK GUARD 56.0M 3
Stack 8712K 3
VM_ALLOCATE 36K 3
__DATA 2936K 52
__LINKEDIT 91.7M 9
__TEXT 16.2M 52
__UNICODE 552K 2
shared memory 8K 3
=========== ======= =======
TOTAL 194.1M 130
Support Staff 6 Posted by Luke Le on 28 Mar, 2018 10:22 AM
Hi Jim,
since I can't reproduce this error on my macOS 10.11.6 I'm wondering, if this bug is only triggered under circumstances where the .gnupg folder is not locally available. Could you please run the following command and post the output here:
Thanks!
7 Posted by miscmael on 29 Mar, 2018 01:40 AM
Hello Luke,
Here we go:
jimt:Shared jim$ gpg-agent --server
OK Pleased to meet you
^C
jimt:Shared jim$ ls -ld ~/.gnupg
drwx------ 14 jim staff 476 27 Mar 21:42 /Users/jim/.gnupg
jimt:Shared jim$
What should we try next?
- Jim
Support Staff 8 Posted by Steve on 30 Mar, 2018 06:28 PM
We fixed a specific condition that could lead to a crash in gpg-agent.
Could you please download and install our latest hotfix GPG Suite and see if that solves your problem.
All the best,
steve
Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.
9 Posted by miscmael on 07 Apr, 2018 01:53 AM
Hello Steve,
The hotfix I downloaded just now, on 2018 04 06 GPG_Suite-2132n works like I expect it to for simple passphrase symmetric encryption with no keys.
- Jim
Support Staff 10 Posted by Steve on 09 Apr, 2018 08:41 AM
Thanks for your feedback.
Glad, this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.
Best,
steve
Steve closed this discussion on 09 Apr, 2018 08:41 AM.
miscmael re-opened this discussion on 26 Jun, 2018 01:45 AM
11 Posted by miscmael on 26 Jun, 2018 01:51 AM
Hey Steve and gpg team!
So... on 2018.3 this error is happening again when trying to decrypt symmetrically encrypted files. I.e. Files encrypted with passphrase only.
Same code in the error dialog box:
32849
Updated system preferences pane image with version info attached.
Support Staff 12 Posted by Steve on 26 Jun, 2018 08:26 AM
system info for easier access
Support Staff 13 Posted by Steve on 26 Jun, 2018 10:08 AM
Jim, could you please search for any relevant crashlogs. To search for crashlogs:
We are looking for anything with gpg2, gpg-agent, dirmngr or gpg in the name. The date indicates if the crashlog is fresh or old. Very old crashlogs may not be relevant, since a new version of GPG Suite could already have fixed the problem.
Repeat above steps but this time paste '/Library/Logs/DiagnosticReports' and again look for relevant crashlogs.
When you find something relevant, please attach the crashlog to your existing discussion.
Best,
steve
14 Posted by miscmael on 27 Jun, 2018 05:21 AM
Hello Steve,
Will do in a few days. Busy with Dad stuff and guests coming soon.
- Jim
15 Posted by miscmael on 11 Jul, 2018 04:09 AM
Hello Steve,
There’s no GPG related logs at that path.
Image attached is of the error message. It’s almost like the file is decrypted, but then the output file is somehow being deleted.
Is there a different build that may have a different debug message set that we can use?
- Jim
Support Staff 16 Posted by Steve on 11 Jul, 2018 02:41 PM
Just to make sure: you checked for diagnostic reports that may be releated but couldn't find any?
See: https://gpgtools.tenderapp.com/discussions/problems/71368-symmentri...
17 Posted by miscmael on 13 Jul, 2018 04:41 AM
Hello Steve,
Correct. I just reproduced the error now, then checked /Library/Logs/DiagnosticReports but there is no gpg report there. There are other reports.
- Jim
Support Staff 18 Posted by Steve on 14 Jul, 2018 12:10 PM
Could you please send a debug log from your affected machine: Open System Preferences > GPG Suite > Send Report. Check the box to "attach debug log". Since you already described your issue in this discussion, you don't need to add a lot of detail, but please do add the link to your existing discussion, so I can then merge your debug info with this existing discussion.
And could you also please attach your gpg-agent.conf file which is located at ~/.gnupg/gpg-agent.conf
All the best,
steve
19 Posted by miscmael on 15 Jul, 2018 04:00 PM
Done! All steps followed - I hope! Let me know if I missed anything.
Support Staff 20 Posted by Steve on 22 Jul, 2018 10:03 AM
Hi Jim,
thanks for the debug data. We were able to track down a problem which should be fixed in the latest nightly build.
Could you please download and install our latest hotfix GPG Suite and see if that solves your problem.
In case you are still seeing an error, please attach another screenshot.
Enjoy your weekend,
steve
Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.
Support Staff 21 Posted by Steve on 23 Jul, 2018 10:32 AM
There are a few additional steps we need you to execute:
paste the following line
gpg --status-fd 2 -ca --passphrase 123 --pinentry-mode loopback <<<ok
Copy paste the output to this discussion.
paste the following line into Terminal.app - remove the part "/Path/to/pw123.gpg" and drag the test file you downloaded into terminal
gpg --status-fd 2 -d --passphrase 123 --pinentry-mode loopback < /Path/to/pw123.gpg
Copy paste the output to this discussion.
In case you are seeing any error message, please do create new screenshots.
All the best,
steve
22 Posted by miscmael on 24 Jul, 2018 12:03 AM
Will do. I will report back soon. Working a lot of o/t this week so it may be next week.
Jim T
23 Posted by miscmael on 29 Jul, 2018 03:17 AM
Hello Steve,
With the build I just downloaded today, 2018 07 28:
Here it is when I don’t have my offline (on usbstick) keys pluged in:
### Encrypt test:
<machinename>:<path> jim$ gpg —status-fd 2 -ca —passphrase 123 —pinentry-mode loopback <<<ok
gpg: keyblock resource ‘<path to>pubring.gpg’: No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
gpg: keyblock resource ‘<path to>pubring.gpg': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
[GNUPG:] NEED_PASSPHRASE_SYM 9 3 2
[GNUPG:] BEGIN_ENCRYPTION 2 9
-----BEGIN PGP MESSAGE-----
jA0ECQMCCkGLbEgJUevX0jgBCRSskbJLc39wfbhVkTwsTValzeIDhFw7DLVzSheX
yQlCHMBECb3lSeu+hiZEU0tVn6lx0KOrrw==
=bLfb
-----END PGP MESSAGE-----
[GNUPG:] END_ENCRYPTION
<machinename>:<path> jim$
### Decrypt test:
gpg --status-fd 2 -d --passphrase 123 --pinentry-mode loopback pw123.gpg
gpg: keyblock resource '/Volumes/MyStuff/ring/pubring.gpg': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
gpg: keyblock resource '/Volumes/MyStuff/ring/pubring.gpg': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
gpg: AES encrypted data
[GNUPG:] NEED_PASSPHRASE_SYM 7 3 2
gpg: encrypted with 1 passphrase
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_COMPLIANCE_MODE 23
[GNUPG:] DECRYPTION_INFO 2 7
[GNUPG:] PLAINTEXT 62 1531900096
[GNUPG:] PLAINTEXT_LENGTH 15
yep, it works!
[GNUPG:] DECRYPTION_OKAY
[GNUPG:] GOODMDC
[GNUPG:] END_DECRYPTION
Support Staff 24 Posted by Steve on 09 Aug, 2018 09:28 AM
Hi miscmail,
there have been additional fixes. Could you please (again) download and install our latest hotfix GPG Suite.
Then please test the following:
Download the pw123.gpg file from comment 21 and decrypt the file with GPGServices.
Then encrypt any file or message using symmetric encryption. If you are seeing any error messages please attach screenshots of the messages.
All the best,
steve
Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.
25 Posted by miscmael on 09 Aug, 2018 12:06 PM
Will do. I will reply again in a few days.
Jim T
26 Posted by miscmael on 10 Aug, 2018 04:06 AM
Hello Steve,
The nightly build was the same nightly build number I downloaded from the other week if I am to tell by the filename. Is this ok?
Here's the result of the test in the terminal. Note machine:path , username$, and are privacy substitutions FWIW...I think I could be being a bit silly there but anyway.
machine:path username$ gpg -d pw123.gpg
gpg: keyblock resource 'pubring.gpg': No such file or directory
gpg: keyblock resource 'pubring.gpg': No such file or directory
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
yep, it works!
machine:path username$ gpg -c sn-641.pdf
gpg: keyblock resource 'pubring.gpg': No such file or directory
gpg: keyblock resource 'pubring.gpg': No such file or directory
File 'sn-641.pdf.gpg' exists. Overwrite? (y/N) y
machine:path username$
Support Staff 27 Posted by Steve on 17 Aug, 2018 11:44 AM
So did the operation succeed for you? It looks good since there was no output of any error message.
28 Posted by miscmael on 18 Aug, 2018 03:14 AM
Hello Steve,
I’m not sure I tested the right version. The nighly build link was for the same build as I had tested earlier in June I think. Was that intended? Just checking in case some details were lost in all the work you and the team are doing.
But yes, the version I reported using, did successfully do a symmetric encryption without signatures.
- Jim
Support Staff 29 Posted by Steve on 20 Aug, 2018 12:48 PM
The link always stays the same. The version being offered does change though.
I think you should be fine now.
If you run into further trouble, don't hesitate to re-open or file a new discussion.
Best,
steve
Steve closed this discussion on 20 Aug, 2018 12:48 PM.
miscmael re-opened this discussion on 21 Aug, 2018 04:12 AM
30 Posted by miscmael on 21 Aug, 2018 04:12 AM
Hello Steve,
Does the build number at the link stay the same? In June or July I downloaded GPG_Suite-2258n.dmg and again in August it was GPG_Suite-2258n.dmg.
Did I use the correct version for the test?
- Jim