Manpages - archive_read_add_passphrase.3
Streaming Archive Library (libarchive, -larchive)
Register passphrases for reading an encryption archive. If
is
or empty, this function will do nothing and
will be returned. Otherwise,
will be returned.
Register a callback function that will be invoked to get a passphrase for decryption after trying all the passphrases registered by the
function failed.