GODT-1626: Update gopenpgp v2.4.7

This patch also replaces the deprecated calls to `SeparateKeyAndData`
with `SplitMessage`.
This commit is contained in:
Leander Beernaert
2022-06-30 14:11:29 +02:00
committed by Jakub
parent 6e48345d54
commit 136d514cf7
3 changed files with 7 additions and 2 deletions

View File

@ -320,7 +320,7 @@ func encryptSymmDecryptKey(
return
}
pgpSplitMessage, err := pgpMessage.SeparateKeyAndData(len(textToEncrypt), 0)
pgpSplitMessage, err := pgpMessage.SplitMessage()
if err != nil {
return
}