Opened 6 years ago

Closed 5 years ago

Last modified 5 years 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 by Christian Franke, 5 years ago

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 by Christian Franke, 5 years ago

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

See ticket #1278.

comment:3 by Christian Franke, 5 years ago

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.