Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <[email protected]>
  • Loading branch information
nguyennv committed Nov 5, 2024
1 parent 6c1a54d commit e19d406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Packet/SecretSubkey.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function encrypt(
?AeadAlgorithm $aead = null
): self {
if ($this->isDecrypted()) {
[$encrypted, $iv, $s2k] = parent::encryptKeyMaterial($passphrase, $symmetric, $aead);
[$encrypted, $iv, $s2k] = $this->encryptKeyMaterial($passphrase, $symmetric, $aead);
return new self(
$this->getPublicKey(),
$encrypted,
Expand Down

0 comments on commit e19d406

Please sign in to comment.