Open yefkov opened 5 years ago
Confirmed that this is indeed a problem. Thanks for reporting it! Looks like there aren't any tests that cover --key, either.
This project is mostly unmaintained but I'd be happy to review a pull request if you submit one.
in cli.py
Wrong use of "is" operator. We want to check value equality (==) not identity equality (is). Wrong use of "dest" attribute. len(self.dest) is always 3. The actual key value contains in "values" argument. self.dest.decode('hex') - not sure what exactly returns decode('hex') for text "key" but it's definetly not the right key.