mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-06 01:25:00 +02:00
Update escrow.php
This commit is contained in:
parent
614fbc93a3
commit
fa401388b1
1 changed files with 2 additions and 0 deletions
|
@ -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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue