$manlookup

openssl-skeyutl

(1ssl)

opaque symmetric keys routines

User commands9 optionsopenssl 3.5.6-1~deb13u2
openssl skeyutl [-help] [-cipher cipher] [-skeymgmt skeymgmt] [-skeyopt opt:value] [-genkey] [-provider name] [-provider-path path] [-provparam [name:]key=value] [-propquery propq]

Options

9
-help

Print out a usage message.

-ciphercipher

The cipher to generate the key for.

-skeymgmtskeymgmt

Some providers may support opaque symmetric keys objects. To use them, we need to know the skeymgmt. If not specified, the name of the cipher will be used. To find out the name of the suitable symmetric key management, please refer to the output of the "openssl list -skey-managers" command.

-skeyoptopt

To obtain an existing opaque symmetric key or to generate a new one, key options are specified as opt:value. These options can't be used together with any options implying raw key either directly or indirectly.

-genkey

Generate a new opaque key object.

-providername

-provider-pathpath

-provparam[name:]key=value

-propquerypropq

See "Provider Options" in openssl(1), provider(7), and property(7).

DESCRIPTION

Not all cipher implementations support keys as raw bytes. E.g. PKCS#11 tokens can store them internally without any option to get the raw byte representation.

This tool is designed for managing opaque symmetric keys.

HISTORY

The skeyutl command was added in OpenSSL 3.5.

See also