Skip to content

Commit

Permalink
libreoffice2john.py: Allow for missing start-key-generation-name
Browse files Browse the repository at this point in the history
Fixes #5460
  • Loading branch information
solardiz committed Apr 16, 2024
1 parent c042fa3 commit c8e21e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run/libreoffice2john.py
Expand Up @@ -47,6 +47,7 @@ def process_file(filename):

is_encrypted = False
key_size = 16
start_key_generation_name = "SHA1"
for i in range(0, len(elements) - 4):
element = elements[i]
if element.get("{urn:oasis:names:tc:opendocument:xmlns:manifest:1.0}full-path") == "content.xml":
Expand Down

0 comments on commit c8e21e8

Please sign in to comment.