Opened 4 weeks ago

Last modified 3 weeks ago

#1197 new enhancement

Verification failed when updating drivedb

Reported by: jay Owned by:
Priority: minor Milestone: undecided
Component: drivedb 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 (1)

comment:1 Changed 3 weeks 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.

Note: See TracTickets for help on using tickets.