User Details
- User Since
- Mar 27 2017, 4:47 PM (457 w, 3 d)
- Roles
- Administrator
- Availability
- Busy Busy until Jun 29 2031.
Thu, Dec 25
Wed, Dec 24
Tue, Dec 23
Mon, Dec 22
Mon, Dec 15
Thu, Dec 11
Mon, Dec 8
Fri, Dec 5
Thu, Dec 4
@werner For rCd5e3cbfd , my mingw (GCC version 14) complains about the function-return-type difference of the prototype with GetProcAddress.
If we need to backport the locking fixes to 2.2, these two will be the start of changes:
Dec 2 2025
Nov 28 2025
Scute fixed in rSc3dc9c581631: w32: Use CSIDL_COMMON_APPDATA if available.
Nov 27 2025
Here is my proposal:
Nov 26 2025
Here is my analysis.
Nov 25 2025
The extension .part is used by Mozilla/Firefox. Curl uses .tmp. Is that OK for Windows machine to use .part?
I examined the code of gnupg_sysconfdir in gnupg/common/homedir.c, if we could factor out things to gpgrt, so that something like gpgrt_fconcat with GPGRT_SYSCONFDIR can be implemented.
Nov 21 2025
When --output option is used and the user uses temporary file and is ready for checking an error, that is, it's already prepared, it's redundant and useless, indeed.
Let me explain about the change rG57affc4e98ab.
Nov 20 2025
Applied the change to master: rG57affc4e98ab: common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.
I applied a change with GPGRT_ATTR_NONSTRING to master, since 2.6 branch now requires newere gpgrt.
Fix is rGcad79e542d85: agent,common,dirmngr,tests: Silence warnings of a compiler.
For GnuPG, applied the change to master: rG57affc4e98ab: common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.
t-stringhelp change was pushed by rG8a95e963d53a: common: Fix the test of t-stringhelp.
For int-truncation, I pushed the change rGbcd87ea2b2da: misc: Validate the value on the use of strtol.
Nov 19 2025
Nov 18 2025
At line 133 shouldn't we have used iobuf_cancel there?
I believe this bug was fixed by T7829. Please confirm with new gpgwin-5.0.0-beta.
Nov 17 2025
@ikloecker says that Kleo already support this feature. (I didn't know that.)
So, compatibility flag to switch on/off the feature would be needed,
or this feature is not needed in GnuPG at all.
Here is my attempt to do that:
Nov 14 2025
Nov 12 2025
I checked the code under gnupg/dirmngr. Those are no harm.
Nov 11 2025
For someone who considers the rejection is the requirement of the spec., here is a change:
Here is a revised patch (hopefully the last one):
Nov 10 2025
We can use:
Nov 6 2025
That's my mistake with KEM API.
Here is my idea to implement the feature:
(1) Extend struct iobuf_struct to have a field of temporary output (of int), just after real_fname.
- OUTPUTFILE: When it's 1, it means that a temporary output file generated with real_fname original suffix removed and appended .tmp
(2) Modify get_output_file in plaintext.c and make_outfile_name in openfile.c, so that OUTPUTFILE semantics above is used and the field in iobuf_struct is marked accordingly.
(3) Modify proc_encrypted in mainproc.c so that it can rename .tmp file to the OUTPUTFILE or it can remove it when failure, when the field is active.
Applied to 1.11 branch.
Let me explain the background.
Nov 5 2025
For gpgrt/argparse this could be an option (to remove hard-coded /etc):
Here is a patch (revised since the email of mine):
For t-stringhelp.c, here is a fix.
For
openpgp_oid_from_str has a wrong memory-safety assumption
For Integer Overflow in literals_seen, I think that the claim is wrong.
When literals_seen becomes two, GnuPG stops processing to return an error.
It's not possible for GnuPG to keep processing.
For Integer Truncation of Arguments report, since the int value is limited to one-octet value, we could add check for the length of input when we use strtol.
Nov 4 2025
Added a compatibility flag in: rGad0c6c33c3d6: gpg: Do not use a default when asking for another output filename.