Closed
Description
Thanks for the project!
Using the latest version 0.0.2
from PyPI, I see the following error:
# python -m openssh_key id_ed25519 --passphrase hunter12
Traceback (most recent call last):
File "/nix/store/k5lw9imni647dl2n10xvq9w4yb840a8l-python3-3.9.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/nix/store/k5lw9imni647dl2n10xvq9w4yb840a8l-python3-3.9.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/nix/store/0zgs6a1i93f3y7bqalvw1l6n63r7g91y-python3-3.9.9-env/lib/python3.9/site-packages/openssh_key/__main__.py", line 23, in <module>
if file_contents.startswith(PrivateKeyList.OPENSSH_PRIVATE_KEY_HEADER):
File "/nix/store/0zgs6a1i93f3y7bqalvw1l6n63r7g91y-python3-3.9.9-env/lib/python3.9/site-packages/openssh_key/utils.py", line 51, in __get__
getattr(cls, self._getter.__name__)()
AttributeError: 'staticmethod' object has no attribute '__name__'
Version 0.0.1
works and all tests pass.
I'm using Nix
with the following derivation, if that's of any help: NixOS/nixpkgs@master...veehaitch:py3-openssh_key_parser
Metadata
Metadata
Assignees
Labels
No labels