man.bsd.lv manual page server

Manual Page Search Parameters

DECRYPTCORE(8) System Manager's Manual DECRYPTCORE(8)

decryptcoredecrypt a core dump of the operating system

decryptcore [-fLv] -p privatekeyfile -k keyfile -e encryptedcore -c core

decryptcore [-fLv] [-d crashdir] -p privatekeyfile -n dumpnr

The decryptcore utility first decrypts keyfile using privatekeyfile and then uses the resulting key to decrypt encryptedcore saved by savecore(8). The result is saved in core.

Alternatively a user can decrypt a core dump numbered dumpnr from the crashdir directory. In this case a dump key from the key.# file is used and the result is saved in the vmcore.# file where “#” corresponds to dumpnr.

By default decryptcore does not overwrite an old core dump as a user might want to store the core somewhere else for the future. This behaviour can be changed using the -f flag.

The decryptcore utility can be started with the following command line arguments:

Remove a decryped core dump if it already exists.
Write log messages to syslogd(8).
Print or log verbose/debugging information. This option can be specified multiple times to raise the verbosity level.
privatekeyfile
Specify location of a private key file which will be used to decrypt a dump key file.
keyfile
Specify location of a dump key file.
encryptedcore
Specify location of an encrypted core.
core
Specify location of a resulting decrypted core dump.
crashdir
Specify an alternative crash dump directory. The default crash dump directory is /var/crash.
dumpnr
Specify a number of a crash dump to be decrypted.

The decryptcore utility exits 0 on success, and >0 if an error occurs.

kgdb(1), capsicum(4), dumpon(8), savecore(8), syslogd(8)

The decryptcore utility was implemented by Konrad Witaszczyk <def@FreeBSD.org>.

January 29, 2018 FreeBSD-12.0