mirror of https://github.com/MISP/MISP
fix: [sign] Remove unused method
parent
a07625294b
commit
6af7503b36
|
@ -165,15 +165,6 @@ class CryptographicKey extends AppModel
|
|||
return $signature;
|
||||
}
|
||||
|
||||
public function signFileWithInstanceKey($path)
|
||||
{
|
||||
if (!$this->ingestInstanceKey()) {
|
||||
return false;
|
||||
}
|
||||
$signature = $this->gpg->signFile($path, Crypt_GPG::SIGN_MODE_DETACHED);
|
||||
return $signature;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $data
|
||||
* @param string $signature
|
||||
|
|
Loading…
Reference in New Issue