Crypt/AsymmetricKey: loading hidden custom key plugins didn't work

This commit is contained in:
terrafrost 2023-12-27 00:47:36 -06:00
parent d2cd758ecb
commit 4bdfec9c23
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ abstract class AsymmetricKey
$shortname = $meta->getShortName();
self::$plugins[static::ALGORITHM]['Keys'][strtolower($shortname)] = $fullname;
if ($meta->hasConstant('IS_INVISIBLE')) {
self::$invisiblePlugins[static::ALGORITHM] = strtolower($name);
self::$invisiblePlugins[static::ALGORITHM][] = strtolower($shortname);
}
}
}