A Tool for Handling Erlang Crash Dumps
This module contains functions for decrypting encrypted Erlang crash dumps,
which can be enabled with the --enable-encrypted-crash-dumps build flag.
Summary
Functions
Decrypts the Erlang crash dump at EncryptedFile using PrivateKey.
Decrypts the Erlang crash dump at EncryptedFile using PrivateKey, writing
the result to DecryptedFile.
This is a convenience wrapper around crashdump:decrypt/2 that handles key
extraction from a given PEM file.
This is a convenience wrapper around crashdump:decrypt/3 that handles key
extraction from a given PEM file.
Functions
-spec 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.
-spec 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.
-spec 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.
-spec 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.