Update escrow.php

This commit is contained in:
Pinga 2025-04-29 11:22:11 +03:00
parent 614fbc93a3
commit fa401388b1

View file

@ -536,6 +536,7 @@ try {
// Initialize the GnuPG extension
$gpg = new gnupg();
$gpg->seterrormode(gnupg::ERROR_EXCEPTION); // throw exceptions on errors
$gpg->setarmor(0);
// Import your private key (if it's not already in the keyring)
if (!file_exists($c['escrow_privateKey'])) {
@ -928,6 +929,7 @@ try {
// Initialize the GnuPG extension
$gpg = new gnupg();
$gpg->seterrormode(gnupg::ERROR_EXCEPTION); // throw exceptions on errors
$gpg->setarmor(0);
// Import your private key (if it's not already in the keyring)
$privateKeyData = file_get_contents($c['escrow_privateKey']);