1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Chris Lamb <lamby@debian.org>
Date: Tue, 20 May 2025 10:37:32 -0700
Subject: Apply patch from @ncopa to fix a compatibility issue with OpenSSL
3.5.
https://github.com/lastpass/lastpass-cli/issues/706#issuecomment-2894729842
---
blob.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blob.c b/blob.c
index e81493f..990e295 100644
--- a/blob.c
+++ b/blob.c
@@ -407,7 +407,7 @@ static struct account *account_parse(struct chunk *chunk, const unsigned char ke
if (parsed->group[0] == 16)
parsed->group[0] = '\0';
- if (strlen(parsed->attachkey_encrypted)) {
+ if (strlen(parsed->attachkey_encrypted) && strcmp(parsed->attachkey_encrypted, "skipped") != 0) {
parsed->attachkey = cipher_aes_decrypt_base64(
parsed->attachkey_encrypted, key);
}
|