Comments (8)
Yes, that's true, I'm not using python9 because I start python from anaconda3 (jupyter notebook) and there is python8 available.
I actually don't know how to use here python9.
But @dglent (I see, he must also be a Greek, Γειά σου Δημήτρη και ευχαριστώ :-) ) directed me to firefox_decrypt.py version 0.7.0 and this was the right one for python8!
from firefox_decrypt.
Hi,
It would be more convenient to be able to use the system's own Python. The following patch lets it work on Ubuntu 20, which has Python 3.8.10.
diff --git a/firefox_decrypt.py b/firefox_decrypt.py
index 55f4aac..d06ebc0 100755
--- a/firefox_decrypt.py
+++ b/firefox_decrypt.py
@@ -35,7 +35,7 @@ from itertools import chain
from subprocess import run, PIPE, DEVNULL
from urllib.parse import urlparse
from configparser import ConfigParser
-from typing import Optional, Iterator, Any
+from typing import Optional, Iterator, Any, List, Dict
LOG: logging.Logger
VERBOSE = False
@@ -43,7 +43,7 @@ SYSTEM = platform.system()
SYS64 = sys.maxsize > 2**32
DEFAULT_ENCODING = "utf-8"
-PWStore = list[dict[str, str]]
+PWStore = List[Dict[str, str]]
# NOTE: In 1.0.0-rc1 we tried to use locale information to encode/decode
# content passed to NSS. This was an attempt to address the encoding issues
from firefox_decrypt.
Check this issue:
#74
from firefox_decrypt.
@dglent is probably right, you are not using Python 3.9.
See also https://github.com/unode/firefox_decrypt#windows
from firefox_decrypt.
On my system Python 3.8 produces incorrect results even with the above patch.
Please use Python 3.9 or newer.
from firefox_decrypt.
Thanks a lot!
Since I don't use Ubuntu, I'm going to try Python 3.9 on my win10 and see, whether it helps...
from firefox_decrypt.
Anaconda (or miniconda) now ship with Python 3.9 by default.
This can be an option if the system's version is older.
from firefox_decrypt.
OK, @unode!
Thanks for the information!
from firefox_decrypt.
Related Issues (20)
- Thank you for this program HOT 1
- TypeError: 'type' object is not subscriptable HOT 2
- Suggestion: Add the ability to specify a wordlist to bruteforce the Master Password HOT 1
- Python 3.8.2 erro windows HOT 3
- Why jupyter notebook uses python3.9 when in anaconde3 folder is python3.8 installed? HOT 3
- Annotation error HOT 1
- How do I get tests to pass! Debian Bullseye HOT 14
- SyntaxError: future feature annotations is not defined HOT 2
- Couldn't Initialize NSS (Debian, ParrotOS) HOT 4
- Does not support ubuntu22.04? HOT 2
- ERROR - Couldn't initialize NSS (DEBIAN, KALI LINUX) HOT 3
- nss3 from firefox developer edition isn't found HOT 3
- PWStore = list[dict[str, str]] TypeError: 'type' object is not subscriptable HOT 1
- "Feature"-Request pyproject.tml and pypi HOT 2
- TypeError: run() got an unexpected keyword argument 'capture_output' HOT 2
- Error 'json.decoder.JSONDecodeError: Expecting ':' delimiter: line 1 column 106212 (char 106211)' on macOS 13.3 with Python 3 HOT 3
- Error i don't know HOT 6
- Retrieving cookies HOT 1
- failing on undecryptable password entries HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefox_decrypt.