crashdump(3)

NAME
crashdump - A Tool for Handling Erlang Crash Dumps

DESCRIPTION

This module contains functions for decrypting encrypted Erlang crash dumps, which can be enabled with the --enable-encrypted-crash-dumps build flag.

FUNCTIONS

decrypt(EncryptedFile, PrivateKey) -> {ok, erlang:iovec()} | {error, Reason} when EncryptedFile :: file:name(), PrivateKey :: public_key:private_key(), Reason :: dynamic().

    Decrypts the Erlang crash dump at EncryptedFile using PrivateKey.
decrypt(EncryptedFile, PrivateKey, DecryptedFile) -> ok | {error, Reason} when EncryptedFile :: file:name(), PrivateKey :: public_key:private_key(), DecryptedFile :: file:name(), Reason :: dynamic().

    Decrypts the Erlang crash dump at EncryptedFile using PrivateKey, writing the result to DecryptedFile.
pem_decrypt(EncryptedFile, KeyFile) -> {ok, erlang:iovec()} | {error, Reason} when EncryptedFile :: file:name(), KeyFile :: file:name(), Reason :: dynamic().

    This is a convenience wrapper around crashdump:decrypt/2 that handles key extraction from a given PEM file.
pem_decrypt(EncryptedFile, KeyFile, DecryptedFile) -> ok | {error, Reason} when EncryptedFile :: file:name(), KeyFile :: file:name(), DecryptedFile :: file:name(), Reason :: dynamic().

    This is a convenience wrapper around crashdump:decrypt/3 that handles key extraction from a given PEM file.