Feed Advanced Search

Nov 12 2019

aheinecke added a commit to T4030: GpgEX: Use process calls instead of UIServer protocol: rM1b2ad3b73c37: doc: Remove UI Server documentation.
Nov 12 2019, 11:09 AM · gpgex, gpg4win
aheinecke raised the priority of T4030: GpgEX: Use process calls instead of UIServer protocol from Wishlist to Normal.

This should be normal priority as we continue to receive bug reports about UIServer and the usage in GpgEX of the UIServer protocol keeps us from removing it in Kleopatra.

Nov 12 2019, 11:02 AM · gpgex, gpg4win
aheinecke added a subtask for T4748: GpgEX: Allow updating through Gpg4win: T4746: Gpg4win: Silent updates.
Nov 12 2019, 10:19 AM · gpg4win, gpgex
aheinecke created T4748: GpgEX: Allow updating through Gpg4win.
Nov 12 2019, 10:19 AM · gpg4win, gpgex

Feb 27 2019

aheinecke claimed T4355: GpgEX/Verify: signature with non-standard file name causes misleading error message .

I'll try to reproduce it.

Feb 27 2019, 12:54 PM · gpgex, Bug Report

Jan 30 2019

werner added a project to T4355: GpgEX/Verify: signature with non-standard file name causes misleading error message : gpgex.
Jan 30 2019, 6:49 PM · gpgex, Bug Report

Jun 18 2018

aheinecke closed T3387: explorer context menu items do not start Kleopatra as Resolved.

We did not have more reports about this so I'm resolving it here.

Jun 18 2018, 4:41 PM · gpgex, gpg4win, Bug Report
aheinecke created T4030: GpgEX: Use process calls instead of UIServer protocol.
Jun 18 2018, 4:39 PM · gpgex, gpg4win

Apr 3 2018

aheinecke created T3874: GpgEX: More icons for actions.
Apr 3 2018, 12:32 PM · gpgex

Mar 29 2018

aheinecke added a commit to T3851: GpgEx: Icon has a white background in the context menu: rX4fbbd134b865: Use PNG icon and update to modern GpgEX icon.
Mar 29 2018, 2:59 PM · gpg4win, gpgex
aheinecke added a parent task for T3851: GpgEx: Icon has a white background in the context menu: T3742: Gpg4win 3.1.0.
Mar 29 2018, 2:34 PM · gpg4win, gpgex
aheinecke closed T3851: GpgEx: Icon has a white background in the context menu as Resolved.

fixed with rev. 4fbbd134b865b1203b1914eb1623fa65aab8cb75

Mar 29 2018, 2:34 PM · gpg4win, gpgex

Mar 21 2018

aheinecke created T3851: GpgEx: Icon has a white background in the context menu.
Mar 21 2018, 8:18 AM · gpg4win, gpgex

Jan 29 2018

al_b added a comment to T3761: Kleopatra: Crash After Verifying Detached Signature.

Confirming this bug in Gpg4win version 3.0.3 (previous version was OK).

Jan 29 2018, 8:31 PM · gpg4win, kleopatra, Bug Report
Jawsh created T3761: Kleopatra: Crash After Verifying Detached Signature.
Jan 29 2018, 11:09 AM · gpg4win, kleopatra, Bug Report

Nov 29 2017

Nillth added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Sorry for the delay, been a busy busy couple of weeks..

Nov 29 2017, 3:03 AM · gpg4win, Windows, gpgex, Bug Report

Nov 28 2017

aheinecke closed T3470: Issue with the Sign and Encrypt Explorer Context Menu option as Resolved.

Setting this to resolved until we get reports to the contrary.

Nov 28 2017, 3:55 PM · gpg4win, Windows, gpgex, Bug Report
aheinecke closed T1643: gpgex context menu should allow symmetric encryption as Resolved.

As GpgEX only queries a UI Server (GPA or Kleopatra) this is a Kleopatra or GPA problem.
With Gpg4win-3.0 Kleopatra got the option "Encrypt with password" in the file encryption dialog, which does symmetric encryption. GPA does not offer this but as Kleopatra is our main UI for GpgEX I think this feature request is done.

Nov 28 2017, 3:49 PM · gpgex, Feature Request

Nov 27 2017

aheinecke triaged T3387: explorer context menu items do not start Kleopatra as Normal priority.

The only way I can think of that this fails if that there are some old files from a gpg4win installation that was not cleanly removed lying around and failing to start.

Nov 27 2017, 1:35 PM · gpgex, gpg4win, Bug Report

Nov 21 2017

JochenSaalfeld closed T2873: GpgEX crashes attempting to encrypt a file as Resolved.

Since there was no action for half a year, I think this task can be closed.

Nov 21 2017, 1:04 PM · Bug Report, gpgex
JochenSaalfeld added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

With the Release of Gpg4win 3.0.1 this error doesn't appear anymore for me while testing.

Nov 21 2017, 12:47 PM · gpg4win, Windows, gpgex, Bug Report

Nov 14 2017

aheinecke changed the status of T3470: Issue with the Sign and Encrypt Explorer Context Menu option from Open to Testing.

Multiple bugs fixed here:

Nov 14 2017, 2:35 PM · gpg4win, Windows, gpgex, Bug Report

Nov 13 2017

aheinecke claimed T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Thanks for the report. This is indeed badly broken. I'll work on this now.
I can reproduce and also have a reproducable crash when trying to encrypt a special folder. This must be a recent regression because I tested this some months ago and it worked fine.

Nov 13 2017, 2:44 PM · gpg4win, Windows, gpgex, Bug Report

Oct 28 2017

Nillth added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Hi,
I have tried this on Windows 10 (1511,1703,1709&RS4TP)
Gpg4win Version 3.0.0
Regards

Oct 28 2017, 3:46 AM · gpg4win, Windows, gpgex, Bug Report
cuenta added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Hi,
I was using Windows 7 Professional.
The last version that worked was gpg4win 2.3.4 (I didn't try any beta or rc), and encryption/decryption works fine for single files.

Oct 28 2017, 12:40 AM · gpg4win, Windows, gpgex, Bug Report

Oct 27 2017

bernhard updated subscribers of T3470: Issue with the Sign and Encrypt Explorer Context Menu option.
Oct 27 2017, 10:56 AM · gpg4win, Windows, gpgex, Bug Report
bernhard added projects to T3470: Issue with the Sign and Encrypt Explorer Context Menu option: Windows, gpg4win.
Oct 27 2017, 10:54 AM · gpg4win, Windows, gpgex, Bug Report
bernhard added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Hi, thanks for the report.

Oct 27 2017, 10:53 AM · gpg4win, Windows, gpgex, Bug Report
cuenta added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

I have also experience the same bug and reported it on:
https://bugs.kde.org/show_bug.cgi?id=385390

Oct 27 2017, 10:38 AM · gpg4win, Windows, gpgex, Bug Report
Nillth updated the task description for T3470: Issue with the Sign and Encrypt Explorer Context Menu option.
Oct 27 2017, 2:45 AM · gpg4win, Windows, gpgex, Bug Report
Nillth created T3470: Issue with the Sign and Encrypt Explorer Context Menu option.
Oct 27 2017, 2:43 AM · gpg4win, Windows, gpgex, Bug Report

Oct 24 2017

JochenSaalfeld added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

Since this is a bug that is related to two different parts of the gpg4win package, this bug now only cares about the GpgOL Issue, that GpgOL crashes and cant decrypt messages from the sent folder that are encrypted with S/MIME. All File Based Issues are belonging to Kleopatra are documentet in the KDE Phabricator (https://phabricator.kde.org/T7310).

Oct 24 2017, 11:13 AM · gpg4win, gpgol, Bug Report
JochenSaalfeld added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.
  1. Mails encrypted with S/MIME are stored with "No Data" in the sent EMail folder, but arrive properly at the recipients (you will recieve a readable copy, if you add yourself to the list of recipients). This Issue breaks the GpgOL Plugin after some time which is leading to the described Problem.
Oct 24 2017, 9:42 AM · gpg4win, gpgol, Bug Report

Oct 23 2017

JochenSaalfeld added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.
  1. Files that are Signed and Encrypted to a S/MIME Certificate is broken. When you select a file and encrypt and sign it to a recipient, only a detached signature will be created and the Encrpyted file is missing. (Very similar to Issue 1, but file based).

https://phabricator.kde.org/D8368

Oct 23 2017, 9:50 AM · gpg4win, gpgol, Bug Report

Oct 19 2017

JochenSaalfeld added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

So far we could recreate the following issues:

Oct 19 2017, 12:37 PM · gpg4win, gpgol, Bug Report

Oct 17 2017

JochenSaalfeld merged T3421: Outlook 2010-64bit crashes when opening encrypted message in sent messages and certiface of this message is in "other certificates" insted "trusted certificates" into T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.
Oct 17 2017, 8:40 AM · gpg4win, gpgol, Bug Report
JochenSaalfeld merged T3450: Gpg4win 3.0.0: Outlook crashes when pasting E-Mail Adress from Outlook Adress book in new email when PGP-Signing is activated into T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.
Oct 17 2017, 8:38 AM · gpg4win, gpgol, Bug Report
JochenSaalfeld updated subscribers of T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

There are more Logfiles:

Oct 17 2017, 8:37 AM · gpg4win, gpgol, Bug Report

Oct 11 2017

werner assigned T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL to JochenSaalfeld.
Oct 11 2017, 9:00 AM · gpg4win, gpgol, Bug Report

Oct 10 2017

werner added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

See T3441 for one additional screenshot with error codes.

Oct 10 2017, 8:06 AM · gpg4win, gpgol, Bug Report
werner merged T3441: GpgOL is displayed in Menu Ribbon, but doesn't work as intended into T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.
Oct 10 2017, 8:05 AM · gpg4win, gpgol, Bug Report
werner added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

The log file shows that gpgex (or explorer) crashes.

Oct 10 2017, 8:03 AM · gpg4win, gpgol, Bug Report
werner added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

The output from gpgsm -K in the last quote is perfectly okay. -K works by iterating over all public keys and checking for each public key whether the private key part is also available. If the private key is not available gpg-agent returns an error.

Oct 10 2017, 8:01 AM · gpg4win, gpgol, Bug Report

Oct 9 2017

JochenSaalfeld added a subtask for T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL: T3441: GpgOL is displayed in Menu Ribbon, but doesn't work as intended.
Oct 9 2017, 2:47 PM · gpg4win, gpgol, Bug Report
JochenSaalfeld created T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.
Oct 9 2017, 2:46 PM · gpg4win, gpgol, Bug Report

Sep 12 2017

werner added projects to T3387: explorer context menu items do not start Kleopatra: gpg4win, gpgex.
Sep 12 2017, 9:46 AM · gpgex, gpg4win, Bug Report

Jul 27 2017

aheinecke changed the status of T2873: GpgEX crashes attempting to encrypt a file from Open to Testing.

Sorry to have overlooked your report initially.
We fixed some bugs related to this. Can you please try with the latest Beta from https://files.gpg4win.org/Beta/current/

Jul 27 2017, 8:50 AM · Bug Report, gpgex

Jul 26 2017

marcus assigned T2873: GpgEX crashes attempting to encrypt a file to aheinecke.

The beta is not released, but maybe Andre can make use of that info.

Jul 26 2017, 3:10 PM · Bug Report, gpgex

Jul 17 2017

marcus renamed T1643: gpgex context menu should allow symmetric encryption from Context menu: Symmetric encryption to gpgex context menu should allow symmetric encryption.
Jul 17 2017, 2:55 PM · gpgex, Feature Request

Jun 28 2017

marcus closed T1660: Wrong encoding in Portuguese translation as Resolved.

Fixed in b00cf0913243ad5432e4cb859146d88b6691f9a3.

Jun 28 2017, 4:16 PM · Bug Report, gpgex

Apr 24 2017

aheinecke closed T1365: GpgEX IPC Connect fails after some uptime as Resolved.

With Gpg4win-3.0 ( https://wiki.gnupg.org/Gpg4win/Testversions ) Kleopatra is a completely different beast and I think this is fixed. I've tried it in various setups with Virtual Machines running for a long time and never had this problem anymore.

Apr 24 2017, 5:48 PM · Bug Report, gpgex, gpg4win

Mar 30 2017

admin created gpgex.
Mar 30 2017, 6:42 PM

Dec 14 2016

jdawdy added projects to T2873: GpgEX crashes attempting to encrypt a file: gpgex, Bug Report.
Dec 14 2016, 11:13 AM · Bug Report, gpgex

May 10 2016

werner closed T2279: Russian localization typo in menu. as Resolved.
May 10 2016, 8:43 AM · Bug Report, gpgex
werner added a comment to T2279: Russian localization typo in menu..

Thanks. Fixed in the repo.

May 10 2016, 8:43 AM · Bug Report, gpgex

Mar 10 2016

lockywolf added projects to T2279: Russian localization typo in menu.: gpgex, Bug Report.
Mar 10 2016, 6:00 PM · Bug Report, gpgex

Dec 8 2015

aheinecke added a project to T2170: Secure delete option for decrypted file: Won't Fix.
Dec 8 2015, 3:01 PM · gpgex, Feature Request, Won't Fix, gpg4win
aheinecke closed T2170: Secure delete option for decrypted file as Resolved.
Dec 8 2015, 3:01 PM · gpgex, Feature Request, Won't Fix, gpg4win
aheinecke added a comment to T2170: Secure delete option for decrypted file.

Secure deletion is a hard problem that depends on the operating system and the
file system used and might even depend on the hardware. I'm not sure if the way
mentioned in this wish would result in "Secure deletion".

GnuPG is not the tool for this.

Dec 8 2015, 3:01 PM · gpgex, Feature Request, Won't Fix, gpg4win
emanuel added projects to T2170: Secure delete option for decrypted file: gpg4win, Feature Request, gpgex.
Dec 8 2015, 1:50 PM · gpgex, Feature Request, Won't Fix, gpg4win

Nov 28 2014

aheinecke changed Version from gpg4win 2.2.2 to gpg4win 2.2.3 on T1624: Gpgtar fails when files have non ASCII characters.
Nov 28 2014, 3:12 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a project to T1624: Gpgtar fails when files have non ASCII characters: gpa.
Nov 28 2014, 3:12 PM · gnupg, Windows 32, Windows, Bug Report
boehmtho added a comment to T1624: Gpgtar fails when files have non ASCII characters.

I did install gpg4win 2.2.3 which does include the fix for Umlaut. I prefer to
use GPA as frontend for encryption and decryption. For decryption, I did link
.gpg to be always opened with GPA. Unfortunatly if the File or Path to the .gpg
has an Umlaut included the GPA GUI crashes. Only if I use the open button from
GPA the file can be added to the GPA frontend and decrypted. For non-umlaut
files the link to open .gpg works fine. Do you also work on GPA bugs or do I
have to report this under the GPA category?
Thank you & regards,

Nov 28 2014, 2:56 PM · gnupg, Windows 32, Windows, Bug Report

Oct 27 2014

aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

Oct 27 2014, 7:34 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

The error is now handled by Kleopatra:

http://commits.kde.org/kdepim/2a58b4cb452cdb132553c2381ce810bbc2606e55

I'm a bit scared of regressions, though as the Input handling is so
"generalized" in kleo that I don't know if I now broke cases where input errors
are expected :-/

Attached is a screenshot how it looks now with a broken gpgtar version. And
files are no longer deleted as the operation is no longer thought to be successful.

Oct 27 2014, 7:34 PM · gnupg, Windows 32, Windows, Bug Report

Oct 24 2014

aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

D192: 523_0001-Fix-gpgtar-8-bit-encoding-handling-on-Win32.patch

Oct 24 2014, 6:18 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

Werner: Please see attached Patch.

I've tested this with kleopatra and it works now to encrypt a folder which has
special characters in the local code page in filenames. And tested it on the
command line.

This should improve the status quo a lot as full utf16 file names are rarer and
gpgtar / gpg4win is not the only tool which has problems with utf16 filenames ;-)

I did not go for proper unicode support because this would mean:

  1. Convert all command line arguments from native to utf8. (Or even to expect

them to be utf-16 *brr*)

  1. Expect files-from / stdio file names to be utf8 encoded (and update the callers)
  2. Use wide char file io functions. Which would add lots of #ifdefs.

But we would have to discuss if we should do 2. also on non-Windows systems.
Currently gpgtar expects local 8 bit encoding there. So tools using gpgtar would
have to convert their arguments differently for Windows.

Oct 24 2014, 6:18 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke reassigned T1624: Gpgtar fails when files have non ASCII characters from aheinecke to werner.
Oct 24 2014, 6:18 PM · gnupg, Windows 32, Windows, Bug Report
boehmtho added a comment to T1624: Gpgtar fails when files have non ASCII characters.

Thank you for working on this problem. I also use GPA 0.9.4 for Windows as gpg
frontend. Would be great if the fix will make the file encryption working with
umlaut also in GPA and kleopatra.

Thank you & Regards
boehmtho

Oct 24 2014, 9:58 AM · gnupg, Windows 32, Windows, Bug Report

Oct 23 2014

aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

gpgtar correctly returns an exit code != 0 in case an error happens. This exit
code is eaten by kleopatra so the problem that success is reported on error is
on kleos side.

But gpgtar has the encoding problems. From the kleopatra side it looks ok file
names are handed over to gpgtar in local 8 bit encoding and not in utf-8. And
even directly on the command line it fails.

C:\Users\aheinecke\Desktop>"c:\Program Files\GNU\GnuPG\gpgtar.exe" --skip-crypto
--verbose -o c:\Users\aheinecke\Desktop\test.tar -e fäil.txt
gpgtar: error stat-ing `fΣil.txt': The system cannot find the file specified.

The problem is that internally gpgtar treats argument file names as UTF-8 and
even converts the return value from syscalls like findfirstfile to UTF-8 before
opening them. The open uses the utf8 encoded filename and fails as the file
system usually does not use utf8 file names on Windows.

A workaround would be to convert to ACP (CP_ACP (afaik ACP is correct for
filenames)) instead of converting to UTF-8. But this will not work for 💩
but as gpgex and kleopatra already fail earlier on "Non 8 bit representable
characters" this should be acceptable for now.

So two fixes need to be done:

  • Use system 8 bit encoding for open in gpgtar. -> Should fix most problems
  • Handle the return value of gpgtar correctly and escalate it to the user in

kleopatra.

  -> Should make the rest of the problems "uncritical"

I hope to get this done tomorrow evening.

Oct 23 2014, 7:06 PM · gnupg, Windows 32, Windows, Bug Report
bernhard renamed T1624: Gpgtar fails when files have non ASCII characters from gpgex does not work with umlaut to file encryption: gpgex and gpgtar does not work with umlaut.
Oct 23 2014, 11:45 AM · gnupg, Windows 32, Windows, Bug Report

Sep 12 2014

aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

accidentally removed the original reporter from the nosy. Sorry (readded)

Sep 12 2014, 2:41 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added projects to T1624: Gpgtar fails when files have non ASCII characters: Windows, gpgtar, Windows 32.
Sep 12 2014, 2:38 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke claimed T1624: Gpgtar fails when files have non ASCII characters.
Sep 12 2014, 2:38 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke updated subscribers of T1624: Gpgtar fails when files have non ASCII characters.
Sep 12 2014, 2:38 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke changed Version from gpg4win 2.2.1 to gpg4win 2.2.2 on T1624: Gpgtar fails when files have non ASCII characters.
Sep 12 2014, 2:38 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke raised the priority of T1624: Gpgtar fails when files have non ASCII characters from High to Unbreak Now!.
Sep 12 2014, 2:38 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T1624: Gpgtar fails when files have non ASCII characters.

I can reproduce this on my test system, if I just create a folder with the name
"földer" Kleopatra / gpg2 /gpgtar don't show an error they just fail silently
and create an empty archive. I guess there is some utf8 to system locale
conversion missing.

As kleopatra offers me the option to "Delete unencrypted files" after encryption
I am marking this as critical as it can lead to data loss.

At least there should be an error so that the removal after the encryption is
not done!

Sep 12 2014, 2:38 PM · gnupg, Windows 32, Windows, Bug Report

Aug 5 2014

werner removed a project from T1516: gpgex crashing Windows explorer (64 bit): Testing.
Aug 5 2014, 3:16 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
werner closed T1516: gpgex crashing Windows explorer (64 bit) as Resolved.
Aug 5 2014, 3:16 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex

Jul 30 2014

werner added a comment to T1516: gpgex crashing Windows explorer (64 bit).

I won't call that leaking memory.

Jul 30 2014, 2:38 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex

Jul 28 2014

aheinecke added a comment to T1516: gpgex crashing Windows explorer (64 bit).

With your fix it no longer crashes. But you are leaking memory in case
default_homedir returns allocated memory from read_w32_registry_string or
standard_homedir with a successful call to w32_shgetfolderpath.

As the result should be cached in the static variable this is probably not an
issue..

Jul 28 2014, 5:31 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
werner added a comment to T1516: gpgex crashing Windows explorer (64 bit).

I just pushed a fix.

The problem with gpgme is that we need to stop the Explorer if we want to update
or uninstall gpgme. Given tha we can't use gpgex with the portable version
anyway, I think it is better to keep the existing code and don't switch to gpgme.

Jul 28 2014, 10:21 AM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
werner added a project to T1516: gpgex crashing Windows explorer (64 bit): Testing.
Jul 28 2014, 10:21 AM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex

Jul 25 2014

aheinecke added a comment to T1516: gpgex crashing Windows explorer (64 bit).

Using gpgme would be nice of course to avoid duplicated functionality (this same
stuff is also implemented in gpgol although without the bug) but remember that
we would then also need a x64 version of gpgme.

Jul 25 2014, 3:52 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
werner added a comment to T1516: gpgex crashing Windows explorer (64 bit).

The bug is pretty obvious. I consider to rewrite it by calling gpgconf
--list-dirs to get the home directory. This would be simliar to what we do in
gpgme. Or well, we could link to to gpgme to and make use of its higher level
interface.

Jul 25 2014, 3:31 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex

Jul 24 2014

aheinecke added a comment to T1516: gpgex crashing Windows explorer (64 bit).

Thanks for looking at this. If you like I could test your fixes. I currently
have a build setup and a test setup where I can reproduce the crash.

Btw. Maybe I don't understand c++ enough but afaik this just makes no sense and
is broken:

  try { name = ((string) dir) + "\\S.uiserver"; } catch (...) {}

should be rather something like:
if (dir)
name = string(dir) + "\\S.uiserver";

Jul 24 2014, 9:30 AM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex

Jul 23 2014

werner added a comment to T1516: gpgex crashing Windows explorer (64 bit).

I have some fixes sitting here in my local repo. I need to check them.

Jul 23 2014, 3:17 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
aheinecke added a comment to T1516: gpgex crashing Windows explorer (64 bit).

issue1530 and T1536 also describe this bug.
I've closed the other two as duplicates as this one was the first.

Jul 23 2014, 3:05 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
aheinecke added projects to T1516: gpgex crashing Windows explorer (64 bit): Windows, gpg4win, Windows 32, Windows 64.
Jul 23 2014, 3:05 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
aheinecke added a project to T1536: gpgex crashes Win7 64bit when using GNUPGHOME: Duplicate.
Jul 23 2014, 3:03 PM · Duplicate, Windows 64, Bug Report, gpg4win, Windows, gpgex
aheinecke added a comment to T1536: gpgex crashes Win7 64bit when using GNUPGHOME.

Closing this as a duplicate of T1516

Jul 23 2014, 3:03 PM · Duplicate, Windows 64, Bug Report, gpg4win, Windows, gpgex
aheinecke added a comment to T1536: gpgex crashes Win7 64bit when using GNUPGHOME.

Duplicate of T1516

Jul 23 2014, 3:03 PM · Duplicate, Windows 64, Bug Report, gpg4win, Windows, gpgex
aheinecke closed T1536: gpgex crashes Win7 64bit when using GNUPGHOME as Resolved.
Jul 23 2014, 3:03 PM · Duplicate, Windows 64, Bug Report, gpg4win, Windows, gpgex
aheinecke closed T1530: gpgex crashing Windows 7 64bit Explorer as Resolved.
Jul 23 2014, 3:02 PM · Duplicate, Bug Report, gpgex
aheinecke added a comment to T1530: gpgex crashing Windows 7 64bit Explorer.

This is a duplicate of T1516

Jul 23 2014, 3:02 PM · Duplicate, Bug Report, gpgex
aheinecke added a comment to T1530: gpgex crashing Windows 7 64bit Explorer.

Duplicate of T1516

Jul 23 2014, 3:02 PM · Duplicate, Bug Report, gpgex
aheinecke added a project to T1530: gpgex crashing Windows 7 64bit Explorer: Duplicate.
Jul 23 2014, 3:02 PM · Duplicate, Bug Report, gpgex
aheinecke updated subscribers of T1516: gpgex crashing Windows explorer (64 bit).
Jul 23 2014, 3:01 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
aheinecke added a comment to T1516: gpgex crashing Windows explorer (64 bit).

Hi Werner,

I've reproduced this crash. Last trace before the crash is uiserver_connect.

I believe the crash (without having a backtrace) to be caused by the free in
default_socket_name or by that weird cast.

dir = default_homedir ();
if (dir)

{

	  try { name = ((string) dir) + "\\S.uiserver"; } catch (...) {}
	  free ((void *) dir);

}

    }

default_homedir can return a pointer to an environment variable or a static
string! So just calling free there is definitely a very bad idea.

standard_homedir (which might also be called from default_homedir) also returns
eiher a Heap allocated value or a static string.

I think we should ensure that default_homedir and standard_homedir always return
allocated memory so that it can be safely freed.

Jul 23 2014, 3:01 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex