Skip to content

Commit

Permalink
add CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
3rdIteration committed Jan 8, 2024
1 parent 52b75ed commit 0430c10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions btcrecover/btcrpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -2760,6 +2760,8 @@ class WalletDogechain(object):
_savepossiblematches = True
_possible_passwords_file = "possible_passwords.log"

matchStrings = b"\"guid\"|\"sharedKey\"|\"keys\""

_dump_privkeys_file = None
_dump_wallet_file = None
_using_extract = False
Expand Down
5 changes: 5 additions & 0 deletions btcrecover/test/test_passwords.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ def test_password_repeats_x3(self):
["one", "oneone", "oneoneone"],
"--password-repeats-posttypos --max-password-repeats 3")

def test_keep_tokens_order(self):
self.do_generator_test(["one", "two", "three"],
['onethree', 'twothree', 'onetwothree'],
"--keep-tokens-order")

def test_empty_file(self):
self.do_generator_test([], [], test_passwordlist=True)
def test_one_char_file(self):
Expand Down

0 comments on commit 0430c10

Please sign in to comment.