Sign the Napatech Driver With the Private Key

Software Installation for Linux

product_line_custom
Napatech SmartNIC
category
Software Installation Guide

About this task

Signing the Napatech driver with a private key is done with a Perl script from the kernel development package. Note that the script requires that both the files that contain the private and the public key, as well as the Napatech driver to sign:

# perl /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 \
 private_key.priv public_key.der /opt/napatech3/driver/nt3gd.ko

The Napatech driver is in ELF image format and this script computes and appends the signature directly to the ELF image in the nt3gd.ko file. The modinfo utility can be used to display information about the Napatech driver signature, if it is present:

# modinfo /opt/napatech3/driver/nt3gd.ko

The Napatech driver is now ready for loading. Note that the signed Napatech driver is also loadable on systems where UEFI Secure Boot is disabled or on a non-UEFI system. That means you do not need to provide both a signed and unsigned version of the compiled Napatech driver.

Style Conventions

Bold typeface is used for names of, for instance, user interface elements and software components.

Italic typeface is used for replaceable text.

Monospaced typeface is used for code, commands and file names.

Abbreviations

2GD

Second-Generation Driver (Napatech Driver Software)

3GA

Third-Generation Architecture

3GD

Third-Generation Driver (Napatech Software Suite)

4GA

Fourth-Generation Architecture

BP

ByPass

DN

Document Number

GCC

GNU Compiler Collection

GNU

GNU’s Not Unix

MOK

Machine Owner Key

NEBS

Network Equipment-Building System

nt, NT

NapaTech

PTP

Precision Time Protocol

Rev.

REVision

RPM

RPM Package Manager

SCC

Self-Contained Cooling

SRPM

Source RPM

STD

STanDard

SW

SoftWare

UEFI

Unified Extensible Firmware Interface

References

DN-0166

Napatech, NT4E-4, Installation and Specifications, Hardware Installation Guide

DN-0167

Napatech, NT4E-4T, Installation and Specifications, Hardware Installation Guide

DN-0202

Napatech, NTPORT4E-4, Installation and Specifications, Hardware Installation Guide

DN-0203

Napatech, NTPORT4E-4T, Installation and Specifications, Hardware Installation Guide

DN-0248

Napatech, NT4E-4-STD, Installation and Specifications, Hardware Installation Guide

DN-0249

Napatech, NT4E-4T-STD, Installation and Specifications, Hardware Installation Guide

DN-0295

Napatech, NT20E2, Installation and Specifications, Hardware Installation Guide

DN-0428

Napatech, SmartNICs with Napatech Software Suite, Napatech libpcap Installation, Software Installation Guide

DN-0449

Napatech, Napatech Software Suite, Reference Documentation

DN-0484

Napatech, NT4E2-4-PTP, Installation and Specifications, Hardware Installation Guide

DN-0488

Napatech, NT4E-4-NEBS, Installation and Specifications, Hardware Installation Guide

DN-0495

Napatech, NT40E2-1, Installation and Specifications, Hardware Installation Guide

DN-0487

Napatech, NT SmartNICs, Handling FPGA Images, User Guide

DN-0507

Napatech, NT4E2-4T-BP, Installation and Specifications, Hardware Installation Guide

DN-0614

Napatech, NT20E2-PTP, Installation and Specifications, Hardware Installation Guide

DN-0797

Napatech, NT40E3-4-PTP, Installation and Specifications, Hardware Installation Guide

DN-0848

Napatech, NT100E3-1-PTP and NT200C01-SCC, Installation and Specifications, Hardware Installation Guide

DN-0896

Napatech, NT100E3-1-PTP-NEBS and NT200C01-NEBS, Installation and Specifications, Hardware Installation Guide

DN-0897

Napatech, NT40E3-4-PTP-NEBS, Installation and Specifications, Hardware Installation Guide

DN-0904

Napatech, NT20E3-2-PTP, Installation and Specifications, Hardware Installation Guide

DN-0905

Napatech, NT20E3-2-PTP-NEBS, Installation and Specifications, Hardware Installation Guide

DN-0954

Napatech, NT40A01-SCC, Installation and Specifications, Hardware Installation Guide

DN-0955

Napatech, NT40A01-NEBS, Installation and Specifications, Hardware Installation Guide

DN-0980

Napatech, NT80E3-2-PTP, Installation and Specifications, Hardware Installation Guide

DN-0981

Napatech, NT80E3-2-PTP-NEBS, Installation and Specifications, Hardware Installation Guide

DN-1016

Napatech, NT200A01-SCC, Installation and Specifications, Hardware Installation Guide

DN-1017

Napatech, NT200A01-NEBS, Installation and Specifications, Hardware Installation Guide