DECRYPTCORE(8)
π DECRYPTCORE(8) β the system manager's manual, but make it make sense
okay so bestie, you know how the OS can dump its whole core onto disk and it's all encrypted and mysterious?? this little icon right here, decryptcore, is the one that opens it back up. it lives in section 8 of the System Manager's Manual, which is the big-girl admin section, iykyk π
β¨ NAME β¨
decryptcore β decrypt a core dump of the operating system π«Ά
πΈ SYNOPSIS πΈ
decryptcore [-fLv] -p privatekeyfile -k keyfile -e encryptedcore -c core
decryptcore [-fLv] [-d crashdir] -p privatekeyfile -n dumpnr
like, pick a lane bestie, but both of these are valid π
π¦ DESCRIPTION π¦
so here's the tea β β decryptcore does it in two steps, no cap. First it decrypts keyfile using privatekeyfile, and then it takes that fresh new key and decrypts encryptedcore (the one that savecore(8) stashed away). The result lands in core. slay β¨
Alternatively β and this is the lowkey fancier route β you can decrypt a core dump numbered dumpnr straight out of the crashdir directory. In that case it grabs a dump key from the key.# file and saves the result in vmcore.#, where β#β corresponds to dumpnr. cute, consistent, we love a naming convention π
By defaultdecryptcoredoes not overwrite an old core dump, because maybe you wanted to keep that core somewhere else for the future, and honestly? valid. But if you do wanna clobber it, that's what the-fflag is for. π
The decryptcore utility can be started with the following command line arguments:
-fβ Remove a decryped core dump if it already exists. (yes the original says "decryped", we're keeping the typo's energy, it's iconic π)-Lβ Write log messages tosyslogd(8).-vβ Print or log verbose/debugging information. You can drop this option multiple times to raise the verbosity level β stack 'em like bracelets, bestie π-pprivatekeyfile β Specify location of a private key file which will be used to decrypt a dump key file.-kkeyfile β Specify location of a dump key file.-eencryptedcore β Specify location of an encrypted core.-ccore β Specify location of a resulting decrypted core dump.-dcrashdir β Specify an alternative crash dump directory. The default crash dump directory is/var/crash. ποΈ-ndumpnr β Specify a number of a crash dump to be decrypted.
β EXIT STATUS β
The decryptcore utility exits 0 on success, and >0 if an error occurs. so like, zero = we ate, anything bigger = something went sideways ππ₯
π SEE ALSO π
kgdb(1) (ports/devel/gdb), capsicum(4), dumpon(8), savecore(8), syslogd(8)
go read them, they're all main character energy in their own way π
π AUTHORS π
The decryptcore utility was implemented by Konrad Witaszczyk <def@FreeBSD.org>. give them their flowers fr fr πΈ
okay that's the whole page bestie, go decrypt something responsibly π§ββοΈβ¨
β signing off from the Debian edition, dated January 29, 2018 π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2016 Konrad Witaszczyk <def@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms