On Mon, Sep 12, 2022 at 12:38:46PM +0200, Francesco P. Lovergine wrote: > Indeed it seeems the warning is triggered under certain conditions > that I still did not detect. > > For sure, the warning is presented only during the first use of sudo > in a login shell and it seems the same warning is presented for ssh, > immediately beforei that. Just to note, the same warning is confirmed > in the past for a series of programs (including sudo) and started to > be shown after the following change in gcrypt: > > http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff_plain;h=7627f9646701e88c827bbadd1231221d5f0c89a6 > > See: > > https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1397663 > > and other reports here and there. I could think it relates to the use > of forward agent for gnupg in login sessions,
If you can reproduce the issue on your system, it might be worth to try breaking the connection to the gnupg agent after logging in before trying sudo for the first time, to check whether... > so not directly > connected to sudo, but triggered in any case at pam level (?). > Eventually this issue should/could be reassigned to gnupg, but I'm not > sure. ... the issue is in PAM or gnupg. For the time being, I don't see anything the sudo maintainers can do other than keeping eyes open and monitor this bug report for news. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421