Page MenuHome GnuPG
Feed Advanced Search

Yesterday

ikloecker committed rKLEOPATRAf99490daaf66: Make column visibility keyboard-accessible in certifications table (authored by ikloecker).
Make column visibility keyboard-accessible in certifications table
Wed, Feb 18, 5:04 PM
ikloecker committed rKLEOPATRAc770d6a4e142: Make column visibility and sort order keyboard-accessible in KeyTreeView (authored by ikloecker).
Make column visibility and sort order keyboard-accessible in KeyTreeView
Wed, Feb 18, 5:04 PM
ikloecker committed rKLEOPATRA6fcb2e6f89f8: Allow using the columns sorting menu in the toolbar (authored by ikloecker).
Allow using the columns sorting menu in the toolbar
Wed, Feb 18, 11:56 AM
ikloecker committed rKLEOPATRA7d43c998b008: Add a separator before the columns visibility and sorting menus (authored by ikloecker).
Add a separator before the columns visibility and sorting menus
Wed, Feb 18, 11:56 AM
ikloecker committed rKLEOPATRA9189bb155836: Use column menus provided by TreeView (authored by ikloecker).
Use column menus provided by TreeView
Wed, Feb 18, 11:56 AM
ikloecker committed rLIBKLEOe6e52134e88a: Ensure that last visible column cannot be hidden (authored by ikloecker).
Ensure that last visible column cannot be hidden
Wed, Feb 18, 10:56 AM
ikloecker committed rLIBKLEO16fd4c2b9dd7: Bump library version (authored by ikloecker).
Bump library version
Wed, Feb 18, 10:44 AM
ikloecker committed rLIBKLEO918050cb3064: Add menu for changing sort column and sort direction (authored by ikloecker).
Add menu for changing sort column and sort direction
Wed, Feb 18, 10:44 AM
ikloecker committed rLIBKLEOec9d13b3dbe1: Export menu to control the visible columns (authored by ikloecker).
Export menu to control the visible columns
Wed, Feb 18, 10:44 AM
ikloecker changed the status of T8108: gpgmepp: Improve the getrandom API from Open to Testing.
Wed, Feb 18, 10:01 AM · gpgmepp
ikloecker committed rGPGMEPPcc12abae9e57: doc: Update NEWS (authored by ikloecker).
doc: Update NEWS
Wed, Feb 18, 10:00 AM
ikloecker committed rGPGMEPPfea0862b4f78: Improve API to generate random bytes and z-base-32 characters (authored by ikloecker).
Improve API to generate random bytes and z-base-32 characters
Wed, Feb 18, 10:00 AM
ikloecker committed rGPGMEPP7025cb4b211b: Avoid copy of generated random bytes (authored by ikloecker).
Avoid copy of generated random bytes
Wed, Feb 18, 10:00 AM
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

ikloecker committed rGPGMEPPbd287926c866: doc: Document generateRandomBytes (authored by ikloecker).
doc: Document generateRandomBytes
Tue, Feb 17, 3:34 PM
ikloecker committed rGPGMEPPfade4bbe630b: tests: Fix conversion of random zbase32 data to string (authored by ikloecker).
tests: Fix conversion of random zbase32 data to string
Tue, Feb 17, 3:34 PM
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
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