This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GnuPG bug: --refresh-keys

Volker Quetschke wrote:
> Max Bowsher wrote:
>> Max Bowsher wrote:
>>> When running 'gpg --refresh-keys', the second updated key results in:
>>> gpg: renaming `/home/max/.gnupg/pubring.gpg' to
>>> `/home/max/.gnupg/pubring.gpg~' failed: Permission denied
>>> gpg: error writing keyring `/home/max/.gnupg/pubring.gpg': file rename error
>>> gpg: key XXXXXXXX: "...." 28 new signatures
>>> gpg: error reading `[stream]': file rename error
>> GPG for some reason tries to cache opened fds for re-use. I suggest
>> disabling this caching for Cygwin. The appropriate code to tweak is in
>> util/iobuf.c:fd_cache_close(). I changed the condition of the first if
>> statement there to always be true, and the problem I reported goes away.
>> Please integrate this into the Cygwin packages.
> Thanks for tracking this down Max. It's also time for a new package
> with the newer upstream version.

It took a while ;) Max, can you test if the new version works for you?


or point your setup to .

If it works for you I'll ask for upload.


PGP/GPG key  (ID: 0x9F8A785D)  available  from
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

Attachment: signature.asc
Description: OpenPGP digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]