[Bug 993324] New: refreshed key is downloaded but not used
http://bugzilla.suse.com/show_bug.cgi?id=993324 Bug ID: 993324 Summary: refreshed key is downloaded but not used Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: ohering@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 687789 --> http://bugzilla.suse.com/attachment.cgi?id=687789&action=edit zypper.log.txt Looks like there are conditions which prevent zypper from using the updated key. http://lists.opensuse.org/opensuse-buildservice/2016-08/msg00018.html http://lists.opensuse.org/zypp-devel/2016-08/msg00000.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=993324
http://bugzilla.suse.com/show_bug.cgi?id=993324#c1
Michael Andres
/var/tmp/zypp.Uy9OdK/zypp-trusted [E20F545F582DDE17-5379ebf9] [home:olh OBS Project home:olh@build.opensuse.org] [57169B0FAA491D563F8FE1AFE20F545F582DDE17] [TTL -16]
/var/tmp/zypp.Uy9OdK/zypp-general [E20F545F582DDE17-5379ebf9] [home:olh OBS Project home:olh@build.opensuse.org] [57169B0FAA491D563F8FE1AFE20F545F582DDE17] [TTL 777]
I have to dig into the code to see why it does not get updated. According to the TTL it should... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=993324
http://bugzilla.suse.com/show_bug.cgi?id=993324#c2
Michael Andres
[E20F545F582DDE17-5379ebf9] [E20F545F582DDE17-5379ebf9] ^^^^^^^^ ^^^^^^^^ gpg-pubkey -version -release
rpm uses the encoded creation/last-modification date as release for the pseudo package. We test for a newer release, but your key seems not to indicate the change. That's why it does not get updated. Please attach your old key, maybe we can improve something:
rpm -qi gpg-pubkey-582dde17-5379ebf9
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=993324
http://bugzilla.suse.com/show_bug.cgi?id=993324#c3
Olaf Hering
http://bugzilla.suse.com/show_bug.cgi?id=993324
http://bugzilla.suse.com/show_bug.cgi?id=993324#c4
Michael Andres
mkdir /tmp/XXXXX /usr/bin/gpg2 --import --homedir /tmp/XXXXX --no-default-keyring --quiet --no-tty --no-greeting --no-permission-warning --status-fd 1 YOUR_REPOMD.XML.KEY_FILE /usr/bin/gpg2 --list-public-keys --homedir /tmp/XXXXX --no-default-keyring --quiet --with-colons --fixed-list-mode --with-fingerprint --with-sig-list --no-tty --no-greeting --batch --status-fd 1
This:
tru::1:1470934388:0:3:1:5 pub:-:2048:1:E20F545F582DDE17:1400499193:1538070449::-:::scSC::::::: fpr:::::::::57169B0FAA491D563F8FE1AFE20F545F582DDE17: uid:-::::1468950449::30639FAE4AD9E79E11F9135754ED270998312B3C::home\x3aolh OBS Project
::::::::: sig:::1:E20F545F582DDE17:1468950449::::[GNUPG:] KEY_CONSIDERED 57169B0FAA491D563F8FE1AFE20F545F582DDE17 0 home\x3aolh OBS Project :13x:::::2: sig:::17:3B3011B76B9D6523:1400499193::::[User ID not found]:13x:::::2:
The one but last 'sig:' line is broken by a NL. As this is also the line that contains the updated creation time, the parser does not see it. @Premysl: OSC says you maintain gpg2 :) Is the embedded '[GNUPG:] KEY_CONSIDERED 57169B0FAA491D563F8FE1AFE20F545F582DDE17 0\n' actually valid? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=993324
http://bugzilla.suse.com/show_bug.cgi?id=993324#c5
--- Comment #5 from Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=993324
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=993324
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com