Debian Codegraph @

ChangeLog

raw
1 2026-05-18 Werner Koch <[email protected]>
2
3 Release 2.1.0.
4 + commit 6a99d7eef09aedd768356792f38aca2cc03659da
5
6
7 2026-04-21 Ingo Klöcker <[email protected]>
8
9 Add support for new flags of encryption results.
10 + commit f12b36209758e82a53a8bfcc4ac0889bc9ecc0ed
11 * src/encryptionresult.h, src/encryptionresult.cpp (class
12 EncryptionResult): New methods isDeVs and isBetaCompliance.
13 * src/encryptionresult.cpp (EncryptionResult::Private): New
14 field res.
15 (EncryptionResult::Private::Private): Change type of argument r from
16 pointer to const-reference. Copy-construct res from r. Clear
17 invalid_recipients field of res after copying invalid recipients.
18 (EncryptionResult::init): Adapt call of Private c'tor to changed
19 argument type.
20 (operator<<): Add new flags.
21
22 2026-02-18 Ingo Klöcker <[email protected]>
23
24 Improve API to generate random bytes and z-base-32 characters.
25 + commit fea0862b4f7857f780d417e5e178fb2753f2e901
26 * src/context.h (enum class RandomMode): Deprecate.
27 (generateRandomBytes): Deprecate overload taking RandomMode parameter.
28 * src/context.h, src/context.cpp (generateRandomBytes): New overload
29 taking only size_t parameter.
30 (generateRandomZBase32String): New.
31 * src/randomresults.h (RandomZBase32StringResult): New.
32
33 * tests/run-genrandom.cpp (main): Use generateRandomZBase32String
34 instead of deprecated generateRandomBytes.
35
36 Avoid copy of generated random bytes.
37 + commit 7025cb4b211bcda5e07620f12eb806c14ca95e0d
38 * src/randomresults.h (class RandomBytesResult): Add constructor for
39 moving value into result.
40 * src/context.cpp (Context::generateRandomBytes): Use new constructor.
41
42 2026-02-17 Ingo Klöcker <[email protected]>
43
44 tests: Fix conversion of random zbase32 data to string.
45 + commit fade4bbe630b7e597d1cd3308819110490cae598
46 * tests/run-genrandom.cpp (main): Pass data to std::string constructor
47 instead of copying it byte by byte.
48
49 2025-12-10 Ingo Klöcker <[email protected]>
50
51 Use DeletionFlags in key deletion API.
52 + commit 527df234fb2fea51dfc6e9f84f3c98914b38b88e
53 * src/context.h, src/context.cpp (Context::startKeyDeletion): Add
54 overload taking DeletionFlags.
55 * src/context.cpp (Context::startKeyDeletion): Make overload taking a
56 bool use new overload.
57 * src/context.h (Context::deleteKey, Context::startKeyDeletion): Mark
58 overloads taking a bool as deprecated.
59
60 Use new Flags template for new Deletion flags.
61 + commit d8098f30da95621dff88d815ab29534fec5014e4
62 * src/global.h (DeletionFlags): Rename to...
63 (DeletionFlag): ...this. Change underlying type to unsigned int. Remove
64 UseDefaults enum value.
65 (DeletionFlags): New type for combinations of DeletionFlag. Define enum
66 flag operators for this type.
67 (operator|): Remove overload for DeletionFlags.
68 * src/context.cpp (Context::deleteKey): Adapt to above changes.
69
70 Add template class for type-safe enum-based flags.
71 + commit bb44fc70e48e8be61f5ab6352796f5c0610dd848
72 * src/CMakeLists.txt (Gpgmepp_HEADERS): Add new file.
73 * src/flags.h: New.
74 * tests/CMakeLists.txt: Add new test.
75 * tests/t-flags.cpp: New.
76
77 2025-11-19 Tobias Fella <[email protected]>
78
79 Allow passing flags to Context::deleteKey.
80 + commit 550a0666b25a84534c83237b211053c875fe4795
81 GnuPG-Bug-ID: 7538
82
83 2025-10-29 Ingo Klöcker <[email protected]>
84
85 Add function to get keygrips of subkey using combined algorithms.
86 + commit 71b7d24a2782d56be9560d2c6a44211aff07e0f1
87 * src/key.cpp, src/key.h (Subkey::keyGrips): New.
88
89 Add internal utility function for splitting a string into string views.
90 + commit fa1e892b1414da07aa467bda295f8981b191374d
91 * src/util.cpp, src/util.h (split_into_string_views): New.
92
93 * tests/CMakeLists.txt: Add macro _g10_add_test. Add new test.
94 * tests/t-utils.cpp: New.
95
96 2025-10-24 Ingo Klöcker <[email protected]>
97
98 Use gpgme_ssize_t everywhere.
99 + commit 268f2feea0b0c7025016170a4a2e3dee2c3aa0fd
100 * src/editinteractor.cpp (edit_interactor_callback_impl): Replace
101 ssize_t with gpgme_ssize_t.
102
103 build: Fix install with MSVC.
104 + commit e0b20e967654446dbe06b09e8d73cc97e02aac2b
105 * CMakeLists.txt: Add missing DESTINATION keyword to install arguments.
106
107 2025-06-03 Werner Koch <[email protected]>
108
109 Release 2.0.0.
110 + commit 301d39f8b97a79369292280e201e45f472d71e91
111
112
113 2025-06-03 Ingo Klöcker <[email protected]>
114
115 build: Add option CONFIGURE_FOR_DISTRIBUTION.
116 + commit 592efbfcfb61be34ede8ebe66ee8bc3952c131c6
117 * CMakeLists.txt: Add option CONFIGURE_FOR_DISTRIBUTION. Set
118 LibGpgError and Gpgme as required if option CONFIGURE_FOR_DISTRIBUTION
119 is not set. Add src (and tests) only if required dependencies were
120 found.
121
122 build: Fix logic for appending "-unknown" to version number.
123 + commit 1e948b3f3ee10806eaee282e489609fa370277d8
124 * cmake/modules/G10GetFullVersion.cmake (G10_GET_FULL_VERSION): Use
125 DEFINED to check if output variable is set.
126
127 2025-05-27 Ingo Klöcker <[email protected]>
128
129 On Windows, use gpgme_off_t and gpgme_ssize_t in the API.
130 + commit b75caf9ce2bcf3813a10bc889b4fa4e0a7d63a4e
131 * src/callbacks.cpp (passphrase_callback): Use gpgme_ssize_t.
132 (data_seek_callback): Don't cast offset to off_t.
133 * src/data.cpp (Data::Data, Data::read, Data::write, Data::seek): Use
134 gpgme_off_t and gpgme_ssize_t instead of off_t and ssize_t everywhere.
135 * src/data.h (Data::Data, Data::read, Data::write, Data::seek): On
136 Windows, use gpgme_off_t and gpgme_ssize_t in the API.
137 * src/interfaces/dataprovider.h (DataProvider::read,
138 DataProvider::write, DataProvider::seek): Ditto.
139
140 2025-05-26 Ingo Klöcker <[email protected]>
141
142 Fix wrong definition of operator<<(std::ostream &, const Error &)
143 + commit 67abbf811080645430e24eb532ff0d26ea83b0c2
144 * src/error.cpp (operator<<): Put definition in namespace GpgME.
145
146 2025-05-19 Ingo Klöcker <[email protected]>
147
148 build: Don't compile with _FILE_OFFSET_BITS=64 on Windows (MinGW)
149 + commit a13ba8a8170e81733c89af794f13839891efd563
150 * cmake/modules/G10CompilerSettings.cmake: Remove adding definition of
151 -D_FILE_OFFSET_BITS=64 for MinGW.
152
153 2025-05-15 Ingo Klöcker <[email protected]>
154
155 Move definition of functions declared in error.h to error.cpp.
156 + commit 23c297d13e0437ae88e81230ba44d97b462dc93b
157 * src/CMakeLists.txt (Gpgmepp_SOURCES): Add new file.
158 * src/context.cpp (format_error, Error::source, Error::asString,
159 Error::asStdString, Error::code, Error::sourceID, Error::isSuccess,
160 Error::isCanceled, Error::isError, Error::toErrno,
161 Error::hasSystemError, Error::setSystemError, Error::setErrno,
162 Error::fromSystemError, Error::fromErrno, Error::fromCode,
163 operator<<(std::ostream &, const Error &)): Move to...
164 * src/error.cpp: ...this new file.
165
166 Remove long obsolete feature checking API.
167 + commit ee85d38a2f9e62efa4973c46b91e9953d09d66f1
168 * src/global.h (enum Feature, enum Feature2, hasFeature): Remove.
169 * src/context.cpp (supported_features, supported_features2, hasFeature):
170 Remove.
171
172 2025-05-14 Ingo Klöcker <[email protected]>
173
174 Remove deprecated functions and types.
175 + commit 9200517f23c5b1e2df4e1773d64b2d45a3cdb864
176 src/decryptionresult.h (unsupportedAlgortihm, wrongKeyUsage): Remove.
177 src/key.h (Key::canReallySign, Key::isSecret,
178 UserID::Signature::Notation, non-const UserID::Signature::operator<
179 overload): Remove.
180 src/keygenerationresult.h (KeyGenerationResult::primaryKeyGenerated,
181 KeyGenerationResult::subkeyGenerated): Remove.
182 src/verificationresult.h (Signature::Notation,
183 Signature::wrongKeyUsage): Remove.
184
185 Add CreationFlags and simplify API of createKey and createSubkey.
186 + commit d3559c8abcfe8dd66e3a674d041459ab5341b956
187 * src/context.h (enum Context::CreationFlags): New.
188 (Context::createKey, Context::startCreateKey, Context::createSubkey,
189 Context::startCreateSubkey): Add overload. Deprecate old overload.
190 (Context::createKeyEx): Deprecate.
191 (operator|, operator|=): New.
192 * src/context.cpp ((Context::createKey, Context::startCreateKey,
193 Context::createSubkey, Context::startCreateSubkey): Define new overload.
194
195 * tests/CMakeLists.txt: Add new test program.
196 * tests/run-createkey.cpp: New.
197
198 2025-05-13 Ingo Klöcker <[email protected]>
199
200 New decrypt flag DecryptListOnly.
201 + commit 8b853b09d54242dcf3978303f407a1106db747d1
202 src/context.h (enum DecryptionFlags): Add value DecryptListOnly.
203
204 2025-05-12 Ingo Klöcker <[email protected]>
205
206 Make checking if Error represents success or error more easy.
207 + commit 836885ea9c68b57e27d463130cfeb73e5849bcd8
208 * src/context.cpp, src/error.h (Error::isSuccess, Error::isError): New.
209 * src/error.h (Error::operator bool): Use Error::isError.
210
211 Replace usage of safe-bool idiom with explicit conversion operator.
212 + commit 4b9b73a8b2da170772e8900f7cb479c022b1ec05
213 * src/global.h (GPGMEPP_MAKE_SAFE_BOOL_OPERATOR): Remove.
214 * src/configuration.h (class Component, class Option, class Argument):
215 Replace "safe bool operator" with explicit operator bool.
216 * src/error.h (class Error): Ditto.
217
218 2025-05-06 Ingo Klöcker <[email protected]>
219
220 build: Append the linker search paths to the RPATH for installed targets
221 + commit 2b30653d48b52bab2c4a00eff288303279b491e0
222 * cmake/modules/G10CMakeSettings.cmake: For Unix systems, enable
223 CMAKE_INSTALL_RPATH_USE_LINK_PATH.
224
225 2025-05-05 Carl Schwan <[email protected]>
226
227 Add missing Context::EncryptionFlags.
228 + commit 7a82afe66309cb7aa9956586d11749be6c6dd6e5
229 * src/context.cpp: Add AddRecipient and ChangeRecipient enum value
230
231 2025-04-11 Ingo Klöcker <[email protected]>
232
233 Add missing transition and remove two ignored (and wrong) transitions.
234 + commit 5b77f4072d03342b8719bbe93fc77641fffb476a
235 * src/gpgsignkeyeditinteractor.cpp (makeTable): Remove two transitions.
236 Add one transition.
237
238 2025-04-10 Ingo Klöcker <[email protected]>
239
240 Validate the transition map.
241 + commit 6f2e91d4d25afa6934ceaf1563a4d826a904d644
242 * src/gpgsignkeyeditinteractor.cpp (makeTable): Assert that all
243 transitions go from one state to a different state.
244
245 Ensure that all transitions go from one state to a different state.
246 + commit aee2b30482406e677dbddf1a68b2a11a5dc70adf
247 * src/gpgsignkeyeditinteractor.cpp (makeTable): Replace transitions from
248 CONFIRM to CONFIRM with transitions from CONFIRM to CONFIRM2 and vice
249 versa. Add transitions from CONFIRM2 to some other state for all
250 transitions from CONFIRM to some other state.
251
252 2025-03-24 Ingo Klöcker <[email protected]>
253
254 Add API for generating random bytes and single random values.
255 + commit a68baf81e3dfdb51c961de3f2f4e4d670d899f63
256 * src/randomresults.h: New.
257 * src/CMakeLists.txt: Add new file.
258 * src/context.h (class Context): Add enum RandomMode.
259 * src/context.h, src/context.cpp (class Context): Add member
260 functions generateRandomBytes and generateRandomValue.
261
262 * tests/run-genrandom.cpp: New.
263 * tests/CMakeLists.txt: Add new file.
264
265 2025-02-26 Ingo Klöcker <[email protected]>
266
267 Remove never working TrustItem listing functionality.
268 + commit 532bc8b248ccc8f5805ce47d42f1838a378a4260
269 * src/CMakeLists.txt (Gpgmepp_SOURCES): Remove trustitem.cpp.
270 (Gpgmepp_HEADERS): Remove trustitem.h.
271 * src/context.cpp, src/context.h (class Context): Remove member
272 functions startTrustItemListing, nextTrustItem, endTrustItemListing.
273 * src/context_p.h (enum Context::Private::Operation): Remove value
274 TrustList.
275 * src/eventloopinteractor.cpp (EventLoopInteractor::Private::eventIOCb):
276 Remove handling of event GPGME_EVENT_NEXT_TRUSTITEM.
277 * src/eventloopinteractor.h (EventLoopInteractor): Remove pure virtual
278 nextTrustItemEvent.
279 * src/trustitem.cpp, src/trustitem.h: Remove files.
280
281 build: Require same major/minor version of gpgme as version of gpgmepp.
282 + commit 6f94663cfc2c3d212be4bd9475ef95c94f5f9c08
283 * CMakeLists.txt: Set GPGME_REQUIRED_VERSION to
284 VERSION_MAJOR.VERSION_MINOR.0.
285
286 2025-01-29 Ingo Klöcker <[email protected]>
287
288 build: Run chmod instead of using cmake's file CHMOD command.
289 + commit 69dde050edd4ef9da8d5879bb2f4c9de07d86f5e
290 * cmake/modules/G10AddDistTargets.cmake,
291 cmake/modules/G10AddReleaseTargets.cmake,
292 cmake/modules/G10GitHooks.cmake: Replace file(CHMOD ...) with
293 execute_process(COMMAND chmod +x ...).
294
295 doc: Update build instructions and some other documentation.
296 + commit 6df272737689e3221e7115a0e064ec9e912df9fe
297 * INSTALL: Remove.
298 * INSTALL.md: New.
299 * README: Remove remark about missing key edit interface. Update
300 reference to tests in QGpgME. Mention examples in tests folder. Update
301 URL of KDE's coding style.
302 * README.GIT: Remove.
303 * doc/HACKING: Update URL of KDE's coding style. Add information about
304 GPGMEPP_INTERACTOR_DEBUG variable.
305
306 2025-01-22 Ingo Klöcker <[email protected]>
307
308 build: Optionally, add host value to gpgmepp's pkgconfig file.
309 + commit 415ac3f1adfa466d2cfcf683fbd6b61443cec787
310 * CMakeLists.txt: Add option PKGCONFIG_HOST (default "").
311 * src/CMakeLists.txt: Set replacement for pkgconfig_host_line variable
312 referenced in gpgmepp.pc.in if PKGCONFIG_HOST is set.
313 * src/gpgmepp.pc.in: Add placeholder for pkgconfig_host_line.
314
315 build: Allow building gpgmepp as static library.
316 + commit 8422057b85f8b5923166997e0ebf0d5b5646a833
317 * CMakeLists.txt: Add options ENABLE_SHARED (default ON) and
318 ENABLE_STATIC (default OFF). Build tests only with the shared library.
319 * src/CMakeLists.txt: Add target Gpgmepp for the shared library if
320 ENABLE_SHARED is true. Add target GpgmeppStatic for the static library
321 if ENABLE_STATIC is true. Set sources, includes, properties, etc. only
322 for enabled targets. If the shared library isn't built then generate the
323 export header with a dummy shared library. Install the cmake config
324 files only for the shared library.
325
326 build: Always compile with _FILE_OFFSET_BITS=64 on Windows (MinGW)
327 + commit 629daa8492de4c0a42e4a3be31eafad072a4524b
328 * cmake/modules/G10CompilerSettings.cmake: Add -D_FILE_OFFSET_BITS=64
329 for MinGW.
330
331 2025-01-20 Ingo Klöcker <[email protected]>
332
333 build: Add the usual Git hooks.
334 + commit a06f8d41bbaeec10230d0e5067517cab79b6326e
335 * CMakeLists.txt: Include G10GitHooks. Call g10_configure_git_hooks.
336 * cmake/modules/G10GitHooks.cmake: New.
337
338 build: Add custom targets only on Unix-like systems.
339 + commit ffa48fbaf787d25a1f632aaf8244e4ca479b8709
340 * CMakeLists.txt: Call g10_add_gen_changelog_target,
341 g10_add_dist_targets, and g10_add_release_targets only for UNIX.
342
343 build: Add "gen-swdb", "release", and "sign-release" targets.
344 + commit 8747ce7ff4cca73052ae48884f2edfe4ad31e110
345 * CMakeLists.txt: Include G10AddReleaseTargets. Add the release targets.
346 * cmake/modules/G10AddReleaseTargets.cmake,
347 cmake/modules/g10_generate_swdb.sh.in, cmake/modules/g10_release.sh.in,
348 cmake/modules/g10_sign-release.sh.in: New.
349
350 build: Generate ChangeLog and add it to the tarball.
351 + commit f1698cb2a6f009990dcfa7709ead2b7974012e36
352 * .gitattributes: New.
353 * CMakeLists.txt: Include G10AddGenChangeLogTarget. Add "gen-ChangeLog"
354 target. Make "dist" target depend on "gen-ChangeLog" target.
355 * cmake/modules/G10AddGenChangeLogTarget.cmake,
356 cmake/modules/g10_generate_ChangeLog.cmake.in: New.
357
358 build: Add "dist" and "distcheck" targets.
359 + commit 585c31afca6e94cf71a0b890a4474e051bf322cc
360 * CMakeLists.txt: Include G10AddDistTargets. Set EXTRA_DIST. Add "dist"
361 and "distcheck" target.
362 * cmake/modules/G10AddDistTarget.cmake, cmake/modules/g10_dist.sh.in,
363 cmake/modules/g10_distcheck.sh.in: New.
364
365 build: Add "uninstall" target.
366 + commit d7890971eb2e1ac1533b55ae55d1200e9a635e0f
367 * CMakeLists.txt: Include ECMUninstallTarget.
368 * cmake/modules/ECMUninstallTarget.cmake,
369 cmake/modules/ecm_uninstall.cmake.in: New.
370
371 build: Add cmake files for building the tests.
372 + commit dacfe7f9cad56e368afaec9368ac49504b5ee2bc
373 * CMakeLists.txt: Add subdirectory tests to the build.
374 * cmake/modules/G10CMakeSettings.cmake: Add option BUILD_TESTING.
375 * tests/CMakeLists.txt: New.
376 * tests/Makefile.am: Remove.
377 * tests/README: Update.
378
379 build: Generate and install pkg-config file with cmake.
380 + commit ffcd1ca3b7aba8ffbec05fedc9ebb88b8eeea402
381 * src/CMakeLists.txt: Generate and install gpgmepp.pc.
382 * src/gpgmepp.pc.in: Use cmake variables. Use ${prefix}/${exec_prefix}
383 for exec_prefix, includedir, libdir. Remove host. Use fixed values for
384 Cflags and Libs.
385
386 build: Create VERSION file with full version and commit ID.
387 + commit 192f4e71a52020ea7ebd230e2d13be86f2ef3f63
388 * CMakeLists.txt: Include G10GetFullVersion. Get full version and
389 commit ID. Write VERSION file.
390 * cmake/modules/G10GetFullVersion.cmake: New.
391
392 build: Generate version file and cmake config files with cmake modules.
393 + commit 6148e7e68bea3ce1d1c30df999d4dbd447fa06e0
394 * cmake/modules/ECMSetupVersion.cmake,
395 cmake/modules/ECMVersionHeader.h.in: New.
396 * cmake/modules/G10CMakeSettings.cmake: Enable versioned DLLs for MinGW
397 builds.
398 * src/CMakeLists.txt: Remove unused variables. Use ecm_setup_version
399 instead of configure_file to generate gpgmepp_version.h and
400 GpgmeppConfigVersion.cmake. Use configure_package_config_file instead
401 of configure_file to generate the GpgmeppConfig.cmake files. Generate
402 the exported GpgmeppTargets*.cmake files and install them. Install the
403 Find modules.
404 * src/GpgmeppConfig.cmake.in: New.
405 * src/GpgmeppConfig-msvc.cmake.in.in, src/GpgmeppConfig-w32.cmake.in.in,
406 src/GpgmeppConfig.cmake.in.in, src/GpgmeppConfigVersion.cmake.in,
407 src/gpgmepp_version.h.in: Remove.
408
409 build: Generate the export header.
410 + commit 08760bd6352828a599fb0f0f7be5374e0bc96167
411 * src/CMakeLists.txt: Remove compile definition BUILDING_GPGMEPP. Remove
412 gpgmepp_export.h from gpgmepp_HEADERS. Use generate_export_header
413 to generate gpgmepp_export.h. Create a copy of the export header in a
414 gpgme++/ folder in the build folder. Install the generated header.
415 * src/gpgmepp_export.h: Remove.
416 * src/interfaces/{assuantransaction.h,dataprovider.h,statusconsumer.h}:
417 Include export header with gpgme++/gpgmepp_export.h.
418
419 build: Move common cmake and compiler settings to cmake modules.
420 + commit 94bc585c92d2d693da9f9040b18defbed2b7c0e4
421 * CMakeLists.txt: Don't set a few variables. Include G10CMakeSettings
422 and G10CompilerSettings.
423 * cmake/modules/G10CMakeSettings.cmake,
424 cmake/modules/G10CompilerSettings.cmake: New.
425 * src/CMakeLists.txt: Don't set include directories for PRIVATE and
426 PUBLIC scope. Set include directory for INTERFACE scope.
427
428 build: Add support for cmake and remove support for autotools.
429 + commit 106eb525bafa6df94229625ef92ead5e0c0ab156
430 * CMakeLists.txt, cmake/modules/FindGpgme.cmake,
431 cmake/modules/FindLibGpgError.cmake, src/CMakeLists.txt,
432 src/GpgmeppConfig-msvc.cmake.in.in: New.
433 * Makefile.am, autogen.rc, autogen.sh, build-aux/compile,
434 build-aux/config.guess, build-aux/config.sub, build-aux/depcomp,
435 build-aux/install-sh, build-aux/libtool-patch.sed, build-aux/ltmain.sh,
436 build-aux/missing, build-aux/mkinstalldirs, configure.ac,
437 m4/ax_cxx_compile_stdcxx.m4, m4/ax_gcc_func_attribute.m4,
438 m4/gpg-error.m4, m4/gpgme.m4, m4/libtool.m4, m4/ltoptions.m4,
439 m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, src/Makefile.am:
440 Remove.
441
442 2024-12-10 Ingo Klöcker <[email protected]>
443
444 doc: Fix a few license headers.
445 + commit 07060c4719552a662c09accd335e86b4bc237e1d
446 * src/GpgmeppConfig-w32.cmake.in.in, src/GpgmeppConfig.cmake.in.in,
447 src/GpgmeppConfigVersion.cmake.in: Fix license headers.
448 * src/trustitem.cpp, src/trustitem.h: Fix project name.
449 * tests/run-getkey.cpp, tests/run-keylist.cpp, tests/run-verify.cpp:
450 Fix license headers.
451
452 Avoid clashes of gpgme++ headers with other headers.
453 + commit ca6c423b477d932ab2027a34379bacaa0ea410cd
454 * src/GpgmeppConfig-w32.cmake.in.in, src/GpgmeppConfig.cmake.in.in:
455 Don't put gpgme++ subfolder in interface include paths.
456
457 2024-12-05 Ingo Klöcker <[email protected]>
458
459 Add files for building the project with autotools.
460 + commit 31819fdb8b5f39720ebe50f613bcd4c867f2c166
461 * COPYING, COPYING.LESSER, INSTALL, README.GIT, autogen.sh,
462 build-aux/compile, build-aux/config.guess, build-aux/config.sub,
463 build-aux/depcomp, build-aux/install-sh, build-aux/libtool-patch.sed,
464 build-aux/ltmain.sh, build-aux/missing, build-aux/mkinstalldirs,
465 m4/ax_cxx_compile_stdcxx.m4, m4/ax_gcc_func_attribute.m4,
466 m4/gpg-error.m4, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4,
467 m4/ltversion.m4, m4/lt~obsolete.m4: New.
468 * .gitignore, AUTHORS, COPYING.LIB, ChangeLog, NEWS, autogen.rc,
469 configure.ac: New.
470 * Makefile.am (EXTRA_DIST): Add autogen.sh, autogen.rc,
471 build-aux/libtool-patch.sed, doc/DCO, doc/HACKING, VERSION.
472 (RELEASE_ARCHIVE_SUFFIX, ACLOCAL_AMFLAGS, dist-hook, distcheck-hook,
473 .PHONY, gen_start_date, gen-ChangeLog, RELEASE_NAME, release,
474 sign-release): New (copied with minor adjustments from gpgme's top-level
475 Makefile.am).
476 * build-aux/git-hooks/commit-msg: New.
477 * build-aux/git-log-footer: New (copied with some adjustments from
478 gpgme).
479 * doc/DCO, doc/HACKING: New (copied with some adjustments from gpgme).
480 * m4/gpgme.m4: New (copied from gpgme/src/gpgme.m4).
481 * src/GpgmeppConfig-w32.cmake.in.in, src/GpgmeppConfig.cmake.in.in:
482 Remove @LIBASSUAN_LIBS@ from the INTERFACE_LINK_LIBRARIES property of
483 gpgmepp.
484 * src/Makefile.am (AM_CPPFLAGS): Replace include path of gpgme relative
485 to top_builddir with @GPGME_CFLAGS@. Replace @GPGME_CPP_CFLAGS@ with
486 @GPGMEPP_CFLAGS@. Remove unneeded @LIBASSUAN_CFLAGS@.
487 (libgpgmepp_la_LIBADD): Replace relative paths of libgpgme.la with
488 @GPGME_LIBS@. Remove unneeded @LIBASSUAN_LIBS@.
489
490 * tests/Makefile.am (LDADD): Adjust paths of libgpgmepp.la. Replace
491 relative paths of libgpgme.la with @GPGME_LIBS@.
492 (AM_CPPFLAGS): Adjust include paths of source files. Replace relative
493 include paths of gpgme with @GPGME_CFLAGS@. Remove unneeded
494 @LIBASSUAN_CFLAGS@. Remove unneeded define of TOP_SRCDIR.
495
496 2024-11-14 Ingo Klöcker <[email protected]>
497
498 cpp: Add Kyber algorithm.
499 + commit 23c5fccec2d89715db9c1d2a4031471572c7ccbe
500 * lang/cpp/src/key.h (enum Subkey::PubkeyAlgo): Add AlgoKyber with
501 same value as GPGME_PK_KYBER.
502
503 2024-10-23 Ingo Klöcker <[email protected]>
504
505 cpp: Put attributes before declarations.
506 + commit 32f67e8a2eb8c06156d2cda02f7820e08ea7f1fb
507 * lang/cpp/src/key.h (UserID::Signature::Notation): Move
508 GPGMEPP_DEPRECATED before the whole typedef declaration.
509 * lang/cpp/src/verificationresult.h (Signature::Notation): Ditto.
510
511 cpp: Add/change some includes.
512 + commit c05e55bc2f320e662ca3c97ec76c7fd6fc4b0e3e
513 * lang/cpp/src/gpgaddexistingsubkeyeditinteractor.h,
514 lang/cpp/src/gpgrevokekeyeditinteractor.h: Include <string>.
515 * lang/cpp/src/key.h: Include <ctime> instead of <sys/time.h>.
516
517 2024-10-21 Ingo Klöcker <[email protected]>
518
519 cpp: Add support for new flag fields beta_compliance.
520 + commit 92227ece77d88913aedcfc9935811ba690fd530d
521 * lang/cpp/src/decryptionresult.cpp, lang/cpp/src/decryptionresult.h
522 (class DecryptionResult): Add method isBetaCompliance.
523 * lang/cpp/src/decryptionresult.cpp (operator<<): Add new flag.
524 * lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): Add method
525 isBetaCompliance.
526 (class Subkey): Add method isBetaCompliance.
527 * lang/cpp/src/key.cpp:
528 (Key::isDeVs): Remove duplicate check of is_de_vs of first subkey.
529 (operator<<): Add new flag.
530 * lang/cpp/src/verificationresult.cpp, lang/cpp/src/verificationresult.h
531 (class Signature): Add method isBetaCompliance.
532 * lang/cpp/src/verificationresult.cpp (operator<<): Add new flag.
533
534 2024-08-29 Ingo Klöcker <[email protected]>
535
536 cpp: Add pkgconfig file for gpgmepp.
537 + commit d2d410081da79a99c4d05e17232a8eb939fda9f6
538 * configure.ac: Add substitutions GPGMEPP_PKGCONFIG_LIBS,
539 GPGMEPP_PKGCONFIG_CFLAGS, GPGMEPP_PKGCONFIG_HOST. Apply them. Configure
540 gpgmepp.pc file.
541 * lang/cpp/src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
542 (EXTRA_DIST): Add gpgmepp.pc.in.
543 * lang/cpp/src/gpgmepp.pc.in: New.
544
545 2024-08-28 Ingo Klöcker <[email protected]>
546
547 cpp: Go with default answer on unknown question by key edit interface.
548 + commit 1f95cc1fa69d2c2e58f7518460b7130216d81331
549 * lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl):
550 Send empty string to edit interface if General Error occurred.
551
552 2024-08-06 Ingo Klöcker <[email protected]>
553
554 cpp: Add support for setting owner trust and for disabling keys.
555 + commit 626d2c2ee9dbad940aa57be30acd9c7bde3e9229
556 * lang/cpp/src/context.cpp, lang/cpp/src/context.h (class Context): Add
557 member functions setOwnerTrust, startSetOwnerTrust, setKeyEnabled,
558 startSetKeyEnabled.
559 * lang/cpp/src/context.cpp (owner_trust_to_string): New.
560
561 2024-07-10 Ingo Klöcker <[email protected]>
562
563 build,cpp: Fix include paths in forwarding headers in gpgme++ folder.
564 + commit 00433ef231e405fd6c7416aa5b087f8adfa776d8
565 * lang/cpp/src/Makefile.am (build rule for copied headers): Write
566 abs_srcdir instead of srcdir in the generated headers.
567
568 2024-07-05 Ingo Klöcker <[email protected]>
569
570 cpp: Deprecate Error::asString and update users.
571 + commit c5d0e390133f6efb011a6cd7b0ed3c0c63e01e7b
572 * lang/cpp/src/error.h (Error::asString): Mark as deprecated.
573 * lang/cpp/src/context.cpp (operator<<),
574 lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl),
575 lang/cpp/tests/run-getkey.cpp (main),
576 lang/cpp/tests/run-keylist.cpp (main),
577 lang/cpp/tests/run-wkdlookup.cpp (main): Use Error::asStdString instead
578 of Error::asString.
579
580 cpp: Add safer member function returning text describing an error.
581 + commit 21ff2e210c34959ba410e66e8874d43150494d45
582 * lang/cpp/src/error.h, lang/cpp/src/context.cpp (class Error): New
583 member function asStdString.
584
585 build,cpp: Create forwarding headers in a gpgme++ folder.
586 + commit 2d3499295edf1f6ef9aa2c1330735ee022ad9bea
587 * lang/cpp/src/Makefile.am (copied_headers): New.
588 (build rule for all copied headers): New.
589 (BUILT_SOURCES): New.
590 (CLEANFILES): Add copied_headers.
591
592 2024-06-28 Ingo Klöcker <[email protected]>
593
594 cpp: Remove obsolete files.
595 + commit bc0693c200cbb56997e5f864b9fbb678dffab88b
596 * lang/cpp/src/context_glib.cpp, lang/cpp/src/context_qt.cpp: Remove.
597
598 2024-06-10 Ingo Klöcker <[email protected]>
599
600 cpp: Remove commented out and disabled code.
601 + commit e7b9c5f5b5caefcade1574f9413f6fd7f73e6417
602 * lang/cpp/src/configuration.cpp: Remove disabled, abandoned code.
603 * lang/cpp/src/context.cpp: Remove commented out, obsolete code.
604
605 2024-05-24 Ingo Klöcker <[email protected]>
606
607 cpp: Fix includes in public headers.
608 + commit 0b867d8336a1c9199af8e2935c0fc57f6df4c04f
609 * lang/cpp/src/defaultassuantransaction.h,
610 lang/cpp/src/gpgadduserideditinteractor.h,
611 lang/cpp/src/gpgagentgetinfoassuantransaction.h,
612 lang/cpp/src/gpggencardkeyinteractor.h,
613 lang/cpp/src/gpgsetexpirytimeeditinteractor.h,
614 lang/cpp/src/gpgsetownertrusteditinteractor.h,
615 lang/cpp/src/gpgsignkeyeditinteractor.h,
616 lang/cpp/src/interfaces/assuantransaction.h,
617 lang/cpp/src/interfaces/dataprovider.h,
618 lang/cpp/src/interfaces/statusconsumer.h,
619 lang/cpp/src/scdgetinfoassuantransaction.h,
620 lang/cpp/src/statusconsumerassuantransaction.h,
621 lang/cpp/src/trustitem.h: Use #include "foo.h" instead of
622 #include <foo.h> for own headers.
623
624 2024-05-22 Tobias Fella <[email protected]>
625
626 qt,cpp: Implement adding ADSKs to existing keys.
627 + commit c906985ff29d9311676a24eb1a2887e8f725c409
628 * lang/cpp/src/context.cpp: Add functions for adding ADSKs.
629 * lang/cpp/src/context.h: Ditto.
630 * lang/qt/src/qgpgmequickjob.cpp: Add implementation of ADSK job.
631 * lang/qt/src/qgpgmequickjob.h: Ditto.
632 * lang/qt/src/quickjob.h: Add job for adding ADSKs.
633
634 2024-05-21 Ingo Klöcker <[email protected]>
635
636 cpp: Add information about revocation keys to Key.
637 + commit 25663892aa418ecca2262b253dfc313dab79b20c
638 * lang/cpp/src/gpgmefw.h (gpgme_revocation_key_t): New forward
639 declaration.
640 * lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): New methods
641 revocationKey, numRevocationKeys, revocationKeys.
642 (class RevocationKey): New.
643 (swap): New overload for RevocationKey.
644 (operator<<): New overload for RevocationKey.
645 * lang/cpp/src/key.cpp (operator<<): Add information about revocation
646 keys to the output stream for Key.
647
648 * lang/cpp/tests/run-keylist.cpp (main): Don't output Key if nextKey
649 failed, e.g. at the end of the key listing.
650
651 2024-04-05 Ingo Klöcker <[email protected]>
652
653 cpp: Handle smart card op failure status messages.
654 + commit 7aea45397eabc2059349928eacf806a0866b3e45
655 * lang/cpp/src/editinteractor.cpp (parse_sc_op_failure): New.
656 (CallbackHelper::edit_interactor_callback_impl): Parse failure code on
657 GPGME_STATUS_SC_OP_FAILURE status.
658 (sc_op_failure_to_error): New.
659
660 2024-01-09 Ingo Klöcker <[email protected]>
661
662 cpp,tests: Launch dirmngr with gpg-conf.
663 + commit 56cba989a9db929d86520e431089d3327aa97a3d
664 * lang/cpp/tests/run-wkdlookup.cpp (main): Replace backslashes with
665 forward slashes in homedir returned by GpgME::dirInfo. Use "gpgconf
666 --launch dirmngr" to start dirmngr.
667
668 2023-12-19 Ingo Klöcker <[email protected]>
669
670 cpp: Support new flags for direct signing/encryption of files.
671 + commit c5177d3bcb4a53807c2c6a91267f45ddf50dbe98
672 * lang/cpp/src/context.h (enum EncryptionFlags): Add constant
673 EncryptFile.
674 * lang/cpp/src/global.h (enum SignatureMode): Add constant SignFile.
675 * lang/cpp/src/context.cpp (sigflags2sigflags): Handle new flag
676 SignFile.
677 (encryptflags2encryptflags): Handle new flag EncryptFile.
678 (operator<<): Add new flags to the corresponding debug streams.
679 * lang/cpp/src/signingresult.cpp (CreatedSignature::mode): Handle
680 new flag SignFile (even if it cannot occur).
681
682 2023-10-05 Ingo Klöcker <[email protected]>
683
684 cpp: Support new key capability flags.
685 + commit 5700f00f642b7b3fa3e5cc5a2948a8c474f1ad34
686 * lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): New methods
687 hasCertify, hasSign, hasEncrypt, hasAuthenticate.
688
689 2023-08-04 Carl Schwan <[email protected]>
690
691 cpp: Expose gpgme_decrypt_result_t.is_mime through cpp API.
692 + commit 1cfad17ddafb6742ea85b092d6b59cf823c3caaf
693 * lang/cpp/src/descriptionresult.cpp (DescriptionResult::isMime): New.
694 * lang/cpp/src/descriptionresult.h: Update accordingly.
695
696 2023-06-16 Andre Heinecke <[email protected]>
697
698 qt, cpp: Support larger size-hint on 32 bit builds.
699 + commit e3eb5afe13a920b6aeb0a28d0d3e7b9ad2dc4e28
700 * NEWS: Mention this.
701 * lang/cpp/src/data.h, lang/cpp/src/data.cpp (Data::setSizeHint): New.
702 * lang/qt/src/qgpgmedecryptjob.cpp,
703 lang/qt/src/qgpgmedecryptverifyarchivejob.cpp,
704 lang/qt/src/qgpgmedecryptverifyjob.cpp,
705 lang/qt/src/qgpgmeencryptjob.cpp,
706 lang/qt/src/qgpgmesignencryptjob.cpp,
707 lang/qt/src/qgpgmesignjob.cpp,
708 lang/qt/src/qgpgmeverifydetachedjob.cpp,
709 lang/qt/src/qgpgmeverifyopaquejob.cpp: Set size for input IODevice.
710
711 cpp: Expose gpgme_data_set_flag through cpp API.
712 + commit 5fee1b6846d83fbaaad60ff57ead617ab7a4e45c
713 * lang/cpp/src/data.cpp (Data::setFlag): New.
714 * lang/cpp/src/data.h: Update accordingly.
715 * NEWS: Mention this.
716
717 2023-06-01 Ingo Klöcker <[email protected]>
718
719 doc,cpp: Treat GPG_ERR_FULLY_CANCELED as canceled.
720 + commit b729775584ffd77ef6293c29d04af7859d62e8d5
721 * doc/gpgme.texi (GPG_ERR_FULLY_CANCELED): New.
722 * lang/cpp/src/context.cpp (Error::isCanceled): Also return true for
723 GPG_ERR_FULLY_CANCELED.
724
725 2023-05-30 Biswapriyo Nath <[email protected]>
726
727 cpp,python: Respect --disable-gpg-test for tests.
728 + commit 9d39389ac9230f0e73eb88d4604b8d4fca294b9b
729 lang/cpp/Makefile.am (SUBDIRS): Depend tests in RUN_GPG_TESTS.
730 lang/python/Makefile.am (SUBDIRS): Ditto.
731
732 2023-04-18 Ingo Klöcker <[email protected]>
733
734 cpp: Fix Key::canSign()
735 + commit eb7817ab7617e1f3615e47b03d2a9526a4767839
736 * lang/cpp/src/key.h (canReallySign): Deprecate.
737 * lang/cpp/src/key.cpp (canSign): Remove workaround. Use implementation
738 of canReallySign.
739 (canReallySign): Use canSign().
740 (operator<<): Use canSign().
741
742 2023-03-21 Werner Koch <[email protected]>
743
744 core,cpp: Add new key flags to gpgme_subkey_t.
745 + commit bd97412bd89ad3443881be6b0f1a0198973947c2
746 * src/gpgme.h.in (struct _gpgme_subkey): Add bit flags can_renc,
747 can_timestamp, adn is_group_owned. Reduce size of _unused.
748 * src/keylist.c (set_subkey_capability): Set them.
749 * tests/run-keylist.c (main): Print them.
750
751 * lang/cpp/src/key.h (Subkey::canRenc): New.
752 (Subkey::canTimestamp): New.
753 (Subkey::isGroupOwned): New.
754 * lang/cpp/src/key.cpp: Implement new methods.
755 (Subkey::isQualified): Print them.
756 (std::ostream &operator<<): Print them.
757
758 2023-02-09 Ingo Klöcker <[email protected]>
759
760 cpp: Improve debug output of some enums.
761 + commit 1031bf62065181d7df5c2093f1ef44d27b5d33bb
762 * lang/cpp/src/verificationresult.cpp (operator<<): Fix output of
763 Signature::PKAStatus which doesn't represent flags. Print corresponding
764 name of enum value if Signature::Summary or Notation::Flags are 0.
765
766 2023-02-02 Ingo Klöcker <[email protected]>
767
768 cpp: Return successful verification for signed but not encrypted data.
769 + commit 3ce1385f5207ec2f424264f30c7c98f6d69cc768
770 * lang/cpp/src/context.cpp (Context::decrypt): Use decryptionResult().
771 (Context::verifyDetachedSignature, Context::verifyOpaqueSignature):
772 Use verificationResult().
773 (Context::verificationResult): Ignore "no data" error for signed but
774 not encrypted data.
775 (Context::decryptAndVerify): Use decryptionResult() and
776 verificationResult().
777
778 cpp: Update decryption flags.
779 + commit 6a4f6aaea825058845886bdcbb94777be07840f0
780 * lang/cpp/src/context.h (DecryptArchive): New flag.
781
782 cpp: Add const-overloads of version comparison operators.
783 + commit ad0ee84dc5734dcabf90570c3d0dc695cbb81ab6
784 * lang/cpp/src/engineinfo.h (EngineInfo::Version): Add const-overloads
785 of all comparison operators.
786
787 2023-01-31 Ingo Klöcker <[email protected]>
788
789 cpp: Fix debug output of SignatureMode.
790 + commit d60de32aae71573767fdec850cfb7be923d7890c
791 * lang/cpp/src/context.cpp (operator<<): Treat signature mode as
792 combination of a 2-bit flag and a 1-bit flag.
793
794 2023-01-30 Ingo Klöcker <[email protected]>
795
796 cpp: Support new archive signing flag.
797 + commit 4d72304dbe4137b7e80fac7a76d98e64bbd3d476
798 * lang/cpp/src/global.h (enum SignatureMode): Add constant SignArchive.
799 * lang/cpp/src/context.cpp (sigmode2sigmode): Rename to
800 sigflags2sigflags
801 (sigflags2sigflags): ... and rename argument mode to flags and treat
802 it as flags. Adjust the callers.
803 (operator<<): Change local CHECK macro to handle flags. Add new flag
804 to debug stream.
805 * lang/cpp/src/signingresult.cpp (CreatedSignature::mode): Handle
806 new flags (even if it cannot occur currently).
807
808 2023-01-27 Ingo Klöcker <[email protected]>
809
810 cpp: Support new archive encryption flag.
811 + commit c8c443a440c4bc6ce7c9325ee0b4dae28276e918
812 * lang/cpp/src/context.h (EncryptArchive): New flag.
813 * lang/cpp/src/context.cpp (encryptflags2encryptflags): Convert
814 EncryptArchive to corresponding gpgme encrypt flags.
815 (operator<<): Add new flag to debug stream.
816
817 cpp: Add convenience overload to set file name.
818 + commit c449cd2b084b9db110c81bf2fbc9e36bb632a427
819 * lang/cpp/src/data.h, lang/cpp/src/data.cpp (setFileName): Add
820 overload.
821
822 2023-01-26 Ingo Klöcker <[email protected]>
823
824 cpp: Support all encryption flags.
825 + commit 631a7b96aae3155696a0f846f7b19cab3cb3d8d0
826 * lang/cpp/src/context.h (WantAddress): New flag.
827 * lang/cpp/src/context.cpp (encryptflags2encryptflags): Convert
828 WantAddress to corresponding gpgme encrypt flags.
829 (operator<<): Add new flag to debug stream.
830
831 cpp: Pass ThrowKeyIds and EncryptWrap flags to GpgME.
832 + commit bde2597f2117e7953731d0afd0796e49b3fecc1e
833 * lang/cpp/src/context.cpp (encryptflags2encryptflags): Convert
834 ThrowKeyIds and EncryptWrap to corresponding gpgme encrypt flags.
835 (operator<<): Add flags to debug stream.
836
837 2023-01-05 Ingo Klöcker <[email protected]>
838
839 cpp: Fix comparisons of integer expressions of different signedness.
840 + commit 73686de886886928f35efb270999a1e9228facb4
841 * lang/cpp/src/gpgrevokekeyeditinteractor.cpp
842 (GpgRevokeKeyEditInteractor::Private::nextState): Cast signed nextLine
843 value to std::size_t.
844
845 cpp: Expliticly declare compiler generated copy constructors.
846 + commit 85fd6b872a3a8cce18d3b2edae3155b8e86f81a6
847 * lang/cpp/src/configuration.h (Component, Option),
848 lang/cpp/src/data.h (Data),
849 lang/cpp/src/decryptionresult.h (DecryptionResult,
850 DecryptionResult::Recipient),
851 lang/cpp/src/encryptionresult.h (EncryptionResult, InvalidRecipient),
852 lang/cpp/src/engineinfo.h (EngineInfo),
853 lang/cpp/src/importresult.h (ImportResult, Import),
854 lang/cpp/src/key.h (Key, Subkey, UserID, UserID::Signature),
855 lang/cpp/src/keygenerationresult.h (KeyGenerationResult),
856 lang/cpp/src/keylistresult.h (KeyListResult),
857 lang/cpp/src/notation.h (Notation),
858 lang/cpp/src/signingresult.h (SigningResult, InvalidSigningKey,
859 CreatedSignature),
860 lang/cpp/src/swdbresult.h (SwdbResult),
861 lang/cpp/src/tofuinfo.h (TofuInfo),
862 lang/cpp/src/verificationresult.h (VerificationResult, Signature),
863 lang/cpp/src/vfsmountresult.h (VfsMountResult): Explitily declare
864 compiler generated copy constructor.
865
866 2022-12-08 Ingo Klöcker <[email protected]>
867
868 cpp: Handle status errors in the base edit interactor.
869 + commit baab2bf0ea010bf329d59f453701abc573b78c24
870 * lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl):
871 Handle status errors.
872 * lang/cpp/src/gpgrevokekeyeditinteractor.cpp
873 (GpgRevokeKeyEditInteractor::Private::nextState): Remove handling of
874 status errors.
875
876 cpp: Handle statuses that need no response in the base edit interactor.
877 + commit d48d7665bfe1b8be12ecd6d5265b8181512cea37
878 * lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl): Do
879 not call nextState() if status needs no response.
880 * lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp
881 (GpgAddExistingSubkeyEditInteractor::Private::nextState),
882 lang/cpp/src/gpgadduserideditinteractor.cpp
883 (GpgAddUserIDEditInteractor::nextState),
884 lang/cpp/src/gpggencardkeyinteractor.cpp
885 (GpgGenCardKeyInteractor::nextState),
886 lang/cpp/src/gpgrevokekeyeditinteractor.cpp
887 (GpgRevokeKeyEditInteractor::Private::nextState),
888 lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp
889 (GpgSetExpiryTimeEditInteractor::nextState),
890 lang/cpp/src/gpgsetownertrusteditinteractor.cpp
891 (GpgSetOwnerTrustEditInteractor::nextState),
892 lang/cpp/src/gpgsignkeyeditinteractor.cpp
893 (GpgSignKeyEditInteractor::nextState): Remove handling of statuses that
894 need no response.
895
896 2022-10-24 Ingo Klöcker <[email protected]>
897
898 cpp: Allow setting the curve to use when generating ECC keys.
899 + commit 7440649171ef35d9035b8cd64a0f8681215ad174
900 lang/cpp/src/gpggencardkeyinteractor.h (class GpgGenCardKeyInteractor):
901 Add enum Curve. Add member function setCurve.
902 lang/cpp/src/gpggencardkeyinteractor.cpp
903 (class GpgGenCardKeyInteractor::Private): Initialize simple members
904 in-class. Add member curve.
905 (GpgGenCardKeyInteractor::~GpgGenCardKeyInteractor): Use default d'tor.
906 (GpgGenCardKeyInteractor::setCurve): New.
907 (GpgGenCardKeyInteractor::action): Return curve defaulting to
908 Curve25519.
909
910 2022-09-14 Ingo Klöcker <[email protected]>
911
912 cpp: Reject signing expired keys.
913 + commit 018a9c41f68cfa20e40e78d31d59834212ce2cd7
914 * lang/cpp/src/gpgsignkeyeditinteractor.cpp (enum SignKeyState): Add
915 new state REJECT_SIGN_EXPIRED.
916 (makeTable): Add entries for new state to transition map.
917 (GpgSignKeyEditInteractor::action): Handle new state.
918
919 2022-08-19 Ingo Klöcker <[email protected]>
920
921 cpp: Fix building with C++11.
922 + commit eaf5b2be86191d932c747b7ad95f7c870ac2d1a6
923 * lang/cpp/src/importresult.cpp (ImportResult::mergeWith): Replace
924 'auto' in lambdas with the actual type.
925
926 2022-08-18 Ingo Klöcker <[email protected]>
927
928 cpp: Fix handling of "no key" or "invalid time" situations.
929 + commit 6a6ad6cacd6ab96ae60233c4f7cc849adabf60ac
930 * lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp
931 (GpgAddExistingSubkeyEditInteractor::Private::nextState): Fix inverted
932 logic of string comparisons.
933
934 2022-08-09 Ingo Klöcker <[email protected]>
935
936 cpp: Add support for gpgme_op_set_uid_flag.
937 + commit 0e90d1e85630f604d8b379edf5f53c32cf6590db
938 * lang/cpp/src/context.cpp, lang/cpp/src/context.h
939 (Context::setPrimaryUid, Context::startSetPrimaryUid): New.
940
941 2022-06-30 Ingo Klöcker <[email protected]>
942
943 cpp: Remove obsolete compatibility with KF5 variants.
944 + commit e72739389acfc897e2cd4ff8bff545dcfeb08b1f
945 * lang/cpp/src/GpgmeppConfig-w32.cmake.in.in,
946 lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove find_package() call.
947
948 2022-05-12 Andre Heinecke <[email protected]>
949
950 cpp: Export KeyListModeSaver.
951 + commit 897f4832d5e753c22c5d46f73963f8b9227ca5ca
952 * lang/cpp/src/context.h (Context::KeyListModeSaver): Add Export.
953
954 2022-05-05 Ingo Klöcker <[email protected]>
955
956 cpp: Output more properties of a subkey.
957 + commit 1b9234393e2d39fa5dd1cbd531554d7acc552e2d
958 * lang/cpp/src/key.cpp (ostream operator<< for Subkey): Fix wrong output
959 of isInvalid and isDisabled flags. Add output of key grip, card serial
960 number and the flags isSecret, isQualified, isDeVs, and isCardKey.
961
962 cpp,tests: Actually parse the --with-secret option.
963 + commit df6b0682f53818b07ec5bad62114346f50c8026a
964 * lang/cpp/tests/run-keylist.cpp (main): Handle --with-secret option.
965 Print error for unknown option.
966
967 2022-05-04 Ingo Klöcker <[email protected]>
968
969 cpp: Allow retrieving import result of key listing with locate mode.
970 + commit ddf660eb5e15e7defe4fd0b60a770deb087b3e83
971 * lang/cpp/src/context_p.h (enum Context::Private::Operation): Add
972 value KeyListWithImport.
973 * lang/cpp/src/context.cpp (Context::startKeyListing, Context::nextKey):
974 Set lastop to KeyListWithImport if keylist mode includes Locate.
975
976 cpp: Allow merging the results of two imports.
977 + commit 036686b8a7706335b58df50409b95acb383bdec1
978 * lang/cpp/src/importresult.h, lang/cpp/src/importresult.cpp (class
979 ImportResult): Add member function mergeWith.
980
981 2022-05-02 Ingo Klöcker <[email protected]>
982
983 cpp: Add RAII class for saving/restoring the key list mode.
984 + commit 3c03beb2f86d5b39b260b8a25b5bfea1c291843d
985 * lang/cpp/src/context.h, lang/cpp/src/context.cpp (class Context):
986 Add nested class KeyListModeSaver.
987
988 2022-04-28 Ingo Klöcker <[email protected]>
989
990 cpp,tests: Verify that requested keylist mode is used.
991 + commit 46f959b3e0d42a44862c81cff67dea831412891e
992 * lang/cpp/tests/run-getkey.cpp, lang/cpp/tests/run-keylist.cpp (main):
993 Check used keylist mode.
994
995 2022-04-27 Ingo Klöcker <[email protected]>
996
997 cpp: Support new keylist modes.
998 + commit 8d4dcb96ccc96d0d2b4455620c89d55daebb142d
999 * lang/cpp/src/global.h (ForceExtern, LocateExternal, KeyListModeMask):
1000 New.
1001 * lang/cpp/src/context.cpp (operator<<): Add check.
1002 * lang/cpp/src/util.h (gpgme_keylist_mode_t,
1003 convert_from_gpgme_keylist_mode_t): Handle ForceExtern.
1004 * lang/cpp/tests/run-getkey.cpp (show_usage, main): Add arguments
1005 --force-extern and --locate-external.
1006 * lang/cpp/tests/run-keylist.cpp (show_usage, main): Ditto.
1007
1008 2022-04-22 Ingo Klöcker <[email protected]>
1009
1010 cpp: Allow changing the error of a result.
1011 + commit cd9738e8be499c3275a46b95bd92f00bc9cbf403
1012 * lang/cpp/src/result.h (class Result): Add member function setError.
1013
1014 2022-04-05 Ingo Klöcker <[email protected]>
1015
1016 cpp: Handle canceling of an edit operation.
1017 + commit 1691f35125b3f2651efc72e8a8f2cec777ca55af
1018 * lang/cpp/src/editinteractor.cpp
1019 (CallbackHelper::edit_interactor_callback_impl): Check for error _or_
1020 canceled state.
1021
1022 cpp: Return actual error if revocation fails.
1023 + commit 9ee87441078465b60c7430102e64085d557ab6e1
1024 * lang/cpp/src/editinteractor.cpp, lang/cpp/src/editinteractor.h
1025 (EditInteractor::parseStatusError): New.
1026 * lang/cpp/src/gpgrevokekeyeditinteractor.cpp
1027 (GpgRevokeKeyEditInteractor::Private::nextState): Handle status
1028 error.
1029
1030 cpp: Add internal utility function for splitting strings.
1031 + commit d54d078dfe5ffbac790a2559ba7ff474cafe278b
1032 * lang/cpp/src/util.h (split): New.
1033
1034 cpp: Do not export symbols of the Private class.
1035 + commit 807224b66d5343bd4b255235dd90a9efd2c11732
1036 * lang/cpp/src/gpgrevokekeyeditinteractor.h (class
1037 GpgRevokeKeyEditInteractor): Mark nested class Private as hidden.
1038
1039 2022-03-30 Ingo Klöcker <[email protected]>
1040
1041 cpp: Add interactor to revoke a key.
1042 + commit 99e0c016138dba9ff69305ce197f360f616fe9bf
1043 * lang/cpp/src/global.h (enum class RevocationReason): New.
1044 * lang/cpp/src/gpgrevokekeyeditinteractor.cpp,
1045 lang/cpp/src/gpgrevokekeyeditinteractor.h: New.
1046 * lang/cpp/src/Makefile.am: Add new files.
1047
1048 2022-03-28 Ingo Klöcker <[email protected]>
1049
1050 cpp: Set default visibility of all symbols to hidden.
1051 + commit 0d77fecdc2f1788626b5acde36f9a4905b5d45e2
1052 * configure.ac: Add -fvisibility=hidden to GPGME_CPP_CFLAGS if gcc
1053 supports the flag.
1054 * lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add GPGME_CPP_CFLAGS.
1055 * m4/ax_gcc_func_attribute.m4: New.
1056
1057 cpp: Put local helper function into unnamed namespace.
1058 + commit 6b164183ccf11570d7c11c12aaaa131313b5a26f
1059 lang/cpp/src/context.cpp (to_auditlog_flags): Wrap in unnamed namespace.
1060
1061 2022-02-03 Ingo Klöcker <[email protected]>
1062
1063 cpp: Allow import of keys given by key ids.
1064 + commit 3843f98f2a5d8169c0e0455dea4ed989d8170214
1065 * lang/cpp/src/context.h (class Context): Add overloads of member
1066 functions importKeys and startKeyImport
1067 * lang/cpp/src/context.cpp (class Context): ... and implement them.
1068
1069 cpp: Add internal adapter for passing a vector of strings to gpgme.
1070 + commit 35bc09378a0794b9f835769acf0942de27973350
1071 * lang/cpp/src/util.h (class StringsToCStrings): New.
1072 * lang/cpp/src/util.cpp: New.
1073 * lang/cpp/src/Makefile.am: Add new file.
1074
1075 2022-01-12 Ingo Klöcker <[email protected]>
1076
1077 cpp: Add interactor to add existing subkeys to other keys.
1078 + commit d4717811be11f73a35a1f73739b0fe602403e031
1079 * lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp,
1080 lang/cpp/src/gpgaddexistingsubkeyeditinteractor.h: New.
1081 * lang/cpp/src/Makefile.am: Add new files.
1082
1083 2022-01-04 Ingo Klöcker <[email protected]>
1084
1085 cpp: Allow export of secret subkeys.
1086 + commit d86a351f83d5e9dac05fa34d25444c0579a71229
1087 * lang/cpp/src/context.h (enum Context::ExportMode): Add value
1088 ExportSecretSubkey.
1089 (class Context): Add member functions exportSecretSubkeys and
1090 startSecretSubkeyExport.
1091 * lang/cpp/src/context.cpp (Context::exportPublicKeys,
1092 Context::startPublicKeyExport): Return error if ExportSecretSubkey
1093 mode flag is set.
1094 (Context::exportSecretSubkeys, Context::startSecretSubkeyExport):
1095 Implement.
1096
1097 cpp: Allow export of secret keys.
1098 + commit 7efc67248d8470c8108442fe599a21972308e9fc
1099 * lang/cpp/src/context.h (class Context): New member functions
1100 exportSecretKeys, startSecretKeyExport, exportKeys, startKeyExport.
1101 (Context::exportPublicKeys, Context::startPublicKeyExport): Rename
1102 argument flags/export_mode to mode.
1103 * lang/cpp/src/context.cpp (Context::exportPublicKeys): Return error if
1104 ExportSecret mode flag is set. Call exportKeys().
1105 (Context::startPublicKeyExport): Return error if
1106 ExportSecret mode flag is set. Call startKeyExport().
1107 (Context::exportSecretKeys, Context::startSecretKeyExport,
1108 Context::exportKeys, Context::startKeyExport): Implement.
1109
1110 cpp: Mark ExportNoUID flag as obsolete.
1111 + commit 7b853524f1a69a3450ad0490ed16114d5c4914e6
1112 * lang/cpp/src/context.h (enum Context::ExportMode): Mark value
1113 ExportNoUID as obsolete
1114
1115 cpp: Remove obsolete workaround.
1116 + commit eb679d6e8d2db12c1092323be567f7d8f15fbbfe
1117 * lang/cpp/src/context.cpp (Context::startKeyListing,
1118 Context::exportPublicKeys, Context::startPublicKeyExport): Remove
1119 workaround.
1120
1121 2021-12-22 Ingo Klöcker <[email protected]>
1122
1123 cpp: Check fpr of import status for NULL.
1124 + commit 7dc20216c964d8925ba66b406b01089feaeb05c0
1125 * lang/cpp/src/importresult.cpp (GpgME::ImportResult::Private): Check
1126 fpr for NULL.
1127
1128 2021-12-10 Ingo Klöcker <[email protected]>
1129
1130 cpp,tests: Add test runner for doing a WKD lookup without import.
1131 + commit 30be7f795c2627df8b08f2ee4e1b5f7338790664
1132 * lang/cpp/tests/Makefile.am (run_wkdlookup_SOURCES, programs_unix):
1133 New.
1134 (noinst_PROGRAMS): Add $(programs_unix).
1135 * lang/cpp/tests/run-wkdlookup.cpp: New.
1136
1137 cpp: Add new supported components to API docs of dirInfo()
1138 + commit a67b4d1618e99e19ae0ffb41c35dcc391ee423a0
1139 lang/cpp/src/global.h: Update API doc of dirInfo().
1140
1141 2021-12-07 Ingo Klöcker <[email protected]>
1142
1143 cpp: Return engine info for engine used by the context.
1144 + commit aacaead73612fd173b60875be1191c54b723e477
1145 lang/cpp/src/context.cpp (Context::engineInfo()): Return engine info
1146 for protocol of context.
1147
1148 cpp: Factor out common code of GpgME::engineInfo() overloads.
1149 + commit d68e6f7aa2a79d444db576e6af7ea79f857dc38e
1150 * lang/cpp/src/context.cpp (get_engine_info, get_static_engine_info):
1151 New.
1152 (GpgME::engineInfo(GpgME::Protocol), GpgME::engineInfo(GpgME::Engine)):
1153 Use get_static_engine_info().
1154
1155 2021-11-25 Werner Koch <[email protected]>
1156
1157 core: Support dirinfo("socketdir")
1158 + commit 7e10acc1ecd279709384bb360e589e061f09aed8
1159 * src/dirinfo.c (WANT_SOCKETDIR): New.
1160 (dirinfo): Add field socketdir.
1161 (parse_output): Support "socketdir".
1162 (get_gpgconf_item): Return socketdir.
1163
1164 * tests/t-engine-info.c (main): Add socketdir to the output.
1165
1166 * src/w32-util.c (_gpgme_create_process_utf8): Fix indentation.
1167
1168 2021-05-06 Ingo Klöcker <[email protected]>
1169
1170 cpp: Do not close stdout/stderr when destroying EditInteractor.
1171 + commit d7044eeec1b368ed53c5119d8ef7785aedd54a4f
1172 * lang/cpp/src/editinteractor.cpp (EditInteractor::Private): Initialize
1173 members 'state' and 'debug' in-class. Add member 'debugNeedsClosing'.
1174 (EditInteractor::Private::Private): Remove members initializers.
1175 Remember if 'debug' needs to be closed.
1176 (EditInteractor::Private::~Private): Only close 'debug' if it needs to
1177 be closed.
1178
1179 2021-05-05 Ingo Klöcker <[email protected]>
1180
1181 cpp: Add support for trust signatures to sign key edit interactor.
1182 + commit 668184ff53bbb2ee0f72478ca76fb674757dd49a
1183 * lang/cpp/src/gpgsignkeyeditinteractor.h,
1184 lang/cpp/src/gpgsignkeyeditinteractor.cpp
1185 (GpgSignKeyEditInteractor::setTrustSignatureTrust): New.
1186 (GpgSignKeyEditInteractor::setTrustSignatureDepth): New.
1187 (GpgSignKeyEditInteractor::setTrustSignatureScope): New.
1188 * lang/cpp/src/gpgsignkeyeditinteractor.cpp
1189 (GpgSignKeyEditInteractor::Private::Private): Initialize new member.
1190 (makeTable): Add new transition. Fix typos in existing transitions.
1191 (GpgSignKeyEditInteractor::action): Handle SET_TRUST_VALUE,
1192 SET_TRUST_DEPTH, and SET_TRUST_REGEXP.
1193
1194 cpp: Add getters for the attributes of a trust signature.
1195 + commit 14a1f05a8e604b5f83ee72fd03b387c962f31d93
1196 * lang/cpp/src/key.h (TrustSignatureTrust): New enum.
1197 * lang/cpp/src/key.h, lang/cpp/src/key.cpp
1198 (UserID::Signature::isTrustSignature): New.
1199 (UserID::Signature::trustValue): New.
1200 (UserID::Signature::trustDepth): New.
1201 (UserID::Signature::trustScope): New.
1202
1203 2021-01-04 Ingo Klöcker <[email protected]>
1204
1205 cpp: Add const-overload of UserID::Signature::operator<
1206 + commit f644b64400284236ad3a3b2244a2a3c562f731ba
1207 lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::Signature::operator<):
1208 Add const-overload. Deprecate non-const overload.
1209
1210 2020-11-20 Andre Heinecke <[email protected]>
1211
1212 Revert "cpp: Use portable off_t size_t"
1213 + commit 02d885a9c380d922c37748fc27f01e900dbfeb74
1214 This reverts commit adb872f2084a7940391a0de03ac73799db5f5808.
1215
1216 2020-11-18 Andre Heinecke <[email protected]>
1217
1218 cpp: Use portable off_t size_t.
1219 + commit adb872f2084a7940391a0de03ac73799db5f5808
1220 * configure.ac: Configure cpp data.h.in
1221 * lang/cpp/src/Makefile.am: Generate data.h
1222 * lang/cpp/src/data.cpp, lang/cpp/src/data.h: Use portable
1223 types.
1224 * lang/qt/src/Makefile.am: Include build dir.
1225 * lang/qt/tests/makefile.am: Include build dir.
1226
1227 2020-11-03 Ingo Klöcker <[email protected]>
1228
1229 cpp: Mark helper functions as static.
1230 + commit 05494d323d2dc226085bdbfc690081d3accdf5ea
1231 lang/cpp/src/key.cpp (find_subkey, verify_subkey, find_uid, verify_uid,
1232 find_signature, verify_signature): Mark as static.
1233
1234 cpp: Make signatures belonging to the same user ID sortable.
1235 + commit 4ee60425914f7a6d092fd800057599d954b4244a
1236 lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::Signature::operator<):
1237 New.
1238 lang/cpp/src/key.cpp (signature_index): New.
1239
1240 2020-10-29 Ingo Klöcker <[email protected]>
1241
1242 cpp: Add support for gpgme_op_revsig.
1243 + commit de844dcf97f49a51e22f31e75609003b247c7e7d
1244 * lang/cpp/src/context.cpp, lang/cpp/src/context.h
1245 (Context::revokeSignature, Context::startRevokeSignature): New.
1246 * lang/cpp/src/context.cpp
1247 (getLFSeparatedListOfStrings, getLFSeparatedListOfUserIds): New.
1248 (getLFSeparatedListOfFingerprintsFromSubkeys): Extracted second part
1249 of function to getLFSeparatedListOfStrings.
1250
1251 2020-10-23 Ingo Klöcker <[email protected]>
1252
1253 cpp: Add support for gpgme_cancel.
1254 + commit 5605fb9ba174e3e41f0b1a4fa75fe0586a27ab03
1255 * lang/cpp/src/context.cpp, lang/cpp/context.h
1256 (Context::cancelPendingOperationImmediately): New.
1257 * NEWS: Mention added API
1258
1259 Add Assuan transaction that forwards status lines to another object.
1260 + commit c9a86494090eb1ce8fa70c819d7d85643cc036a0
1261 * lang/cpp/src/Makefile.am: Add new files.
1262 * lang/cpp/src/interfaces/statusconsumer.h,
1263 lang/cpp/src/statusconsumerassuantransaction.cpp,
1264 lang/cpp/src/statusconsumerassuantransaction.h: New.
1265 * NEWS: Mention new API.
1266
1267 cpp, qt: Add missing comparison operators for version info comparison.
1268 + commit 4886d6e43b85b96683fa1cf443ffb8be203dc6e0
1269 * lang/cpp/src/engineinfo.h (EngineInfo::Version::operator<=,
1270 EngineInfo::Version::operator>=, EngineInfo::Version::operator!=):
1271 New.
1272 * lang/qt/tests/t-various.cpp (TestVarious::testVersion): Add tests for
1273 new comparison operators.
1274 * NEWS: Mention added API
1275
1276 cpp, qt: Fix version info comparison.
1277 + commit e6fbef3e41a6f831827f5ad5cf5b20eb05716ae1
1278 * lang/cpp/src/engineinfo.h
1279 (EngineInfo::Version::operator>(const Version &)): Fix logic.
1280 (EngineInfo::Version::operator>(const char *)): Use Version-overload of
1281 operator>.
1282
1283 * lang/qt/tests/t-various.cpp: Add test.
1284
1285 2020-09-08 Ingo Klöcker <[email protected]>
1286
1287 cpp: Update key with --with-secret instead of updating it twice.
1288 + commit 218ee792701000f54257f8c9aad293db22922ac4
1289 * lang/cpp/src/key.cpp (Key::update): Call Context::key() only once
1290 with KeyListMode::WithSecret.
1291
1292 2020-09-07 Ingo Klöcker <[email protected]>
1293
1294 cpp: Add keylist mode WithSecret.
1295 + commit 37e19790efc8abe0fd7cf4ae95a3637ca0327b32
1296 * lang/cpp/src/global.h (WithSecret): New.
1297 * lang/cpp/src/context.cpp (operator<<): Handle WithSecret.
1298 * lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t,
1299 convert_from_gpgme_keylist_mode_t): Ditto.
1300
1301 cpp: Add missing keylist modes.
1302 + commit c72ad524409c5aac3c4e980cac304743f5cf3074
1303 * lang/cpp/src/util.h
1304 (add_to_gpgme_keylist_mode_t): Sort modes as in enum definition and
1305 add missing modes to check.
1306 (convert_from_gpgme_keylist_mode_t): Add missing handling of
1307 GPGME_KEYLIST_MODE_WITH_TOFU and GPGME_KEYLIST_MODE_WITH_KEYGRIP.
1308
1309 2020-09-03 Ingo Klöcker <[email protected]>
1310
1311 cpp: Copy some more subkey properties when merging keys.
1312 + commit b7a41505d7590e7a2b72d0a42d2068c40531ada1
1313 * lang/cpp/src/key.cpp (Key::mergeWith): Also merge secret flag and
1314 keygrip
1315
1316 2020-08-10 Ingo Klöcker <[email protected]>
1317
1318 cpp: Make private helper a file static.
1319 + commit c1f8d801c5c4c99827fecb040cf75553f4bf9166
1320 * lang/cpp/src/context.h, lang/cpp/src/context.cpp
1321 (Context::getLFSeparatedListOfFingerprintsFromSubkeys): Remove
1322 from Context; make it a static function instead
1323
1324 2020-08-06 Andre Heinecke <[email protected]>
1325
1326 cpp: Use cstdlib getenv for portability.
1327 + commit 452abd91e79a46815189fc0a6554d44ec31c3790
1328 * lang/cpp/src/editinteractor.cpp (EditInteractor::Private::Private):
1329 Use std::getenv.
1330
1331 2020-08-04 Ingo Klöcker <[email protected]>
1332
1333 cpp: Add support for gpgme_op_setexpire.
1334 + commit 6628c43dd569b8a1f596340492c5c8b1ce7ab88d
1335 * lang/cpp/src/context.cpp
1336 (Context::setExpire, Context::startSetExpire): New.
1337 (Context::getLFSeparatedListOfFingerprintsFromSubkeys):
1338 New helper.
1339 * lang/cpp/src/context.h
1340 (Context::SetExpireFlags): New enum.
1341 (Context::setExpire, Context::startSetExpire): Add
1342 prototypes.
1343 (Context::getLFSeparatedListOfFingerprintsFromSubkeys):
1344 Add as private helper.
1345
1346 cpp: Add ostream operator for subkey.
1347 + commit 6f0ba236ff50e99a62d85e57ad769aaed5361491
1348 * lang/cpp/src/key.cpp (Subkey): Add ostream operator.
1349 * lang/cpp/src/key.h: Update accordingly.
1350
1351 2020-07-16 Andre Heinecke <[email protected]>
1352
1353 qt, cpp: Support export modes.
1354 + commit 905246ac2d2329a9c5b967b9d702b4ca8cceeac6
1355 * lang/cpp/context.cpp, lang/cpp/context.h
1356 (Context::startPublicKeyExport, Context::exportPublicKeys): Extend
1357 with flags paramenter.
1358 (Context::ExportMode): New.
1359 * lang/qt/src/exportjob.h (ExportJob::setExportMode): New.
1360 * lang/qt/src/qgpgmeexportjob.cpp, lang/qt/src/qgpgmeexportjob.h:
1361 Update accordingly.
1362
1363 2020-07-15 Werner Koch <[email protected]>
1364
1365 core: New keylist mode GPGME_KEYLIST_MODE_WITH_KEYGRIP.
1366 + commit d4116287dee5450af3a904fc6513153ac294c239
1367 * src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_KEYGRIP): New.
1368 * src/gpgme-json.c (op_keylist): New flag "keygrip".
1369 * src/engine-gpg.c (gpg_keylist_build_options): Pass the options.
1370
1371 * lang/cpp/src/global.h (WithKeygrip): New.
1372 * lang/cpp/src/context.cpp: Add check.
1373 * lang/cpp/src/key.cpp (Key::update): Handle WithKeygrip.
1374 * lang/cpp/src/verificationresult.cpp: Ditto.
1375 * lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t): Ditto.
1376
1377 2019-12-13 Andre Heinecke <[email protected]>
1378
1379 cpp, qt: Use uidhash to select uids for signing.
1380 + commit 34b67e1d444bc31c87345072703145319f3b579d
1381 * lang/cpp/src/gpgsignkeyeditinteractor.cpp (action):
1382 Use uidhash instead of number.
1383 (GpgSignKeyEditInteractor::setKey): New.
1384 * lang/cpp/src/gpgsignkeyeditinteractor.h: Update accordingly.
1385 * lang/cpp/src/key.h, lang/cpp/src/key.cpp: Wrap uidhash.
1386 * lang/qt/src/qgpgmesignkeyjob.cpp: Set the key.
1387
1388 2019-11-04 Andre Heinecke <[email protected]>
1389
1390 cpp: Add API to obtain mutliple remarks.
1391 + commit 81fe3f98dbe0ea648a2b241bd07572c2c4e21a54
1392 * lang/cpp/src/key.cpp, lang/cpp/src/key.h (UserID::remarks): New.
1393 * NEWS: Mention this.
1394
1395 cpp: Fix dupe_ok state for single uid.
1396 + commit 8c4cc1e3be0fbb6f687504075d7a0b5f4ab3e1d0
1397 * lang/cpp/src/gpgsignkeyeditinteractor.cpp (makeTable):
1398 Add transition from command to dupe_ok
1399
1400 2019-11-01 Andre Heinecke <[email protected]>
1401
1402 cpp: Minor optimization in remark lookup.
1403 + commit 4a7a9c84e898a0acc03ee83c459147bdd80f83a2
1404 * lang/cpp/src/key.cpp (UserID::remark): Use C-API.
1405
1406 cpp: Fix adding duplicated sigs on multiple uids.
1407 + commit cd070af6615faff9d4a5a9202a32ddc77823a75a
1408 * lang/cpp/src/gpgsignkeyeditinteractor.cpp: Add another
1409 state DUPE_OK2 to allow gpg looping over all uids.
1410
1411 cpp: Add env var to control editinteractor debug.
1412 + commit 22bf258b8d3bfff88bee68781f6586e278d7f7de
1413 * lang/cpp/src/editinteractor.cpp (EditInteractor::Private::Private):
1414 Read "GPGMEPP_INTERACTOR_DEBUG" env var.
1415 (EditInteractor::Private::~Private): Close debug file.
1416
1417 2019-10-29 Andre Heinecke <[email protected]>
1418
1419 cpp: Add support for multiple keysigs in edit.
1420 + commit d4ff3a7fe37a11788f2757df76c5d144b1ff5992
1421 * lang/cpp/src/gpgsignkeyeditinteractor.cpp
1422 (GpgSignKeyEditInteractor::setDupeOk): New.
1423 (makeTable): Add new tansitions.
1424 (SignKeyState): Add DUPE_OK Status.
1425 (GpgSignKeyEditInteractor::action): Handle DUPE_OK.
1426 (GpgSignKeyEditInteractor::Private::Private): Carry flag.
1427
1428 cpp: Add convenience API to obtain remarks.
1429 + commit f778f86e9a63da9e2e7b3c4f60fdcaa8eb89cf94
1430 * lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::remark): New.
1431
1432 2019-05-03 Andre Heinecke <[email protected]>
1433
1434 cpp: Fix initialization warning.
1435 + commit b9dde4d2bc7c51d348df318ddfe969a7da03177c
1436 * lanc/cpp/src/gpggencardkeyinteractor.cpp
1437 (GpgGenCardKeyInteractor::Private): Fix initialization warning.
1438
1439 2019-04-24 Andre Heinecke <[email protected]>
1440
1441 cpp: Add wrapper for gpgme_set_global_flag.
1442 + commit b034016fb3b0607a17d70bd49798bd003a1bc73f
1443 * lang/cpp/src/context.cpp (setGlobalFlag): New.
1444 * lang/cpp/src/global.h (setGlobalFlag): Export it.
1445
1446 2019-03-26 Andre Heinecke <[email protected]>
1447
1448 cpp: Fix GenCardKeyInteractor and extend it.
1449 + commit 40c0921959190f9b25953dfb6f6bbfc1c279d66c
1450 * NEWS: Mention interface change.
1451 * lang/cpp/src/gpggencardkeyinteractor.cpp
1452 (GpgGenCardKeyInteractor::setAlgo): New.
1453 (GpgGenCardKeyInteractor::action),
1454 (GpgGenCardKeyInteractor::nextState: Handle new interface.
1455
1456 2019-03-13 Andre Heinecke <[email protected]>
1457
1458 cpp: Fix Error::hasSystemError.
1459 + commit 805c463aafb968af83fd23c838496fcb30669ee3
1460 * lang/cpp/src/context.cpp (Error::hasSystemError): Invert logic to
1461 do what it says.
1462
1463 2019-02-21 Andre Heinecke <[email protected]>
1464
1465 cpp: Add ostream operators for import result.
1466 + commit ffc336fe23baa53e241853722b337f69dba2aa0c
1467 * lang/cpp/src/importresult.cpp: Add ostream operators.
1468 * lang/cpp/src/importresult.h: Update accordingly.
1469
1470 cpp: Make GpgME::Data::toKeys really const.
1471 + commit 7557cac7c3afed1444ea3c2bce13f695a4c2002b
1472 * lang/cpp/src/data.cpp (GpgME::Data::toKeys): Rewind afterards.
1473
1474 2019-01-16 NIIBE Yutaka <[email protected]>
1475
1476 build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
1477 + commit 8880b461a48ae797f915144bb01329214ab0b157
1478 * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
1479 * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
1480 * lang/cpp/tests/Makefile.am, lang/qt/tests/Makefile.am: Likewise.
1481 * tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Likewise.
1482 * tests/json/Makefile.am, tests/opassuan/Makefile.am: Likewise.
1483
1484 2018-12-03 Andre Heinecke <[email protected]>
1485
1486 qt,cpp: Consistently use nullptr and override.
1487 + commit 440f1c95387e79ecfd6befc5715f0563b8c6d2e4
1488 * lang/cpp/src/Makefile.am, lang/qt/src/Makefile.am (AM_CPPFLAGS):
1489 Add suggest-override and zero-as-null-pointer-constant warnings.
1490
1491 * lang/cpp/src/*, lang/qt/src/*: Consistenly use nullptr and override.
1492
1493 2018-11-08 Daniel Kahn Gillmor <[email protected]>
1494
1495 spelling: fix misspellings.
1496 + commit 652b8f3645448764ef5f24a9076f80fda86e355e
1497
1498
1499 2018-10-29 Andre Heinecke <[email protected]>
1500
1501 cpp,tests: Add another test runner.
1502 + commit 5b53d7ea454414be010b6a218777e5ce90cd32eb
1503 * lang/cpp/tests/run-verify.cpp: New.
1504 * lang/cpp/tests/Makefile.am: Update accordingly.
1505
1506 2018-10-25 Andre Heinecke <[email protected]>
1507
1508 cpp: Add some convenience functions.
1509 + commit 111e24f72173eacf8e9e0bcc4914d4163c6e95de
1510 * lang/cpp/src/context.cpp (Context::create): New.
1511 * lang/cpp/src/context.h: Update accordingly.
1512 * lang/cpp/src/key.cpp, lang/cpp/src/key.h:
1513 (Key::isBad, Subkey::isBad, UserID::isBad)
1514 (UserID::Signature::isBad): Add shorthand for the isX checks.
1515 * NEWS: Mention it.
1516
1517 2018-10-09 Andre Heinecke <[email protected]>
1518
1519 cpp: Add KeyListMode::Locate.
1520 + commit 660c162e1439e8dc380ca4e07a390d17df292a8f
1521 * cpp/src/global.h (KeyListMode): Add Locate.
1522
1523 cpp: Add first manual tests.
1524 + commit 1ce99dedbbd18b4b699b05205961bd1762233871
1525 * lang/cpp/Makefile.am: Add tests subdir.
1526 * lang/cpp/tests/Makefile.am: New.
1527 * lang/cpp/tests/README,
1528 lang/cpp/tests/run-getkey.cpp,
1529 lang/cpp/tests/run-keylist.cpp: New.
1530 * configure.ac: Configure tests makefile.
1531
1532 cpp: Initialize all gpgme_key_t's in context.
1533 + commit bd3aa0c523530079292b019eab5552c1fed45b7d
1534 * lang/cpp/src/context.cpp (Context::startKeyListing),
1535 (Context::keyListResult, Context::signingKeys): Initialize key.
1536
1537 2018-08-08 Andre Heinecke <[email protected]>
1538
1539 cpp: Fix use after free in gencardkeyinteractor.
1540 + commit a20146167cb3ef334949f1a3aab6a60703b5a198
1541 * lang/cpp/src/gpggencardkeyinteractor.cpp
1542 (GpgGenCardKeyInteractor::Private::keysize): Change to string.
1543
1544 2018-07-24 Andre Heinecke <[email protected]>
1545
1546 cpp: Add safety checks for key update.
1547 + commit bd230dd285897a0b4b2c7f330ba0122749805c67
1548 * lang/cpp/src/key.cpp (Key::update): Check that the key is
1549 not NULL.
1550 * lang/cpp/src/verificationresult.cpp (GpgME::Signature::key):
1551 Check for fingerprint.
1552
1553 2018-07-19 Andre Heinecke <[email protected]>
1554
1555 cpp: Print origin and last update for key/uid.
1556 + commit 17b24412dcc63226dab79d8e79712d8fea0272fb
1557 * lang/cpp/src/key.cpp: Print origin and last update in
1558 iostream operators.
1559
1560 2018-07-05 Andre Heinecke <[email protected]>
1561
1562 cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG.
1563 + commit 10e03d61d081c936650cdc50613a5120fec2db89
1564 * src/context.cpp (to_auditlog_flags): Map DIAG value.
1565 * src/context.h (AuditLogFlags): Add it.
1566
1567 2018-07-04 Andre Heinecke <[email protected]>
1568
1569 cpp: Fix memory of DecryptionResult::symkeyAlgo.
1570 + commit c03e81de39c3afde1372e2f5b4dc0c09a6def3eb
1571 * lang/cpp/src/decryptionresult.cpp (Private, ~Private): strdup
1572 the symkey algo.
1573
1574 2018-06-08 Andre Heinecke <[email protected]>
1575
1576 cpp: Add proper gpgme_op_createkey.
1577 + commit d0c6d2d067856e33ca840249fcd2d15c8dff46eb
1578 * lang/cpp/src/context.cpp, lang/cpp/src/context.h
1579 (Context::createKeyEx): New.
1580
1581 2018-06-01 Andre Heinecke <[email protected]>
1582
1583 cpp: Add gpgme_(get)set_ctx_flag.
1584 + commit 4ba2ef72c83bf9b869f56eef172a6ba4048d7640
1585 * NEWS: Mention API extensions.
1586 * lang/cpp/src/context.cpp, lang/cpp/src/context.h
1587 (Context::setFlag, Context::getFlag): New.
1588
1589 cpp: Add legacy_cipher_nomdc.
1590 + commit c2a41fc3ec6089c17dc42fb7c77fe70791d83543
1591 * lang/cpp/src/decryptionresult.cpp, lang/cpp/src/decryptionresult.h
1592 (DecryptionResult::isLegacyCipherNoMDC): New.
1593
1594 2018-05-29 Andre Heinecke <[email protected]>
1595
1596 cpp: Add gpgme_data_rewind to cpp API.
1597 + commit e693c1c0a8607e63034f93e7ffc910d188e77398
1598 * lang/cpp/src/data.h, lang/cpp/src/data.cpp (Data::rewind): New.
1599 * lang/qt/tests/t-various.cpp (testDataRewind): Test it.
1600
1601 2018-05-22 Andre Heinecke <[email protected]>
1602
1603 cpp: Expose sessionKey and symkeyAlgo.
1604 + commit 7e23fc54462460d5f1383a7b6354dc7c5926d878
1605 * lang/cpp/decryptionresult.cpp, lang/cpp/decryptionresult.h
1606 (DecryptionResult::symkeyAlgo, DecryptionResult::sessionKey): New.
1607
1608 2018-04-19 Andre Heinecke <[email protected]>
1609
1610 cpp: Add origin and last_update to UserID.
1611 + commit 36183907231d3644d54251f288f16031e8422e6b
1612 * NEWS: Mention it.
1613 * lang/cpp/src/key.cpp, lang/cpp/src/key.h (UserID::lastUpdate),
1614 (UserID::origin): New.
1615 (gpgme_origin_to_pp_origin): New helper.
1616
1617 cpp: Add origin and last_update.
1618 + commit 5e15401ecb18083270003e447cd42195407b2ac4
1619 * NEWS: mention interface change.
1620 * lang/cpp/src/key.cpp (Key::origin, Key::lastUpdate): New.
1621 * lang/cpp/src/key.h (Key::Origin): New enum.
1622
1623 2018-03-15 Andre Heinecke <[email protected]>
1624
1625 cpp: Expose skipped_v3_keys.
1626 + commit 5c9596f97f3e9a475bf920d201736b00cd3a4adb
1627 * lang/cpp/src/importresult.cpp,
1628 lang/cpp/src/importresult.h (ImportResult::numV3KeysSkipped): New.
1629
1630 2018-02-16 Andre Heinecke <[email protected]>
1631
1632 cpp: Add shorthand for key locate.
1633 + commit fc72cb19de0980a5b545a714e2d7310e05b8d5c3
1634 * lang/cpp/src/key.cpp (Key::locate): New static helper.
1635 * lang/cpp/src/key.h: Update accordingly.
1636
1637 2018-02-09 Andre Heinecke <[email protected]>
1638
1639 cpp: Add SpawnShowWindow flag.
1640 + commit 8608fe9552311878c8ac75d78bc028ece60b6838
1641 * lang/cpp/src/context.h (SpawnShowWindow): New.
1642
1643 cpp: Add conveniance Data::toString.
1644 + commit e62bfbd44b1333d4f0fdc38993238f348641c699
1645 * lang/cpp/src/data.h, lang/cpp/src/data.cpp: Add Data::toString.
1646
1647 2017-12-07 Andre Heinecke <[email protected]>
1648
1649 cpp: Fix handling of lsig promotion.
1650 + commit f9d352f4610de86d7543a24a3356e7943cc7a6ad
1651 * src/gpgsignkeyeditinteractor.cpp (SignKeyState): Add second
1652 CONFIRM state.
1653 (makeTable): Properly handle local_promote_okay.
1654 (action): Handle CONFIRM2.
1655
1656 2017-12-01 Andre Heinecke <[email protected]>
1657
1658 cpp: Wrap create_key and create_subkey.
1659 + commit 8bdd912b74e26eeabd617f96c0bedbb99b6078b1
1660 * lang/cpp/src/context.cpp,
1661 lang/cpp/src/context.h (Context::startCreateKey)
1662 (Context::createKey, Context::createSubkey)
1663 (Context::startCreateSubkey): New.
1664
1665 2017-09-04 Andre Heinecke <[email protected]>
1666
1667 cpp: Fix version info comparison.
1668 + commit f1d22a9d9594b60ef77e0862d100286acd0508a9
1669 * lang/cpp/src/engineinfo.h (EngineInfo::Version::operator<):
1670 Fix logic.
1671 * lang/cpp/src/engineinfo.h (EngineInfo::Version::operator>):
1672 New.
1673 * NEWS: Mention added API
1674
1675 2017-07-26 Andre Heinecke <[email protected]>
1676
1677 cpp: Fix Key::isDeVs for subkeys.
1678 + commit 270a8dc4e8d3fe9099d0ca36509d0396c2108afd
1679 * lang/cpp/src/key.cpp (Key::isDeVs): Check all subkeys.
1680
1681 2017-07-10 Andre Heinecke <[email protected]>
1682
1683 Add isDeVs to ostream operator.
1684 + commit 7e99bec2765fe9c418dec1060259ce30925e6a93
1685 * lang/cpp/src/decryptionresult.cpp,
1686 lang/cpp/src/verificationresult.cpp: Extend ostream operator
1687 to include isDeVs.
1688
1689 2017-06-12 Andre Heinecke <[email protected]>
1690
1691 cpp: Fix CMake config library name for GPGME.
1692 + commit 23cde2e8227a456ae8c97840e8b638f91d17ed2d
1693 * lang/cpp/src/GpgmeppConfig.cmake.in.in: The link library
1694 is of course also dynamic.
1695
1696 2017-06-01 Justus Winter <[email protected]>
1697
1698 Add flag 'is_de_vs' to decryption results and signatures.
1699 + commit 07c5a203d11503bd26b40c4b0d297b7165e60a25
1700 * NEWS: Update.
1701 * lang/cpp/src/decryptionresult.cpp (DecryptionResult::isDeVs): New
1702 function.
1703 * lang/cpp/src/decryptionresult.h (DecryptionResult::isDeVs): New
1704 prototype.
1705 * lang/cpp/src/verificationresult.cpp (Signature::isDeVs): New
1706 function.
1707 * lang/cpp/src/verificationresult.h (Signature::isDeVs): New
1708 prototype.
1709 * lang/python/src/results.py (DecryptResult): Turn field 'is_de_vs'
1710 into a boolean.
1711 (Signature): Likewise.
1712 * src/decrypt.c (_gpgme_decrypt_status_handler): Handle the new
1713 compliance status line.
1714 * src/verify.c (_gpgme_verify_status_handler): Likewise.
1715 * src/gpgme.h.in (gpgme_status_code_t): Add new status codes for the
1716 new status lines.
1717 * src/keylist.c (parse_pub_field18): Move function to 'util.h'.
1718 (keylist_colon_handler): Adapt callsites.
1719 * src/status-table.c (status_table): Add new status lines.
1720 * src/util.h (PARSE_COMPLIANCE_FLAGS): New macro. This used to be
1721 'parse_pub_field18', but turned into a macro to make it polymorphic.
1722
1723 2017-04-25 Andre Heinecke <[email protected]>
1724
1725 qt, cpp: Add additional copyright BSI notes.
1726 + commit 16c1f8b135027dfc77f95a209e6cbd9cc2ec2c31
1727 * lang/cpp/Makefile.am,
1728 lang/cpp/src/Makefile.am,
1729 lang/cpp/src/callbacks.cpp,
1730 lang/cpp/src/callbacks.h,
1731 lang/cpp/src/configuration.cpp,
1732 lang/cpp/src/configuration.h,
1733 lang/cpp/src/context_glib.cpp,
1734 lang/cpp/src/context_p.h,
1735 lang/cpp/src/context_qt.cpp,
1736 lang/cpp/src/context_vanilla.cpp,
1737 lang/cpp/src/data_p.h,
1738 lang/cpp/src/decryptionresult.cpp,
1739 lang/cpp/src/decryptionresult.h,
1740 lang/cpp/src/defaultassuantransaction.cpp,
1741 lang/cpp/src/defaultassuantransaction.h,
1742 lang/cpp/src/editinteractor.cpp,
1743 lang/cpp/src/editinteractor.h,
1744 lang/cpp/src/encryptionresult.cpp,
1745 lang/cpp/src/encryptionresult.h,
1746 lang/cpp/src/engineinfo.cpp,
1747 lang/cpp/src/engineinfo.h,
1748 lang/cpp/src/error.h,
1749 lang/cpp/src/eventloopinteractor.cpp,
1750 lang/cpp/src/eventloopinteractor.h,
1751 lang/cpp/src/exception.cpp,
1752 lang/cpp/src/exception.h,
1753 lang/cpp/src/global.h,
1754 lang/cpp/src/gpgadduserideditinteractor.cpp,
1755 lang/cpp/src/gpgadduserideditinteractor.h,
1756 lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
1757 lang/cpp/src/gpgagentgetinfoassuantransaction.h,
1758 lang/cpp/src/gpgmefw.h,
1759 lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
1760 lang/cpp/src/gpgsetexpirytimeeditinteractor.h,
1761 lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
1762 lang/cpp/src/gpgsetownertrusteditinteractor.h,
1763 lang/cpp/src/gpgsignkeyeditinteractor.cpp,
1764 lang/cpp/src/gpgsignkeyeditinteractor.h,
1765 lang/cpp/src/importresult.cpp,
1766 lang/cpp/src/importresult.h,
1767 lang/cpp/src/interfaces/assuantransaction.h,
1768 lang/cpp/src/interfaces/dataprovider.h,
1769 lang/cpp/src/interfaces/passphraseprovider.h,
1770 lang/cpp/src/interfaces/progressprovider.h,
1771 lang/cpp/src/keygenerationresult.cpp,
1772 lang/cpp/src/keygenerationresult.h,
1773 lang/cpp/src/keylistresult.cpp,
1774 lang/cpp/src/keylistresult.h,
1775 lang/cpp/src/notation.h,
1776 lang/cpp/src/result.h,
1777 lang/cpp/src/result_p.h,
1778 lang/cpp/src/scdgetinfoassuantransaction.cpp,
1779 lang/cpp/src/scdgetinfoassuantransaction.h,
1780 lang/cpp/src/signingresult.cpp,
1781 lang/cpp/src/signingresult.h,
1782 lang/cpp/src/trustitem.cpp,
1783 lang/cpp/src/trustitem.h,
1784 lang/cpp/src/util.h,
1785 lang/cpp/src/verificationresult.cpp,
1786 lang/cpp/src/verificationresult.h,
1787 lang/cpp/src/vfsmountresult.cpp,
1788 lang/qt/Makefile.am,
1789 lang/qt/doc/Makefile.am,
1790 lang/qt/src/Makefile.am,
1791 lang/qt/src/defaultkeygenerationjob.h,
1792 lang/qt/tests/Makefile.am: Add missing copyright.
1793
1794 Change copyright from Intevation to BSI.
1795 + commit 23aa55cf38514cdb22403bb24279501bc3a7e7e7
1796 * lang/cpp/src/gpggencardkeyinteractor.cpp,
1797 lang/cpp/src/gpggencardkeyinteractor.h,
1798 lang/cpp/src/gpgmepp_export.h,
1799 lang/cpp/src/swdbresult.cpp,
1800 lang/cpp/src/swdbresult.h,
1801 lang/cpp/src/tofuinfo.cpp,
1802 lang/cpp/src/tofuinfo.h,
1803 lang/qt/src/abstractimportjob.h,
1804 lang/qt/src/adduseridjob.h,
1805 lang/qt/src/changeexpiryjob.h,
1806 lang/qt/src/changeownertrustjob.h,
1807 lang/qt/src/changepasswdjob.h,
1808 lang/qt/src/cryptoconfig.cpp,
1809 lang/qt/src/cryptoconfig.h,
1810 lang/qt/src/dataprovider.cpp,
1811 lang/qt/src/dataprovider.h,
1812 lang/qt/src/decryptjob.h,
1813 lang/qt/src/decryptverifyjob.h,
1814 lang/qt/src/deletejob.h,
1815 lang/qt/src/dn.cpp,
1816 lang/qt/src/dn.h,
1817 lang/qt/src/downloadjob.h,
1818 lang/qt/src/encryptjob.h,
1819 lang/qt/src/exportjob.h,
1820 lang/qt/src/hierarchicalkeylistjob.h,
1821 lang/qt/src/importfromkeyserverjob.h,
1822 lang/qt/src/importjob.h,
1823 lang/qt/src/job.cpp,
1824 lang/qt/src/job.h,
1825 lang/qt/src/keyformailboxjob.h,
1826 lang/qt/src/keygenerationjob.h,
1827 lang/qt/src/keylistjob.h,
1828 lang/qt/src/listallkeysjob.h,
1829 lang/qt/src/multideletejob.h,
1830 lang/qt/src/protocol.h,
1831 lang/qt/src/protocol_p.h,
1832 lang/qt/src/qgpgme_export.h,
1833 lang/qt/src/qgpgmeadduseridjob.cpp,
1834 lang/qt/src/qgpgmeadduseridjob.h,
1835 lang/qt/src/qgpgmebackend.cpp,
1836 lang/qt/src/qgpgmebackend.h,
1837 lang/qt/src/qgpgmechangeexpiryjob.cpp,
1838 lang/qt/src/qgpgmechangeexpiryjob.h,
1839 lang/qt/src/qgpgmechangeownertrustjob.cpp,
1840 lang/qt/src/qgpgmechangeownertrustjob.h,
1841 lang/qt/src/qgpgmechangepasswdjob.cpp,
1842 lang/qt/src/qgpgmechangepasswdjob.h,
1843 lang/qt/src/qgpgmedecryptjob.cpp,
1844 lang/qt/src/qgpgmedecryptjob.h,
1845 lang/qt/src/qgpgmedecryptverifyjob.cpp,
1846 lang/qt/src/qgpgmedecryptverifyjob.h,
1847 lang/qt/src/qgpgmedeletejob.cpp,
1848 lang/qt/src/qgpgmedeletejob.h,
1849 lang/qt/src/qgpgmedownloadjob.cpp,
1850 lang/qt/src/qgpgmedownloadjob.h,
1851 lang/qt/src/qgpgmeencryptjob.cpp,
1852 lang/qt/src/qgpgmeencryptjob.h,
1853 lang/qt/src/qgpgmeexportjob.cpp,
1854 lang/qt/src/qgpgmeexportjob.h,
1855 lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
1856 lang/qt/src/qgpgmeimportfromkeyserverjob.h,
1857 lang/qt/src/qgpgmeimportjob.cpp,
1858 lang/qt/src/qgpgmeimportjob.h,
1859 lang/qt/src/qgpgmekeyformailboxjob.cpp,
1860 lang/qt/src/qgpgmekeyformailboxjob.h,
1861 lang/qt/src/qgpgmekeygenerationjob.cpp,
1862 lang/qt/src/qgpgmekeygenerationjob.h,
1863 lang/qt/src/qgpgmekeylistjob.cpp,
1864 lang/qt/src/qgpgmekeylistjob.h,
1865 lang/qt/src/qgpgmelistallkeysjob.cpp,
1866 lang/qt/src/qgpgmelistallkeysjob.h,
1867 lang/qt/src/qgpgmenewcryptoconfig.cpp,
1868 lang/qt/src/qgpgmenewcryptoconfig.h,
1869 lang/qt/src/qgpgmerefreshkeysjob.cpp,
1870 lang/qt/src/qgpgmerefreshkeysjob.h,
1871 lang/qt/src/qgpgmesecretkeyexportjob.cpp,
1872 lang/qt/src/qgpgmesecretkeyexportjob.h,
1873 lang/qt/src/qgpgmesignencryptjob.cpp,
1874 lang/qt/src/qgpgmesignencryptjob.h,
1875 lang/qt/src/qgpgmesignjob.cpp,
1876 lang/qt/src/qgpgmesignjob.h,
1877 lang/qt/src/qgpgmesignkeyjob.cpp,
1878 lang/qt/src/qgpgmesignkeyjob.h,
1879 lang/qt/src/qgpgmetofupolicyjob.cpp,
1880 lang/qt/src/qgpgmetofupolicyjob.h,
1881 lang/qt/src/qgpgmeverifydetachedjob.cpp,
1882 lang/qt/src/qgpgmeverifydetachedjob.h,
1883 lang/qt/src/qgpgmeverifyopaquejob.cpp,
1884 lang/qt/src/qgpgmeverifyopaquejob.h,
1885 lang/qt/src/qgpgmewkspublishjob.cpp,
1886 lang/qt/src/qgpgmewkspublishjob.h,
1887 lang/qt/src/refreshkeysjob.h,
1888 lang/qt/src/signencryptjob.h,
1889 lang/qt/src/signjob.h,
1890 lang/qt/src/signkeyjob.h,
1891 lang/qt/src/specialjob.h,
1892 lang/qt/src/threadedjobmixin.cpp,
1893 lang/qt/src/threadedjobmixin.h,
1894 lang/qt/src/tofupolicyjob.h,
1895 lang/qt/src/verifydetachedjob.h,
1896 lang/qt/src/verifyopaquejob.h,
1897 lang/qt/src/wkspublishjob.h,
1898 lang/qt/tests/run-keyformailboxjob.cpp,
1899 lang/qt/tests/t-config.cpp,
1900 lang/qt/tests/t-encrypt.cpp,
1901 lang/qt/tests/t-keylist.cpp,
1902 lang/qt/tests/t-keylocate.cpp,
1903 lang/qt/tests/t-ownertrust.cpp,
1904 lang/qt/tests/t-support.cpp,
1905 lang/qt/tests/t-support.h,
1906 lang/qt/tests/t-tofuinfo.cpp,
1907 lang/qt/tests/t-various.cpp,
1908 lang/qt/tests/t-verify.cpp,
1909 lang/qt/tests/t-wkspublish.cpp,
1910 tests/gpg/t-encrypt-mixed.c,
1911 tests/gpg/t-thread-keylist-verify.c,
1912 tests/gpg/t-thread-keylist.c,
1913 tests/run-decrypt.c: Change Intevation GmbH copyright to BSI.
1914
1915 2017-03-24 Andre Heinecke <[email protected]>
1916
1917 cpp: Respect decrypt flags in new functions.
1918 + commit b77b42091525d05c8d1a006a1bb9182c09f44aa7
1919 * lang/cpp/src/context.cpp: Respect directly provided flags
1920 in the new decrypt functions.
1921
1922 cpp: Use gpgme_op_decrypt_ex and add new flags.
1923 + commit 4f750fba7c3d2f2df6ef20f013a1097efdd9b894
1924 * lang/cpp/src/context.cpp: New decrypt and decryptVerify functions
1925 that take flags as arguments. Use new variants in old functions.
1926 (Context::setDecryptionFlags): New helper.
1927 (Context::Private::Private): Initialize new member.
1928 * lang/cpp/src/context_p.h (Context::Private::decryptFlags): New.
1929 * lang/cpp/src/context.h (Context::DecryptFlags): New enum.
1930 (Context::EncryptionFlags): Extend for EncryptWrap.
1931
1932 2017-03-22 Andre Heinecke <[email protected]>
1933
1934 cpp: Wrap keylist_from_data.
1935 + commit 7edd7d4b9167cc9ffa4d0842903b7a6ac477fe44
1936 * lang/cpp/data.h, lang/cpp/data.cpp (GpgME::Data::toKeys): New.
1937
1938 2017-03-20 Werner Koch <[email protected]>
1939
1940 core,cpp: New key flag 'is_de_vs'.
1941 + commit f3e6b082cd21f03634632ddfb530bb631eb38919
1942 * src/gpgme.h.in (_gpgme_subkey): New flag is_de_vs.
1943 * tests/run-keylist.c (main): Print that flag.
1944 * src/keylist.c (parse_pub_field18): New.
1945 (keylist_colon_handler): Parse compliance flags.
1946 * lang/cpp/src/key.cpp (Key::isDeVs): New.
1947 (Subkey::isDeVs): New.
1948
1949 * lang/cpp/src/key.h (class Key): New method isDeVs.
1950 (class Subkey): New method isDeVs.
1951
1952 2017-03-02 Andre Heinecke <[email protected]>
1953
1954 cpp: Add subkey keygrip to API.
1955 + commit 96bdfef6487b8e727b8a21d2bdf7f3bfad1982df
1956 * lang/cpp/src/key.cpp (Subkey::keyGrip): New.
1957 * lang/cpp/src/key.h: Update accordingly.
1958
1959 2017-03-01 Andre Heinecke <[email protected]>
1960
1961 cpp: Add interactor to generate keys on smartcard.
1962 + commit 94c668084c441a106ef037f8fd47474554444eb7
1963 * lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
1964 Handle new states.
1965 * lang/cpp/src/gpggencardkeyinteractor.cpp,
1966 lang/cpp/src/gpggencardkeyinteractor.h: New.
1967 * lang/cpp/src/Makefile.am: Update accordingly.
1968
1969 2017-01-11 Andre Heinecke <[email protected]>
1970
1971 cpp: Add revuid and adduid support.
1972 + commit 6f466c9bbe62c191b730590fab71ec3b5d5d9fc3
1973 * lang/cpp/src/context.cpp
1974 (Context::revUid, Context::startRevUid),
1975 (Context::addUid, Context::startAddUid): New.
1976 * lang/cpp/src/context.h: Declare new functions.
1977 * lang/cpp/src/key.cpp (Key::UserID::revoke)
1978 (Key::addUid): Idomatic helpers.
1979 lang/cpp/src/key.h: Declare new functions.
1980 * NEWS: Update accordingly.
1981
1982 Fix cmake configuration files for MacOS.
1983 + commit 232fa28e6513f369cf6d5657b0a3199c4c178a09
1984 * configure.ac: Set HAVE_MACOS_SYSTEM conditional.
1985 * lang/qt/src/Makefile.am,
1986 lang/cpp/src/Makefile.am,
1987 lang/qt/src/QGpgmeConfig.cmake.in.in,
1988 lang/cpp/src/GpgmeConfig.cmake.in.in: Use libsuffix again to
1989 distinguish between macos .dylib
1990
1991 2016-12-16 Andre Heinecke <[email protected]>
1992
1993 cpp: Ensure that hasSecret is correct after update.
1994 + commit 14f877cf66d4e1f171280dd7ab4ff54a7f5892fa
1995 * lang/cpp/src/key.cpp (Key::update): Check for
1996 a secret key first before listing public keys.
1997
1998 2016-12-15 Andre Heinecke <[email protected]>
1999
2000 cpp: Fix addrSpec for keys without email.
2001 + commit be9afa267f25587d61de428a7097b48d1ef518d6
2002 * lang/cpp/src/key.cpp (UserID::addrSpec): Use uid->address instead
2003 of normalizing again.
2004 (&operator<<(std::ostream &, const UserID &): Print it.
2005
2006 cpp: Fix update of partial key in verifyresult.
2007 + commit 27143a5c7085090a74d005388498ad122f1661cc
2008 * lang/cpp/src/verificationresult.cpp
2009 (Signature::key(bool,bool)): Don't update the returned copy
2010 but the actual key of the signature.
2011
2012 2016-11-17 Heiko Becker <[email protected]>
2013
2014 Remove a forgotten instance of @libsuffix@
2015 + commit 2ab9d752ace1a87dee1c23ad3fefbb089e79c940
2016 * lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove a forgotten
2017 instance of @libsuffix@.
2018
2019 2016-11-15 Andre Heinecke <[email protected]>
2020
2021 qt, cpp: Add cmake config files for w32.
2022 + commit 000376ef9377fa45eef52bc50efd68babbf8680f
2023 * lang/cpp/src/GpgmeppConfig-w32.cmake.in.in
2024 lang/qt/src/QGpgmeConfig-w32.cmake.in.in: New.
2025 * lang/cpp/src/GpgmeppConfig.cmake.in.in,
2026 lang/qt/src/QGpgmeConfig.cmake.in.in: Remove libsuffix handling.
2027 * lang/cpp/src/Makefile.am,
2028 lang/qt/src/Makefile.am: Create / install w32 config files.
2029 * configure.ac: Configure them.
2030
2031 2016-11-14 Andre Heinecke <[email protected]>
2032
2033 cpp: Add get / set Sender API.
2034 + commit 93590ea8d75aa7e3811cb0ddf4b3d088122e20fa
2035 * cpp/src/context.cpp, cpp/src/context.h (Context::setSender),
2036 (Context::getSender): Add simple wrappers.
2037
2038 qt, cpp: Enable dll build for windows.
2039 + commit 099fdfa6878cc4d6c07438120e95966233a516d5
2040 * lang/cpp/src/Makefile.am,
2041 lang/qt/src/Makefile.am: Add -no-undefined to LDFLAGS.
2042
2043 2016-11-04 Andre Heinecke <[email protected]>
2044
2045 cpp: Add API for swdb queries.
2046 + commit 70d3bcbeef47f1a13d81d2300c05e1f227b01a0f
2047 * lang/cpp/src/swdbresult.cpp,
2048 lang/cpp/src/swdbresult.h (SwdbResult): New.
2049 * lang/cpp/src/Makefile.am: Update accordingly.
2050
2051 cpp: Add more EngineInfo::Version ctors.
2052 + commit 8fe50c85aad498bbc692a5faea637fe6de06183a
2053 * lang/cpp/src/engineinfo.h
2054 (EngineInfo::Version::Version(const char*)),
2055 (EngineInfo::Version::Version()): New.
2056
2057 cpp: Don't include gpgme.h in tofuinfo header.
2058 + commit 4ebab0de56451d8852e2720fcc195062e028d73a
2059 * lang/cpp/src/tofuinfo.h: Don't include gpgme.h
2060
2061 cpp: Extend gpgmefw for tofuinfo and swdb query.
2062 + commit db8bc660fae50739af6bb559d5450ae69d05adf3
2063 * lang/cpp/src/gpgmefw.h (gpgme_tofu_info_t)
2064 (gpgme_query_swdb_result_t): New forwards.
2065
2066 2016-11-02 Andre Heinecke <[email protected]>
2067
2068 qt, cpp: Fix versioning in cmake config and header.
2069 + commit 6918fbc0f037b37568688768b30de9a060cdcd4c
2070 * configure.ac (VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO): New
2071 subst variables for the version header.
2072 * lang/cpp/src/GpgmeppConfigVersion.cmake.in,
2073 lang/cpp/src/gpgmepp_version.h.in,
2074 lang/qt/src/QGpgmeConfigVersion.cmake.in,
2075 lang/qt/src/qgpgme_version.h.in: Use new variables.
2076
2077 qt, cpp: Add all generated files to cleanfiles.
2078 + commit d175f9d20681d7f99854f029a61c389b881e500f
2079 * cpp/src/Makefile.am (CLEANFILES),
2080 qt/src/Makefile.am (CLEANFILES): Add all generated files
2081 to cleanfiles.
2082
2083 2016-11-01 Andre Heinecke <[email protected]>
2084
2085 qt, cpp: Install version headers in subdirs.
2086 + commit 2953709e723932a12840769fa7fe128ab44a0851
2087 * lang/cpp/src/Makefile.am,
2088 lang/qt/src/Makefile.am: Install version headers in include
2089 subdirs.
2090
2091 2016-10-14 Andre Heinecke <[email protected]>
2092
2093 cpp: Fix init of string from null.
2094 + commit 007f5ccac6133abdf33a654fb7041f83135cff0e
2095 * lang/cpp/src/key.cpp (UserID::addrSpecFromString): Check return
2096 value before creating the string.
2097
2098 2016-10-13 Andre Heinecke <[email protected]>
2099
2100 qt, cpp: Fix permissions of Config files.
2101 + commit 8ecfad56d99e69f7d9a99c0311c0cee109e24862
2102 * lang/cpp/src/Makefile.am,
2103 lang/qt/src/Makefile.am: Do not install config files as executable.
2104
2105 qt, cpp: Fix expected targets in Config files.
2106 + commit 3d2bfe3fc73dc50e9c4bcdb6a4c41b486fca6dbe
2107 * lang/cpp/src/GpgmeppConfig.cmake.in.in,
2108 lang/qt/src/QGpgmeConfig.cmake.in.in: Remove KF5 variants.
2109
2110 2016-10-11 Andre Heinecke <[email protected]>
2111
2112 cpp: Add API for gpgme_addrspec_from_uid.
2113 + commit db27fae86f854d0ba1829c20b7de1a10e15369ea
2114 * lang/cpp/src/key.cpp (UserID::addrSpecFromString): New static
2115 function to expose addrspec from uid.
2116 (UserID::addrSpec): New. Get addrSpec from Userid.
2117 * NEWS: Update accordingly.
2118
2119 2016-10-10 Andre Heinecke <[email protected]>
2120
2121 Add convenience function to get key from sig.
2122 + commit 742e7b5368a570f348b157112b69aff9ee025214
2123 * lang/cpp/src/verificationresult.cpp (Signature::key(bool, bool)):
2124 New. Can be used to search / update the key associcated with this
2125 signature.
2126
2127 cpp: Return null key if the signature had no key.
2128 + commit af9c4fbc8179857b034186e9ee16201755066d29
2129 * lang/cpp/src/verificationresult.cpp (Private): Add null key
2130 to list when there is no key associated with the signature.
2131
2132 2016-10-06 Justus Winter <[email protected]>
2133
2134 Add missing includes.
2135 + commit 92dac40b8d63d4b7bbed41a00263e17e3d00cb9b
2136 * lang/cpp/src/key.cpp: Include <strings.h> for 'strcasecmp'.
2137 * tests/gpg/t-cancel.c: Include <sys/select.h> for 'fd_set' and
2138 friends.
2139
2140 2016-10-05 Andre Heinecke <[email protected]>
2141
2142 cpp: Add support for URL Data encodings.
2143 + commit f1ecc0b629174dff3845dd122e78878086d213c2
2144 * lang/cpp/src/data.h (Data::Encoding): Extend enum.
2145 * lang/cpp/src/data.cpp (Data::encoding),
2146 Data::setEncoding): Support new values.
2147
2148 cpp: Fix gcc diagnostic push / pop.
2149 + commit d411b3725a11fd145558f8d2f6ce7c2c5155e6f8
2150 * lang/cpp/src/context.cpp: Fix pragmas.
2151
2152 2016-09-29 Andre Heinecke <[email protected]>
2153
2154 cpp, qt: Handle modified includedir installation.
2155 + commit 842e58dc66b79c5f9d598a1881344f903744f8b9
2156 * lang/cpp/src/Makefile.am,
2157 lang/qt/src/Makefile.am: Replace resolved_includedir.
2158 * lang/cpp/src/GpgmeppConfig.cmake.in.in,
2159 lang/qt/src/QGpgmeConfig.cmake.in.in: Use resolved_includedir
2160 instead of relying on a common installation prefix.
2161
2162 2016-09-23 Daniel Kahn Gillmor <[email protected]>
2163
2164 Fix spelling.
2165 + commit d29a9ba4ff4acf7bfd4b0057d8ed36421a1e19d9
2166 * lang/cpp/src/context.h, lang/qt/src/protocol.h,
2167 lang/qt/src/wkspublishjob.h, src/data-identify.c, src/engine-gpg.c:
2168 minor spelling cleanup.
2169
2170 2016-09-23 Andre Heinecke <[email protected]>
2171
2172 cpp, qt: Include config.h.
2173 + commit 780fbbadc92a0ea1e172e587564075c73b6b9771
2174 lang/cpp/src/callbacks.cpp,
2175 lang/cpp/src/configuration.cpp,
2176 lang/cpp/src/context.cpp,
2177 lang/cpp/src/context_glib.cpp,
2178 lang/cpp/src/context_qt.cpp,
2179 lang/cpp/src/context_vanilla.cpp,
2180 lang/cpp/src/data.cpp,
2181 lang/cpp/src/decryptionresult.cpp,
2182 lang/cpp/src/defaultassuantransaction.cpp,
2183 lang/cpp/src/editinteractor.cpp,
2184 lang/cpp/src/encryptionresult.cpp,
2185 lang/cpp/src/engineinfo.cpp,
2186 lang/cpp/src/eventloopinteractor.cpp,
2187 lang/cpp/src/exception.cpp,
2188 lang/cpp/src/gpgadduserideditinteractor.cpp,
2189 lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
2190 lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
2191 lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
2192 lang/cpp/src/gpgsignkeyeditinteractor.cpp,
2193 lang/cpp/src/importresult.cpp,
2194 lang/cpp/src/key.cpp,
2195 lang/cpp/src/keygenerationresult.cpp,
2196 lang/cpp/src/keylistresult.cpp,
2197 lang/cpp/src/scdgetinfoassuantransaction.cpp,
2198 lang/cpp/src/signingresult.cpp,
2199 lang/cpp/src/tofuinfo.cpp,
2200 lang/cpp/src/trustitem.cpp,
2201 lang/cpp/src/verificationresult.cpp,
2202 lang/cpp/src/vfsmountresult.cpp,
2203 lang/qt/src/dataprovider.cpp,
2204 lang/qt/src/defaultkeygenerationjob.cpp,
2205 lang/qt/src/gpgme_backend_debug.cpp,
2206 lang/qt/src/job.cpp,
2207 lang/qt/src/qgpgmeadduseridjob.cpp,
2208 lang/qt/src/qgpgmebackend.cpp,
2209 lang/qt/src/qgpgmechangeexpiryjob.cpp,
2210 lang/qt/src/qgpgmechangeownertrustjob.cpp,
2211 lang/qt/src/qgpgmechangepasswdjob.cpp,
2212 lang/qt/src/qgpgmedecryptjob.cpp,
2213 lang/qt/src/qgpgmedecryptverifyjob.cpp,
2214 lang/qt/src/qgpgmedeletejob.cpp,
2215 lang/qt/src/qgpgmedownloadjob.cpp,
2216 lang/qt/src/qgpgmeencryptjob.cpp,
2217 lang/qt/src/qgpgmeexportjob.cpp,
2218 lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
2219 lang/qt/src/qgpgmeimportjob.cpp,
2220 lang/qt/src/qgpgmekeyformailboxjob.cpp,
2221 lang/qt/src/qgpgmekeygenerationjob.cpp,
2222 lang/qt/src/qgpgmekeylistjob.cpp,
2223 lang/qt/src/qgpgmelistallkeysjob.cpp,
2224 lang/qt/src/qgpgmenewcryptoconfig.cpp,
2225 lang/qt/src/qgpgmerefreshkeysjob.cpp,
2226 lang/qt/src/qgpgmesecretkeyexportjob.cpp,
2227 lang/qt/src/qgpgmesignencryptjob.cpp,
2228 lang/qt/src/qgpgmesignjob.cpp,
2229 lang/qt/src/qgpgmesignkeyjob.cpp,
2230 lang/qt/src/qgpgmetofupolicyjob.cpp,
2231 lang/qt/src/qgpgmeverifydetachedjob.cpp,
2232 lang/qt/src/qgpgmeverifyopaquejob.cpp,
2233 lang/qt/src/qgpgmewkspublishjob.cpp,
2234 lang/qt/src/threadedjobmixin.cpp,
2235 lang/qt/tests/run-keyformailboxjob.cpp,
2236 lang/qt/tests/t-encrypt.cpp,
2237 lang/qt/tests/t-keylist.cpp,
2238 lang/qt/tests/t-keylocate.cpp,
2239 lang/qt/tests/t-ownertrust.cpp,
2240 lang/qt/tests/t-support.cpp,
2241 lang/qt/tests/t-tofuinfo.cpp,
2242 lang/qt/tests/t-wkspublish.cpp: Include config.h
2243
2244 2016-09-21 Andreas Stieger <[email protected]>
2245
2246 cpp: Avoid missing returns in non-void functions.
2247 + commit f2babcd71b899200d3ed715fbeb65b52912a6609
2248 * lang/cpp/src/context.cpp
2249 (Context::signaturePolicyURL): return nullptr on default
2250 (to_tofu_policy_t): add default case for unknown
2251 * lang/cpp/src/key.cpp
2252 (Key::primaryFingerprint): return nullptr on default
2253 * lang/cpp/src/tofuinfo.cpp
2254 (GpgME::TofuInfo::policy): add default case for unknown
2255
2256 2016-09-19 Andre Heinecke <[email protected]>
2257
2258 cpp: Improve README.
2259 + commit 48c4045dceb9f90d164d5af3fb21c82a40daa9af
2260 * lang/cpp/README: Add more content, move license to bottom.
2261
2262 2016-09-16 Andre Heinecke <[email protected]>
2263
2264 cpp: Add support for gpgme_op_tofu_policy.
2265 + commit 956b44b5764102623a1a81117e771258f0340151
2266 * src/context.cpp, src/context.h (setTofuPolicy, setTofuPolicyStart):
2267 New.
2268
2269 cpp: Declare sizes of tofu-info enums.
2270 + commit f029812a9b48b3308c60f1749eeb3370188ad7c0
2271 * lang/cpp/src/tofuinfo.h (Policy, Validity): Declare sizes.
2272
2273 2016-09-16 Werner Koch <[email protected]>
2274
2275 cpp: Silence use of deprecated function warning.
2276 + commit 2ab61c95abf8805412a610641176384548133033
2277 * lang/cpp/src/context.cpp (GpgME): Use pragma to silence wardning.
2278
2279 2016-09-07 Werner Koch <[email protected]>
2280
2281 core,cpp: Extend the TOFU information.
2282 + commit a913688272b9bda15eb2bc196e55ccae782bcf36
2283 * src/gpgme.h.in (struct _gpeme_tofu_info): Rename FIRSTSEEN to
2284 SIGNFIRST and LASTSEEN to SIGNLAST. Add ENCRFIST and ENCRLAST.
2285 * src/keylist.c (parse_tfs_record): Parse to ENCRFIRST and ENCRLAST.
2286 * src/verify.c (parse_tofu_stats): Ditto.
2287 * tests/run-keylist.c (main): Adjust and print encrypt stats.
2288 * tests/run-verify.c (print_result): Ditto.
2289
2290 * lang/cpp/src/tofuinfo.h (TofuInfo): Rename firstSeen to signFirst
2291 and lastSeen to signLast. Add encrCount, encrFirst and encrLast.
2292 * lang/cpp/src/tofuinfo.cpp (encrCount, encrFirst, encrLast): New.
2293
2294 2016-09-05 Andre Heinecke <[email protected]>
2295
2296 cpp: Add convenience update function to a key.
2297 + commit 28a12a89751a6c03d80834fc3195d832a7747076
2298 * lang/cpp/src/key.cpp (Key::update): New.
2299 * lang/cpp/src/key.h: Update accordingly.
2300
2301 cpp: Add ostream operators for key and uid.
2302 + commit a149253b65d43f069088a5d6918c7197de08647b
2303 * lang/cpp/src/key.cpp (Key, UserID): Add ostream operator.
2304 * lang/cpp/src/key.h: Update accordingly.
2305
2306 2016-08-25 Andre Heinecke <[email protected]>
2307
2308 cpp: Add WithTofu Keylist Mode.
2309 + commit 00082a0a4c6ee82574a5e56f438138068f4e56a8
2310 * lang/cpp/src/context.cpp: Handle WithTofu.
2311 * lang/cpp/src/global.h (KeyListMode): Add WithTofu.
2312 * lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t): Handle WithTofu.
2313
2314 Cpp: Change firstSeen / lastSeen return values.
2315 + commit ccd5c742c05726a22c537375bcdd4d1505a5a4a5
2316 * lang/cpp/src/tofuinfo.cpp,
2317 lang/cpp/src/tofuinfo.h (TofuInfo::firstSeen, TofuInfo::lastSeen):
2318 Change return values to unsigned long and update doc.
2319
2320 Cpp: Add wrapper for gpgme_get_dirinfo.
2321 + commit 1b39ab00a088730bcd093dc5173b10de05eff3a1
2322 * lang/cpp/src/context.cpp (dirInfo): New.
2323 * lang/cpp/src/global.h (dirInfo): New.
2324
2325 Cpp: Add support for spawn engine.
2326 + commit 17ef7f612f6ae1a3156e7a9d81dc015cf261ee8c
2327 * lang/cpp/src/context.cpp (Context::spawn, Context::spawnAsync): New.
2328 * lang/cpp/src/context.h: Add prototypes.
2329 (SpawnFlags): New.
2330 * lang/cpp/src/global.h (SpawnEngine): Added.
2331
2332 2016-08-24 Werner Koch <[email protected]>
2333
2334 cpp: Get rid of AssuanResult due to its deprecation.
2335 + commit 5c593f92da79a5f1c7ede280011af78f6b8afbcf
2336 * lang/cpp/src/assuanresult.cpp: Remove.
2337 * lang/cpp/src/assuanresult.h: Remove.
2338 * lang/cpp/src/Makefile.am: Remove these files.
2339 * lang/cpp/src/context.cpp: Remove header assuanresult.h
2340 (assuanTransact): Change return type to Error. Use
2341 gpgme_op_assuan_transact_ext.
2342 (startAssuanTransaction): Change return type to Error.
2343 (assuanResult): Remove
2344 * lang/cpp/src/context.h (assuanResult): Adjust for changes.
2345
2346 2016-08-24 Andre Heinecke <[email protected]>
2347
2348 Cpp: Add Key to signature.
2349 + commit 613ae1fc8f359d8de5c825b2b78844e78e0c8db3
2350 * lang/cpp/src/verificationresult.cpp,
2351 lang/cpp/src/verificationresult.h (Signature::key): New.
2352
2353 Cpp: Use fpr field for primaryFingerprint.
2354 + commit fe01e0c661c1494a91209021ab12a035b9044cf6
2355 * lang/cpp/src/key.cpp (Key::primaryFingerprint): Return
2356 fpr value if available.
2357
2358 2016-08-23 Andre Heinecke <[email protected]>
2359
2360 Cpp: Move tofuinfo from signature to userid.
2361 + commit 967d8e0aa60042b83e3ac21505d60690585a1f1c
2362 * lang/cpp/src/key.cpp (UserID::tofuInfo): New.
2363 * lang/cpp/src/key.h: Update accordingly.
2364 * lang/cpp/src/tofuinfo.cpp: Remove dropped fields.
2365 * lang/cpp/src/tofuinfo.h: Update accordingly.
2366 * lang/cpp/src/verificationresult.cpp,
2367 lang/cpp/src/verificationresult.h: Remove tofu info.
2368 * lang/qt/tests/t-tofuinfo.cpp: Disable for now.
2369
2370 2016-08-17 Andre Heinecke <[email protected]>
2371
2372 Cpp: Fix some pedantic warnings.
2373 + commit e687f2e387054b0c6e05b31daeb7f70521c4892d
2374 * lang/cpp/src/context.cpp,
2375 lang/cpp/src/context.h (Context::getKeysFromRecipients): Remove
2376 ignored / invalid const qualifier.
2377 * lang/cpp/src/result.h: Don't shadow error function in ctor.
2378
2379 2016-08-12 Andre Heinecke <[email protected]>
2380
2381 Cpp: Provide size-hint for seekable and mem data.
2382 + commit 10a657ea568170d460e7fdca47d30640dbdd0693
2383 * lang/cpp/src/data.cpp (GpgME::Data::Data): Set size-hint for
2384 mem and DataProvider based Data.
2385
2386 2016-08-10 Andre Heinecke <[email protected]>
2387
2388 Cpp: Handle empty recipients consistently.
2389 + commit e072e352d17e643a045585edd3877505a8a262c0
2390 * lang/cpp/src/context.cpp (Context::getKeysFromRecipients):
2391 New helper.
2392 (Context::encrypt, Context::startEncryption, Context::signAndEncrypt)
2393 (Context::startCombinedSigningAndEncryption): Use new helper.
2394 * lang/cpp/src/context.h (Context::getKeysFromRecipients): Add
2395 as private helper.
2396
2397 Cpp: Clarify ownership of provider classes.
2398 + commit cb339b78dc6c1f86edf625dfd9dcd9f2a7aadec8
2399 * lang/cpp/src/context.h: Note that the context does not take
2400 ownership of providers.
2401
2402 2016-08-09 Andre Heinecke <[email protected]>
2403
2404 Cpp: Add support for all EncryptionFlags.
2405 + commit 7f9052a6202af70c91069b0029d5022d49a700f5
2406 * lang/cpp/src/context.h (EncryptionFlags): Extend.
2407 * lang/cpp/src/context.cpp (encryptflags2encryptflags): Ditto.
2408
2409 Cpp: Fix simple symmetric encryption.
2410 + commit 0f665861e0fa66c66f28ee0e423c73f787c3aa0e
2411 * lang/cpp/src/context.cpp (Context::encrypt): If no recipients
2412 are provided encrypt with NULL and not an empty array.
2413
2414 2016-07-14 Andre Heinecke <[email protected]>
2415
2416 Cpp: Add EngineInfo::Version class.
2417 + commit 4c180b7092e27e4a0216e4a3149ee966339b0b09
2418 * lang/cpp/src/engineinfo.cpp (EngineInfo::engineVersion): New.
2419 * lang/cpp/src/engineinfo.h (EngineInfo::engineVersion): Declare.
2420 (EngineInfo::Version): Small helper to work with versions.
2421
2422 2016-07-13 Werner Koch <[email protected]>
2423
2424 core: New GPGME_DATA_ENCODING_MIME.
2425 + commit 9d37114932a6aab187f71b2b0025f05cbc4826a5
2426 * src/gpgme.h.in (GPGME_DATA_ENCODING_MIME): New.
2427 * src/data.c (gpgme_data_set_encoding): Adjust check.
2428 * src/engine-gpg.c (have_gpg_version): New.
2429 (gpg_encrypt, gpg_encrypt_sign): Pass flag '--mimemode'.
2430 (gpg_sign): Ditto.
2431
2432 * lang/cpp/src/data.h (GpgME): Add MimeEncoding.
2433 * lang/cpp/src/data.cpp (encoding, setEncoding): Support MimeEncoding.
2434
2435 * src/gpgme-tool.c (server_data_encoding): Add flag --mime.
2436
2437 2016-07-13 Andre Heinecke <[email protected]>
2438
2439 Cpp: Add feature enum for new identify.
2440 + commit 6acfb3dc8940aae1ee6bf54c6408d301e75dabdc
2441 * lang/cpp/src/context.cpp (supported_features2): Add
2442 BinaryAndFineGrainedIdentify
2443 * lang/cpp/src/global.h (Feature2): ditto.
2444
2445 2016-07-12 Andre Heinecke <[email protected]>
2446
2447 Qt/Cpp: Add version headers.
2448 + commit 0058552a5104a44b54a368af466179904689f5f8
2449 * lang/cpp/src/gpgmepp_version.h.in,
2450 lang/qt/src/qgpgme_version.h.in: New. Version information.
2451 * lang/qt/src/Makefile.am, lang/cpp/src/Makefile.am: Add them.
2452 * configure.ac: Configure them.
2453
2454 Qt/Cpp: Add license blurb to export headers.
2455 + commit e77adf53c58b31e85b6764f7b96e14090338a318
2456 * lang/cpp/src/gpgmepp_export.h,
2457 lang/qt/src/qgpgme_export.h: Add license blurb.
2458
2459 2016-07-07 Justus Winter <[email protected]>
2460
2461 cpp: Fix distcheck.
2462 + commit 62c5bf47e5c4fbf18cb4aa05927b879a2ebd4648
2463 * lang/cpp/src/Makefile.am (CLEANFILES): Remove generated file.
2464
2465 2016-07-06 Andre Heinecke <[email protected]>
2466
2467 Cpp: Expose gpgme_pubkey_algo_name.
2468 + commit 2fdc5b4f253652cf1e76c2521c8a6a912bd0eb07
2469 * lang/cpp/src/key.cpp (Subkey::publicKeyAlgorithmAsString): New
2470 static variant.
2471 * lang/cpp/src/key.h: Declare function. Clarify comment about name
2472 mismatch.
2473
2474 Cpp: Add PubkeyAlgo enum.
2475 + commit d6f3e524ac039cabbc35c6e7690b4cf9dbd6ca2d
2476 * lang/cpp/src/key.h (Subkey::PubkeyAlgo): New enum.
2477 (Subkey::publicKeyAlgorithm): Change return type.
2478 * lang/cpp/src/key.cpp (Subkey::publicKeyAlgorithm): Use enum.
2479
2480 2016-07-04 Andre Heinecke <[email protected]>
2481
2482 Cpp: Add support for TOFU_CONFLICT sigsum.
2483 + commit 0fbf90cfdc038d7d85cb4bf9bf4bb478b88e8efb
2484 * lang/cpp/src/verificationresult.cpp (GpgME::Signature::Summary):
2485 Handle TOFU_CONFLICT.
2486 * lang/cpp/src/verificationresult.h (Summary): Add TofuConflict.
2487
2488 Cpp: Add support for pinentry_mode.
2489 + commit 1c4a5e2de8341794e3819becd95086c9af23dd78
2490 * lang/cpp/src/context.cpp (Context::pinentryMode): Return mode.
2491 (Context::setPinentryMode): Set mode.
2492 * lang/cpp/src/context.h (PinentryMode): Add enum.
2493
2494 2016-07-01 Andre Heinecke <[email protected]>
2495
2496 Cpp: Add TofuInfo to signatures.
2497 + commit 9306bf2b2c40c82652bf31f337e915a8139a2e6c
2498 * lang/cpp/src/tofuinfo.cpp, lang/cpp/src/tofuinfo.h: New class.
2499 * lang/cpp/src/verificationresult.cpp (Signature::tofuInfo): New.
2500 (VerificationResult::Private): Handle tofu info.
2501 (GpgME::operator<<(std::ostream &os, const Signature &sig)): Include
2502 TofuInfo in dump.
2503 * lang/cpp/src/verificationresult.h (Signature::tofuInfo): New.
2504 * lang/cpp/src/Makefile.am (main_sources, gpgmepp_headers): Add
2505 new files.
2506 * configure.ac (LIBGPGMEPP_LT_REVISION): Bump for new API.
2507
2508 2016-06-27 Andre Heinecke <[email protected]>
2509
2510 Cpp: Expose new data_identify values.
2511 + commit 8587f60e0749107f233f97efcfe10c05872a2d4f
2512 * lang/cpp/src/data.cpp (GpgME::Data::type): Handle PGP Encrypted
2513 and Signature.
2514 * lang/cpp/src/data.h: Add values accordingly.
2515
2516 Cpp: Do not treat KEYEXPIRED as error.
2517 + commit 73709f7141b958c7d219db6bb4f2082b20ae6eef
2518 * lang/cpp/src/editinteractor.cpp (status_to_error): No error
2519 for KEYEXPIRED.
2520
2521 2016-06-01 Andre Heinecke <[email protected]>
2522
2523 Cpp: Use whitelist for status messages.
2524 + commit 84265ca79e4f061589dc3a9226ec529fa7c7ff5e
2525 * lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
2526 Use whitelist instead of blacklist.
2527
2528 2016-05-20 Andre Heinecke <[email protected]>
2529
2530 Cpp: Ignore STATUS_KEY_CONSIDERED when editing.
2531 + commit e3fb1a0985e4dda9c35e768d156b65c6ef2d9554
2532 * lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
2533 Handle GPGME_STATUS_KEY_CONSIDERED.
2534
2535 2016-05-17 Andre Heinecke <[email protected]>
2536
2537 Qt / Cpp: Port auto_ptr to unique_ptr.
2538 + commit 5b0f6fc788808abaa0cdb60e7cbdc21174999f62
2539 * lang/cpp/src/context.cpp,
2540 lang/cpp/src/context.h,
2541 lang/cpp/src/context_p.h (Context::createForEngine),
2542 (Context::edit, Context::startEditing),
2543 (Context::takeLastEditInteractor, Context::cardEdit),
2544 (Context::startCardEditing, Context::takeLastCardEditInteractor),
2545 (Context::assuanTransact, Context::startAssuanTransaction),
2546 (Context::takeLastAssuanTransaction): Port to unique_ptr.
2547 * lang/qt/src/qgpgmeadduseridjob.cpp,
2548 lang/qt/src/qgpgmechangeexpiryjob.cpp,
2549 lang/qt/src/qgpgmechangeownertrustjob.cpp,
2550 lang/qt/src/qgpgmechangepasswdjob.cpp,
2551 lang/qt/src/qgpgmesignkeyjob.cpp: Update accordingly.
2552
2553 2016-05-11 Andre Heinecke <[email protected]>
2554
2555 Cpp: Ensure gpgme.h is taken from current build.
2556 + commit a2263b4f90392bb183f9989079c91e0db8e54ca8
2557 * lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add gpgme.h location.
2558
2559 2016-05-10 Andre Heinecke <[email protected]>
2560
2561 Qt / Cpp: Fix make dist.
2562 + commit 53ad5cabc563e0806f58f7ced6434ad6c9a038d6
2563 * lang/cpp/src/Makefile.am (EXTRA_DIST): Fix typo.
2564 (private_gpgmepp_headers): New. Private headers.
2565 (libgpgmepp_la_SOURCES): Add private headers.
2566 * lang/qt/src/Makefile.am (t_keylist_SOURCES): Remove non existent
2567 header.
2568
2569 2016-05-06 Andre Heinecke <[email protected]>
2570
2571 Cpp: Handle PINENTRY_LAUNCHED status line.
2572 + commit cdb77b6bedf171d733335152d378647683ea322b
2573 * lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
2574 Add GPGME_STATUS_PINENTRY_LAUNCHED.
2575
2576 2016-04-12 Andre Heinecke <[email protected]>
2577
2578 Cpp: Add support for pubkey_algo_name.
2579 + commit 69920c34f3d51155a8c7b6307b0925cc33ff7da3
2580 * lang/cpp/src/key.cpp (Subkey::algoName): New.
2581 * lang/cpp/src/key.h: Declare.
2582
2583 Cpp: Add support for gpgme_data_identify.
2584 + commit c6fa0ca7de3110a1d9bb53fd121dd46ea83f17d4
2585 * lang/cpp/src/data.cpp (Data::type): New.
2586 * lang/cpp/src/data.h (Data::Type): New enum mapping.
2587
2588 2016-04-11 Andre Heinecke <[email protected]>
2589
2590 Qt / Cpp: Mention coding style in READMES.
2591 + commit bc7ad951e125164f11428e5893635fb33aa7da09
2592 * src/lang/cpp/README, src/lang/qt/README: Add hacking note.
2593
2594 Cpp: Add string comparators for keys.
2595 + commit 57bafe40ebe5f75db7dd7d33145a468f5265a6e0
2596 * lang/cpp/src/global.h (GPGMEPP_MAKE_STRCMP): New.
2597 (_gpgmepp_strcmp): NULL save wrapper around std::strcmp.
2598 * lang/cpp/src/key.h: Add comparators for various attributes.
2599
2600 Cpp: Remove last usages of boost.
2601 + commit aa41f5ddeff935b758575f83699b9f40b16114e0
2602 * lang/cpp/src/configuration.cpp: Use std::remove_pointer.
2603 (Configuration::operator<<): std::for_each.
2604 * lang/cpp/src/context.cpp: Delete manually instead of scoped ptr.
2605 * lang/cpp/src/scdgetinfoassuantransaction.cpp: Use static_assert.
2606 (to_reader_list): Tokenize with getline.
2607
2608 2016-04-04 Andre Heinecke <[email protected]>
2609
2610 Add pthread in gpgmepp config.
2611 + commit 76942e07e4cdcf31d237a48e8687e0831c33e565
2612 * lang/cpp/src/GpgmeppConfig.cmake.in.in: Add pthread.
2613
2614 2016-04-03 Andre Heinecke <[email protected]>
2615
2616 Cpp / Qt: Reduce boost usage (memory and tuple)
2617 + commit c67a7d96630025e4cbead08dec5adbae4be02fba
2618 * cpp/src/assuanresult.h,
2619 cpp/src/configuration.cpp,
2620 cpp/src/configuration.h,
2621 cpp/src/data.h,
2622 cpp/src/decryptionresult.h,
2623 cpp/src/defaultassuantransaction.cpp,
2624 cpp/src/encryptionresult.cpp,
2625 cpp/src/encryptionresult.h,
2626 cpp/src/engineinfo.h,
2627 cpp/src/gpgagentgetinfoassuantransaction.cpp,
2628 cpp/src/gpgsignkeyeditinteractor.cpp,
2629 cpp/src/importresult.cpp,
2630 cpp/src/importresult.h,
2631 cpp/src/key.h,
2632 cpp/src/keygenerationresult.h,
2633 cpp/src/keylistresult.h,
2634 cpp/src/notation.h,
2635 cpp/src/signingresult.cpp,
2636 cpp/src/signingresult.h,
2637 cpp/src/verificationresult.cpp,
2638 cpp/src/verificationresult.h,
2639 cpp/src/vfsmountresult.h,
2640 qt/src/dataprovider.cpp,
2641 qt/src/dataprovider.h,
2642 qt/src/decryptjob.h,
2643 qt/src/decryptverifyjob.h,
2644 qt/src/downloadjob.h,
2645 qt/src/encryptjob.h,
2646 qt/src/qgpgmeadduseridjob.cpp,
2647 qt/src/qgpgmechangeexpiryjob.cpp,
2648 qt/src/qgpgmechangeownertrustjob.cpp,
2649 qt/src/qgpgmechangepasswdjob.cpp,
2650 qt/src/qgpgmedecryptjob.cpp,
2651 qt/src/qgpgmedecryptjob.h,
2652 qt/src/qgpgmedecryptverifyjob.cpp,
2653 qt/src/qgpgmedecryptverifyjob.h,
2654 qt/src/qgpgmedeletejob.cpp,
2655 qt/src/qgpgmedownloadjob.cpp,
2656 qt/src/qgpgmedownloadjob.h,
2657 qt/src/qgpgmeencryptjob.cpp,
2658 qt/src/qgpgmeencryptjob.h,
2659 qt/src/qgpgmeexportjob.cpp,
2660 qt/src/qgpgmeexportjob.h,
2661 qt/src/qgpgmeimportfromkeyserverjob.cpp,
2662 qt/src/qgpgmeimportfromkeyserverjob.h,
2663 qt/src/qgpgmeimportjob.cpp,
2664 qt/src/qgpgmeimportjob.h,
2665 qt/src/qgpgmekeygenerationjob.cpp,
2666 qt/src/qgpgmekeygenerationjob.h,
2667 qt/src/qgpgmekeylistjob.cpp,
2668 qt/src/qgpgmekeylistjob.h,
2669 qt/src/qgpgmelistallkeysjob.cpp,
2670 qt/src/qgpgmelistallkeysjob.h,
2671 qt/src/qgpgmenewcryptoconfig.cpp,
2672 qt/src/qgpgmenewcryptoconfig.h,
2673 qt/src/qgpgmesignencryptjob.cpp,
2674 qt/src/qgpgmesignencryptjob.h,
2675 qt/src/qgpgmesignjob.cpp,
2676 qt/src/qgpgmesignjob.h,
2677 qt/src/qgpgmesignkeyjob.cpp,
2678 qt/src/qgpgmeverifydetachedjob.cpp,
2679 qt/src/qgpgmeverifydetachedjob.h,
2680 qt/src/qgpgmeverifyopaquejob.cpp,
2681 qt/src/qgpgmeverifyopaquejob.h,
2682 qt/src/signencryptjob.h,
2683 qt/src/signjob.h,
2684 qt/src/threadedjobmixin.h,
2685 qt/src/verifydetachedjob.h,
2686 qt/src/verifyopaquejob.h: Reduce boost usage.
2687
2688 2016-04-02 Andre Heinecke <[email protected]>
2689
2690 Add additional include path in config files.
2691 + commit 1c89addf7698bf4b28a88261262824e5a7770289
2692 * lang/cpp/src/GpgmeppConfig.cmake.in.in
2693 lang/qt/src/QGpgmeConfig.cmake.in.in: Include directory above headers.
2694
2695 2016-03-08 Andre Heinecke <[email protected]>
2696
2697 Add qgpgme as qt language binding.
2698 + commit 1b3353ee2e5b38b138e4c362929c20aedfbee38c
2699 * configure.ac: Add version defines. Check for qt if neccessary.
2700 * lang/README: Mention qt
2701 * lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove comment. Find qgpgme.
2702 * lang/qt/src/Makefile.am: New. Build qgpgme.
2703 * lang/qt/README,
2704 lang/qt/src/Makefile.am,
2705 lang/qt/src/QGpgmeConfig.cmake.in.in,
2706 lang/qt/src/QGpgmeConfigVersion.cmake.in,
2707 lang/qt/src/dataprovider.cpp,
2708 lang/qt/src/dataprovider.h,
2709 lang/qt/src/qgpgme_export.h,
2710 m4/qt.m4: New.
2711 * lang/cpp/src/GpgmeppConfig.cmake.in.in,
2712 lang/cpp/src/Makefile.am: Fix generated config file.
2713
2714 2016-02-22 Ingo Klöcker <[email protected]>
2715
2716 NB: Changes done before the import of the sources from KDE's gpgmepp
2717 repository into g10 Code's gpgme repository can be found in the
2718 history of g10 Code's gpgmepp repository. Changes done on the
2719 aegypten_branch before 2004-02-09 are "lost" in KDE's svn repository
2720 backups.
2721
2722 -----
2723 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2724 2010, 2011, 2012, 2013 g10 Code GmbH
2725
2726 Copying and distribution of this file and/or the original GIT
2727 commit log messages, with or without modification, are
2728 permitted provided the copyright notice and this notice are
2729 preserved.