Page MenuHome GnuPG

gpgmeppTag
ActivePublic

Members

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

Watchers

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

Details

Description

Bugs related to the C++ language bindings for gpgme.
See also gpgmeqt

Recent Activity

Wed, Feb 18

ikloecker changed the status of T8108: gpgmepp: Improve the getrandom API from Open to Testing.
Wed, Feb 18, 10:01 AM · gpgmepp
ikloecker renamed T8108: gpgmepp: Improve the getrandom API from Gpgmepp getrandom zbase32 code has zero byte at the end to gpgmepp: Improve the getrandom API.
Wed, Feb 18, 9:23 AM · gpgmepp

Tue, Feb 17

svuorela added a comment to T8108: gpgmepp: Improve the getrandom API.

I came from it with stuffing the vector into a QByteArrayView - and then comparing it with the same string being roundtripped thru a copy/paste operation by the user.

Tue, Feb 17, 2:46 PM · gpgmepp
ikloecker added a comment to T8108: gpgmepp: Improve the getrandom API.

I explicitly keep the null byte so that you can simply pass the (pointer to the data of the) vector of bytes to the std::string c'tor. Meh! The c'tor wants const char *, but the vector is const unsigned char * so that one has to reinterpret_cast.

Tue, Feb 17, 1:58 PM · gpgmepp
svuorela added a comment to T8108: gpgmepp: Improve the getrandom API.

I don't think the trailing zero-byte should survive the conversion to c++ datastructures.

Tue, Feb 17, 10:37 AM · gpgmepp
ikloecker closed T8108: gpgmepp: Improve the getrandom API as Resolved.

I have documented the function. The documentation is essentially a copy of the documentation of gpgme_op_random_bytes which should make clear that the function essentially behaves like gpgme_op_random_bytes (except that the gpgmepp function creates a buffer instead of taking one).

Tue, Feb 17, 10:32 AM · gpgmepp
ikloecker added a project to T8108: gpgmepp: Improve the getrandom API: Documentation.
Tue, Feb 17, 10:04 AM · gpgmepp
ikloecker added a comment to T8108: gpgmepp: Improve the getrandom API.

I guess it would have been better gpgmepp API to add an additional function for getting 30 zbase32 bytes and to omit the mode flag in the generateRandomBytes function instead of mirroring the API of gpgme.

Tue, Feb 17, 10:03 AM · gpgmepp
ikloecker added a comment to T8108: gpgmepp: Improve the getrandom API.

I don't consider this a bug in gpgmepp's code. gpgmepp behaves exactly like gpgme (because it simply calls gpgme_op_random_bytes after creating a buffer of the requested size). With zbase32 you get 30 bytes zbase32 code and, if you requested more bytes, you get uninitialized additional bytes (which happen to be nullbytes, but that's more accidental than intentional). If anything then the problem is that gpgmepp's API is in general un(der)documented.

Tue, Feb 17, 9:56 AM · gpgmepp

Mon, Feb 16

svuorela added a comment to T8108: gpgmepp: Improve the getrandom API.

Yeah. It's a gpgmepp bug.

Mon, Feb 16, 10:37 AM · gpgmepp

Sun, Feb 15

werner added a comment to T8108: gpgmepp: Improve the getrandom API.

I can't speak for gpgmpp but for gpgme. And the gpgme manual says:

Sun, Feb 15, 3:21 PM · gpgmepp

Feb 13 2026

svuorela created T8108: gpgmepp: Improve the getrandom API.
Feb 13 2026, 5:25 PM · gpgmepp

Jan 14 2026

ikloecker moved T8033: gpgme: Support --export-filter from Backlog to QA for next release on the gpgme board.
Jan 14 2026, 4:34 PM · gpgmeqt, gpgmepp, gpgme, Feature Request, gpd5x
ikloecker closed T8033: gpgme: Support --export-filter as Resolved.
Jan 14 2026, 4:34 PM · gpgmeqt, gpgmepp, gpgme, Feature Request, gpd5x
ikloecker triaged T8033: gpgme: Support --export-filter as Normal priority.
Jan 14 2026, 11:31 AM · gpgmeqt, gpgmepp, gpgme, Feature Request, gpd5x

May 26 2025

ikloecker closed T7665: gpgmepp GIT head build-error as Resolved.

Fixed. Thanks for the report!

May 26 2025, 10:18 AM · gpgmepp, Bug Report
ikloecker claimed T7665: gpgmepp GIT head build-error.
May 26 2025, 9:43 AM · gpgmepp, Bug Report

May 25 2025

ametzler1 created T7665: gpgmepp GIT head build-error.
May 25 2025, 2:34 PM · gpgmepp, Bug Report

Apr 28 2025

werner created gpgmepp.
Apr 28 2025, 9:21 AM