Skip to content

Instantly share code, notes, and snippets.

@n8fr8
Created September 14, 2022 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n8fr8/3b485fa013b10a034071133ff2c5a71b to your computer and use it in GitHub Desktop.
Save n8fr8/3b485fa013b10a034071133ff2c5a71b to your computer and use it in GitHub Desktop.
n8fr8@expanse:~/dev/repos/orbot$ fdroid nightly --show-secret-var
Importing keystore /home/n8fr8/.android/debug.keystore to /tmp/.3vgq7fv9/.keystore.p12...
Warning:
<androiddebugkey> uses the SHA1withRSA signature algorithm which is considered a security risk. This algorithm will be disabled in a future update.
writing RSA key
2022-09-14 11:18:58,259 CRITICAL: Unknown exception found!
Traceback (most recent call last):
File "/usr/bin/fdroid", line 33, in <module>
sys.exit(load_entry_point('fdroidserver==2.1.1', 'console_scripts', 'fdroid')())
File "/usr/lib/python3/dist-packages/fdroidserver/__main__.py", line 230, in main
raise e
File "/usr/lib/python3/dist-packages/fdroidserver/__main__.py", line 211, in main
mod.main()
File "/usr/lib/python3/dist-packages/fdroidserver/nightly.py", line 434, in main
privkey = _ssh_key_from_debug_keystore(options.keystore)
File "/usr/lib/python3/dist-packages/fdroidserver/nightly.py", line 114, in _ssh_key_from_debug_keystore
rsakey = paramiko.RSAKey.from_private_key_file(privkey)
File "/usr/lib/python3/dist-packages/paramiko/pkey.py", line 249, in from_private_key_file
key = cls(filename=filename, password=password)
File "/usr/lib/python3/dist-packages/paramiko/rsakey.py", line 64, in __init__
self._from_private_key_file(filename, password)
File "/usr/lib/python3/dist-packages/paramiko/rsakey.py", line 190, in _from_private_key_file
data = self._read_private_key_file("RSA", filename, password)
File "/usr/lib/python3/dist-packages/paramiko/pkey.py", line 322, in _read_private_key_file
data = self._read_private_key(tag, f, password)
File "/usr/lib/python3/dist-packages/paramiko/pkey.py", line 338, in _read_private_key
raise SSHException("not a valid {} private key file".format(tag))
paramiko.ssh_exception.SSHException: not a valid RSA private key file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment