Page MenuHome GnuPG

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

C++ related stuff

Recent Activity

Feb 7 2024

werner triaged T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature as Normal priority.
Feb 7 2024, 9:22 AM · gpgme, Bug Report
werner added projects to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature: gpgme, C++.
Feb 7 2024, 9:20 AM · gpgme, Bug Report

Oct 14 2022

gniibe removed 8 auditor(s) for rG8046fcac63db: po: Update Czech translation.: !assert, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_187, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_186, _Frosty_, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_1, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_10, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_100, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_101.
Oct 14 2022, 2:47 AM
canti59 added 4 auditor(s) for rG8046fcac63db: po: Update Czech translation.: _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_1, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_10, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_100, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_101.
Oct 14 2022, 2:08 AM
canti59 added 3 auditor(s) for rG8046fcac63db: po: Update Czech translation.: _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_187, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_186, _Frosty_.
Oct 14 2022, 2:07 AM

Aug 24 2022

ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

For the original issue I'd prefer to silence the error/warning with -Wno-narrowing because I think it's a non-issue. Or does changing the enum declarations to enum : unsigned int make clang happy?

Aug 24 2022, 2:34 PM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

For gpgme (as for the other GnuPG libraries) we use the good old mailing list based process for contributing patches. See doc/HACKING for details. In particular, we'll need a signed DCO from you.

Aug 24 2022, 2:20 PM · C++, gpgme, Bug Report
wrobelda added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

Yes, this is with Clang. I am working on getting it to compile on Windows with clang-cl, using vcpkg, with success. I have several patches to fix the issues that clang detected, and so I wonder if I should create a Task to discuss them all?

Aug 24 2022, 10:08 AM · C++, gpgme, Bug Report
ikloecker triaged T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing] as Low priority.
Aug 24 2022, 9:32 AM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

g++: error: unrecognized command-line option '-Wc++11-narrowing'; did you mean '-Wno-narrowing'?

Aug 24 2022, 9:23 AM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

How did you get this error? I don't even see a warning for this when building gpgme with g++ (SUSE Linux) 12.1.1 20220812.

Aug 24 2022, 9:20 AM · C++, gpgme, Bug Report

Aug 23 2022

wrobelda created T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].
Aug 23 2022, 10:05 PM · C++, gpgme, Bug Report

Aug 22 2022

ikloecker merged T6143: qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '=' into T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?).
Aug 22 2022, 3:10 PM · Restricted Project, clang, C++, gpgme, Bug Report
ikloecker closed T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?) as Resolved.

Thanks. QGpgME should now also compile with strict C++11. And C++14'isms shouldn't happen again unnoticed.

Aug 22 2022, 3:07 PM · Restricted Project, clang, C++, gpgme, Bug Report
wrobelda reopened T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?) as "Open".

Also in:

Aug 22 2022, 11:55 AM · Restricted Project, clang, C++, gpgme, Bug Report

Aug 19 2022

ikloecker closed T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?) as Resolved.
Aug 19 2022, 11:12 AM · Restricted Project, clang, C++, gpgme, Bug Report
ikloecker added a comment to T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?).

Thanks for the report! Should be fixed.

Aug 19 2022, 11:08 AM · Restricted Project, clang, C++, gpgme, Bug Report

Aug 18 2022

ikloecker claimed T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?).
Aug 18 2022, 1:28 PM · Restricted Project, clang, C++, gpgme, Bug Report
tnn2 created T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?).
Aug 18 2022, 11:51 AM · Restricted Project, clang, C++, gpgme, Bug Report

Aug 13 2021

werner changed the edit policy for C++.
Aug 13 2021, 3:53 PM

Aug 8 2018

aheinecke closed T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp as Resolved.
Aug 8 2018, 9:33 AM · C++, gpgme, Bug Report
aheinecke added a comment to T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp.

Thanks for the report. I've commited a fix. (Returning the c_str here is ok as the data is not meant to be modified once "action" is called)
Please let us know if you find additional issues.

Aug 8 2018, 9:28 AM · C++, gpgme, Bug Report

Aug 7 2018

rkovacs created T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp.
Aug 7 2018, 7:26 PM · C++, gpgme, Bug Report

Jun 21 2018

werner added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Not really. off_t is a real portability problem and this why we moved that problem out of the GPGME ABI to the application. Thus the application needs to care about mapping gpgme_off_t to whatever off_t it uses. Without that we can't provide a stable _and_ toolchain independent ABI.

Jun 21 2018, 9:28 AM · Windows, C++, gpgme, Bug Report

Jun 20 2018

aheinecke added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Thank you for pointing this out.

Jun 20 2018, 9:07 PM · Windows, C++, gpgme, Bug Report
wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Following patch fixes the issue.

Jun 20 2018, 7:08 PM · Windows, C++, gpgme, Bug Report

May 29 2018

wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Maybe the off_t mess comes from following line

May 29 2018, 3:05 PM · Windows, C++, gpgme, Bug Report
aheinecke changed the status of T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW from Open to Testing.

The gpgme c api already had a convenience function gpgme_data_rewind to do data.seek (0, SEEK_SET); As this is by far the most common seek operation. KMymoney also only uses such seeks.

May 29 2018, 9:29 AM · Windows, C++, gpgme, Bug Report

May 28 2018

wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

So what the error tells us is that "off_t" is defined as long in the declaration but as something else in the definition.

But how can that be? data.cpp includes the data.h header so they both should have the same definition of off_t.

The only thing I could imagine is that something which is included in the cpp but not in the header undef's off_t and defines it to something else.

Or more likely that the archive was compiled with a different definition of off_t then what is included in the headers when kmymoney is built.

Are you using the same mingw version as the buildchain which compiles the gpgme binary?

May 28 2018, 6:52 PM · Windows, C++, gpgme, Bug Report
aheinecke claimed T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

May 28 2018, 4:43 PM · Windows, C++, gpgme, Bug Report
werner triaged T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW as Normal priority.

You are not cross-compiling. This is not suggested and I don't have the environment to replicate this. Maybe @aheinecke can help.

May 28 2018, 2:53 PM · Windows, C++, gpgme, Bug Report
werner set the color for C++ to Orange.
May 28 2018, 2:51 PM