DECRYPTCORE(8) | MidnightBSD System Manager's Manual | DECRYPTCORE(8) |
decryptcore
—
decrypt 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:
-f
-L
-v
-p
privatekeyfile-k
keyfile-e
encryptedcore-c
core-d
crashdir-n
dumpnrThe decryptcore
utility exits 0 on
success, and >0 if an error occurs.
The decryptcore
utility was implemented by
Konrad Witaszczyk
<def@FreeBSD.org>.
January 29, 2018 | midnightbsd-3.1 |