Page MenuHome GnuPG

eric_debian.org (Eric Dorland)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 27 2017, 4:49 PM (378 w, 4 h)
Availability
Available

Recent Activity

Jan 6 2015

eric_debian.org added a comment to T1805: gpg-agent: Wakes up periodically.

Well if my reading is correct, the housekeeping happens in handle_tick(). 3
things are happening:

  1. Checks for lost parent. This could be converted to a signal (at least on

linux)

  1. Checks for socket permissions. This is checked only every 60 seconds, so we

don't need to wake up every two seconds to check it.

  1. Checks for lost connection to scdaemon... does this have to happen so

frequently?

dirmngr also seems to wake up often to check the if it's time to do housekeeping
(which it does every 10 minutes). Seems like this could also be improved?

scdaemon does seem harder, but not everyone is using smartcards.

Jan 6 2015, 7:34 AM · Feature Request, gnupg

Jan 5 2015

eric_debian.org added a comment to T1805: gpg-agent: Wakes up periodically.

Any objections to upping the value?

Jan 5 2015, 3:50 AM · Feature Request, gnupg
eric_debian.org added a comment to T1805: gpg-agent: Wakes up periodically.

It looks like it's due to TIMERTICK_INTERVAL being set to 2 on UNIX platforms so
that it can call handle_tick() every 2 seconds. It looks like handle_tick() just
checks if we've lost our connection to scd, if we've lost our parent, and less
frequently that the socket permissions are correct.

I'm not sure why we would need to check these things every two seconds. Also we
could detect parent death (on linux at least) via PR_SET_PDEATHSIG instead of
polling.

Jan 5 2015, 3:48 AM · Feature Request, gnupg
eric_debian.org added projects to T1805: gpg-agent: Wakes up periodically: gnupg, Bug Report.
Jan 5 2015, 3:29 AM · Feature Request, gnupg

Aug 14 2007

eric_debian.org set External Link to http://bugs.debian.org/437289 on T822: Fails to build on alpha, possibly other architectures.
Aug 14 2007, 4:10 AM · Debian, Bug Report, gnupg
eric_debian.org set Version to 2.0.5 on T822: Fails to build on alpha, possibly other architectures.
Aug 14 2007, 4:10 AM · Debian, Bug Report, gnupg
eric_debian.org added projects to T822: Fails to build on alpha, possibly other architectures: gnupg, Bug Report, Debian.
Aug 14 2007, 4:10 AM · Debian, Bug Report, gnupg