• Paul Fertser's avatar
    Implement runtime loading of RSA public keys · 7429427a
    Paul Fertser authored
    This patch allows crda to load and use additional keys from a
    pre-configured location for the database signature verification. This
    provides a convenient way for distro maintainers and card manufacturers to
    supply a custom regulatory database along with their public keys, without
    the need to recompile crda.
    Implemented for USE_OPENSSL=1 case only because libgcrypt lacks PEM parser.
    Default location for public keys in PEM format is
    /etc/wireless-regdb/pubkeys and can be changed by specifying
    RUNTIME_PUBKEY_DIR at the make command line.
    Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
Makefile 3.91 KB