Opened 13 months ago

Closed 6 months ago

Last modified 6 months ago

#1197 closed enhancement (duplicate)

Verification failed when updating drivedb

Reported by: jay Owned by:
Priority: minor Milestone:
Component: all Version: 6.6
Keywords: Cc:

Description

The key used to sign drivedb has changed since r4904. But update-smart-drivedb still uses the old embedded public key.
Maybe some kind of mechanism to update the public key is necessary.

$ sudo update-smart-drivedb     
/usr/sbin/update-smart-drivedb: /usr/share/smartmontools/drivedb.h.error.raw: *** BAD signature ***

Change History (3)

comment:1 Changed 13 months ago by Christian Franke

Milestone: undecided
Type: defectenhancement

Apply patch from r4879 to a copy of update-smart-drivedb.

For example:

cp /usr/sbin/update-smart-drivedb /usr/local/sbin
wget -O - \
  https://www.smartmontools.org/changeset/4879/trunk/smartmontools/update-smart-drivedb.in?format=diff \
| patch /usr/local/sbin/update-smart-drivedb

... or upgrade to smartmontools 7.0 :-)

I'm not sure whether it is worth the effort to add a more elaborate key update in the future. Leaving ticket as undecided for now.

comment:2 Changed 6 months ago by Christian Franke

Component: drivedball
Milestone: undecided
Resolution: duplicate
Status: newclosed

See ticket #1278.

comment:3 Changed 6 months ago by Christian Franke

Original update-smart-drivedb script from smartmontools 6.6 should work again since r5030. See ticket #1278 for details.

Note: See TracTickets for help on using tickets.