2022-07-04T18:17:12,936 Created temporary directory: /tmp/pip-ephem-wheel-cache-v5zl4w48 2022-07-04T18:17:12,942 Created temporary directory: /tmp/pip-build-tracker-lc0h0zlt 2022-07-04T18:17:12,942 Initialized build tracking at /tmp/pip-build-tracker-lc0h0zlt 2022-07-04T18:17:12,943 Created build tracker: /tmp/pip-build-tracker-lc0h0zlt 2022-07-04T18:17:12,943 Entered build tracker: /tmp/pip-build-tracker-lc0h0zlt 2022-07-04T18:17:12,944 Created temporary directory: /tmp/pip-wheel-o48rzc65 2022-07-04T18:17:13,013 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-07-04T18:17:13,021 2 location(s) to search for versions of tkgetpassword: 2022-07-04T18:17:13,021 * https://pypi.org/simple/tkgetpassword/ 2022-07-04T18:17:13,021 * https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T18:17:13,022 Fetching project page and analyzing links: https://pypi.org/simple/tkgetpassword/ 2022-07-04T18:17:13,023 Getting page https://pypi.org/simple/tkgetpassword/ 2022-07-04T18:17:13,027 Found index url https://pypi.org/simple 2022-07-04T18:17:13,210 Found link https://files.pythonhosted.org/packages/98/a2/da90e26f26ae9d0f36d6862497fae910cc206309cdce35f6a9eaec0b6b8b/tkgetpassword-1.0.tar.gz#sha256=c1e62eaf1b9ac1564f65e00f781ee27c6e7d3b03cc85d0467240ebbfeff73813 (from https://pypi.org/simple/tkgetpassword/), version: 1.0 2022-07-04T18:17:13,211 Found link https://files.pythonhosted.org/packages/94/f5/2942655cb6be8b74385bba453fa55fbf6fbe807657b3cd78a54d59840d2c/tkgetpassword-1.1.tar.gz#sha256=453414e8bdd90d4cc1fe19eaa42d4e6e6f5044ad5d3eb113393880ac562c232c (from https://pypi.org/simple/tkgetpassword/), version: 1.1 2022-07-04T18:17:13,212 Found link https://files.pythonhosted.org/packages/66/1b/1eba6b7661406123085057645fcfe940aef7d239c60673a310101c327495/tkgetpassword-1.2.1.tar.gz#sha256=44f5c621e881317b52f67c76ce3f29e1dc19c858c044082ef8eeafe33195d226 (from https://pypi.org/simple/tkgetpassword/), version: 1.2.1 2022-07-04T18:17:13,213 Fetching project page and analyzing links: https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T18:17:13,214 Getting page https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T18:17:13,216 Found index url https://www.piwheels.org/simple 2022-07-04T18:17:13,435 Skipping link: No binaries permitted for tkgetpassword: https://www.piwheels.org/simple/tkgetpassword/tkgetpassword-1.1-py3-none-any.whl#sha256=e8b7971ede1436dedf07a63900e256477b6e2125154dc6d732fb36b0c0243443 (from https://www.piwheels.org/simple/tkgetpassword/) 2022-07-04T18:17:13,436 Skipping link: No binaries permitted for tkgetpassword: https://www.piwheels.org/simple/tkgetpassword/tkgetpassword-1.0-py3-none-any.whl#sha256=e371372c297d914c8f58c74c7f208f92481d063ce409a2bb6b50ce03dc617672 (from https://www.piwheels.org/simple/tkgetpassword/) 2022-07-04T18:17:13,436 Skipping link: not a file: https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T18:17:13,437 Skipping link: not a file: https://pypi.org/simple/tkgetpassword/ 2022-07-04T18:17:13,471 Given no hashes to check 1 links for project 'tkgetpassword': discarding no candidates 2022-07-04T18:17:13,502 Collecting tkgetpassword==1.2.1 2022-07-04T18:17:13,506 Created temporary directory: /tmp/pip-unpack-2snfvpsl 2022-07-04T18:17:13,986 Downloading tkgetpassword-1.2.1.tar.gz (7.0 kB) 2022-07-04T18:17:14,030 Added tkgetpassword==1.2.1 from https://files.pythonhosted.org/packages/66/1b/1eba6b7661406123085057645fcfe940aef7d239c60673a310101c327495/tkgetpassword-1.2.1.tar.gz#sha256=44f5c621e881317b52f67c76ce3f29e1dc19c858c044082ef8eeafe33195d226 to build tracker '/tmp/pip-build-tracker-lc0h0zlt' 2022-07-04T18:17:14,033 Running setup.py (path:/tmp/pip-wheel-o48rzc65/tkgetpassword_550179973fcb4981bb194e11709c445b/setup.py) egg_info for package tkgetpassword 2022-07-04T18:17:14,035 Created temporary directory: /tmp/pip-pip-egg-info-ydh1uhpw 2022-07-04T18:17:14,035 Preparing metadata (setup.py): started 2022-07-04T18:17:14,037 Running command python setup.py egg_info 2022-07-04T18:17:19,278 Functions to create password entries: 2022-07-04T18:17:19,280 ===================================== 2022-07-04T18:17:19,280 askcreatepassword, askoldpassword, askchangepassword 2022-07-04T18:17:19,281 1- **askcreatepassword**\ (…) Use on create a new password, return (str: 2022-07-04T18:17:19,281 a new password) 2022-07-04T18:17:19,282 2- **askoldpassword**\ (…) Use on get old password and check with 2022-07-04T18:17:19,283 functions Sha’s (HASH), return (str: old password) 2022-07-04T18:17:19,283 3- **askchangepassword**\ (…) Use on change old password, return (str: 2022-07-04T18:17:19,284 old password, str: new passwod) 2022-07-04T18:17:19,284 Creation password: 2022-07-04T18:17:19,285 ================== 2022-07-04T18:17:19,285 :: 2022-07-04T18:17:19,286 from tkinter import Tk 2022-07-04T18:17:19,286 import tkgetpassword as tkpassw 2022-07-04T18:17:19,287 root = Tk() 2022-07-04T18:17:19,288 newpass = tkpassw.askcreatepassword(root, minlenght=12) 2022-07-04T18:17:19,288 root.mainloop() 2022-07-04T18:17:19,289 Auth password: 2022-07-04T18:17:19,289 ============== 2022-07-04T18:17:19,290 :: 2022-07-04T18:17:19,291 import hashlib 2022-07-04T18:17:19,291 thehash = hashlib.sha256( newpass.encode() ).hexdigest() 2022-07-04T18:17:19,292 oldpass = tkpassw.askoldpassword(root, thehash) 2022-07-04T18:17:19,292 Change password 2022-07-04T18:17:19,293 =============== 2022-07-04T18:17:19,293 :: 2022-07-04T18:17:19,294 oldpass , newpass = tkpassw.askchangepassword(root, hashed) 2022-07-04T18:17:19,295 if not (oldpass and newpass): 2022-07-04T18:17:19,295 print("form change password is canceled") 2022-07-04T18:17:19,296 use help(module) : 2022-07-04T18:17:19,296 ================== 2022-07-04T18:17:19,297 :: 2022-07-04T18:17:19,297 help(tkgetpassword) 2022-07-04T18:17:19,298 Options \**kw use: 2022-07-04T18:17:19,298 ================== 2022-07-04T18:17:19,299 :: 2022-07-04T18:17:19,299 -title: optional title str 2022-07-04T18:17:19,300 -message: optional message str 2022-07-04T18:17:19,300 -font1: optional (font of label passwords) 2022-07-04T18:17:19,301 -font2: optional (font of passwords) 2022-07-04T18:17:19,301 -showchar: default is "*" 2022-07-04T18:17:19,302 -minlenght: default 0 (no limits) 2022-07-04T18:17:19,302 -maxlenght: default 0 (no limits) 2022-07-04T18:17:19,303 -asserthash: a string hash to authenticate (example: 2022-07-04T18:17:19,303 a representation hash: hashlib.new("sha256", bytesPassword).hexdigest() 2022-07-04T18:17:19,304 ignored by askcreatepassword(...) function 2022-07-04T18:17:19,304 -namesha: default used is "sha256", 2022-07-04T18:17:19,304 used on hashlib.new(namesha, passw).hexdisgest() method 2022-07-04T18:17:19,305 -textbutton: default is a tuple ("Ok", "Cancel") 2022-07-04T18:17:19,305 -stylebutton: default is "TButton" 2022-07-04T18:17:19,306 \**\* Changes, updates \**\* 2022-07-04T18:17:19,306 ============================ 2022-07-04T18:17:19,307 :: 2022-07-04T18:17:19,307 release 1.1.1: added variable "version" 2022-07-04T18:17:19,308 running egg_info 2022-07-04T18:17:19,308 creating /tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info 2022-07-04T18:17:19,932 writing /tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info/PKG-INFO 2022-07-04T18:17:20,533 writing dependency_links to /tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info/dependency_links.txt 2022-07-04T18:17:24,127 writing top-level names to /tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info/top_level.txt 2022-07-04T18:17:24,129 writing manifest file '/tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T18:17:24,886 reading manifest file '/tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T18:17:24,893 writing manifest file '/tmp/pip-pip-egg-info-ydh1uhpw/tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T18:17:25,058 Preparing metadata (setup.py): finished with status 'done' 2022-07-04T18:17:25,170 Source in /tmp/pip-wheel-o48rzc65/tkgetpassword_550179973fcb4981bb194e11709c445b has version 1.2.1, which satisfies requirement tkgetpassword==1.2.1 from https://files.pythonhosted.org/packages/66/1b/1eba6b7661406123085057645fcfe940aef7d239c60673a310101c327495/tkgetpassword-1.2.1.tar.gz#sha256=44f5c621e881317b52f67c76ce3f29e1dc19c858c044082ef8eeafe33195d226 2022-07-04T18:17:25,172 Removed tkgetpassword==1.2.1 from https://files.pythonhosted.org/packages/66/1b/1eba6b7661406123085057645fcfe940aef7d239c60673a310101c327495/tkgetpassword-1.2.1.tar.gz#sha256=44f5c621e881317b52f67c76ce3f29e1dc19c858c044082ef8eeafe33195d226 from build tracker '/tmp/pip-build-tracker-lc0h0zlt' 2022-07-04T18:17:25,181 Created temporary directory: /tmp/pip-unpack-wspn15tl 2022-07-04T18:17:25,182 Building wheels for collected packages: tkgetpassword 2022-07-04T18:17:25,191 Created temporary directory: /tmp/pip-wheel-foapov4s 2022-07-04T18:17:25,192 Building wheel for tkgetpassword (setup.py): started 2022-07-04T18:17:25,193 Destination directory: /tmp/pip-wheel-foapov4s 2022-07-04T18:17:25,194 Running command python setup.py bdist_wheel 2022-07-04T18:17:27,284 Functions to create password entries: 2022-07-04T18:17:27,285 ===================================== 2022-07-04T18:17:27,286 askcreatepassword, askoldpassword, askchangepassword 2022-07-04T18:17:27,286 1- **askcreatepassword**\ (…) Use on create a new password, return (str: 2022-07-04T18:17:27,287 a new password) 2022-07-04T18:17:27,288 2- **askoldpassword**\ (…) Use on get old password and check with 2022-07-04T18:17:27,288 functions Sha’s (HASH), return (str: old password) 2022-07-04T18:17:27,289 3- **askchangepassword**\ (…) Use on change old password, return (str: 2022-07-04T18:17:27,289 old password, str: new passwod) 2022-07-04T18:17:27,290 Creation password: 2022-07-04T18:17:27,290 ================== 2022-07-04T18:17:27,291 :: 2022-07-04T18:17:27,291 from tkinter import Tk 2022-07-04T18:17:27,292 import tkgetpassword as tkpassw 2022-07-04T18:17:27,292 root = Tk() 2022-07-04T18:17:27,293 newpass = tkpassw.askcreatepassword(root, minlenght=12) 2022-07-04T18:17:27,293 root.mainloop() 2022-07-04T18:17:27,294 Auth password: 2022-07-04T18:17:27,294 ============== 2022-07-04T18:17:27,295 :: 2022-07-04T18:17:27,296 import hashlib 2022-07-04T18:17:27,296 thehash = hashlib.sha256( newpass.encode() ).hexdigest() 2022-07-04T18:17:27,297 oldpass = tkpassw.askoldpassword(root, thehash) 2022-07-04T18:17:27,297 Change password 2022-07-04T18:17:27,298 =============== 2022-07-04T18:17:27,298 :: 2022-07-04T18:17:27,299 oldpass , newpass = tkpassw.askchangepassword(root, hashed) 2022-07-04T18:17:27,299 if not (oldpass and newpass): 2022-07-04T18:17:27,300 print("form change password is canceled") 2022-07-04T18:17:27,300 use help(module) : 2022-07-04T18:17:27,300 ================== 2022-07-04T18:17:27,301 :: 2022-07-04T18:17:27,302 help(tkgetpassword) 2022-07-04T18:17:27,302 Options \**kw use: 2022-07-04T18:17:27,303 ================== 2022-07-04T18:17:27,303 :: 2022-07-04T18:17:27,304 -title: optional title str 2022-07-04T18:17:27,304 -message: optional message str 2022-07-04T18:17:27,305 -font1: optional (font of label passwords) 2022-07-04T18:17:27,305 -font2: optional (font of passwords) 2022-07-04T18:17:27,306 -showchar: default is "*" 2022-07-04T18:17:27,306 -minlenght: default 0 (no limits) 2022-07-04T18:17:27,307 -maxlenght: default 0 (no limits) 2022-07-04T18:17:27,307 -asserthash: a string hash to authenticate (example: 2022-07-04T18:17:27,308 a representation hash: hashlib.new("sha256", bytesPassword).hexdigest() 2022-07-04T18:17:27,308 ignored by askcreatepassword(...) function 2022-07-04T18:17:27,308 -namesha: default used is "sha256", 2022-07-04T18:17:27,309 used on hashlib.new(namesha, passw).hexdisgest() method 2022-07-04T18:17:27,309 -textbutton: default is a tuple ("Ok", "Cancel") 2022-07-04T18:17:27,310 -stylebutton: default is "TButton" 2022-07-04T18:17:27,310 \**\* Changes, updates \**\* 2022-07-04T18:17:27,311 ============================ 2022-07-04T18:17:27,311 :: 2022-07-04T18:17:27,312 release 1.1.1: added variable "version" 2022-07-04T18:17:30,223 running bdist_wheel 2022-07-04T18:17:30,393 running build 2022-07-04T18:17:30,394 running build_py 2022-07-04T18:17:31,034 creating build 2022-07-04T18:17:31,034 creating build/lib 2022-07-04T18:17:31,036 creating build/lib/tkgetpassword 2022-07-04T18:17:31,038 copying tkgetpassword/__init__.py -> build/lib/tkgetpassword 2022-07-04T18:17:31,685 /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. 2022-07-04T18:17:31,686 setuptools.SetuptoolsDeprecationWarning, 2022-07-04T18:17:32,327 installing to build/bdist.linux-armv7l/wheel 2022-07-04T18:17:32,328 running install 2022-07-04T18:17:32,388 running install_lib 2022-07-04T18:17:33,044 creating build/bdist.linux-armv7l 2022-07-04T18:17:33,044 creating build/bdist.linux-armv7l/wheel 2022-07-04T18:17:33,047 creating build/bdist.linux-armv7l/wheel/tkgetpassword 2022-07-04T18:17:33,049 copying build/lib/tkgetpassword/__init__.py -> build/bdist.linux-armv7l/wheel/tkgetpassword 2022-07-04T18:17:33,054 running install_egg_info 2022-07-04T18:17:34,358 running egg_info 2022-07-04T18:17:34,359 creating tkgetpassword.egg-info 2022-07-04T18:17:34,993 writing tkgetpassword.egg-info/PKG-INFO 2022-07-04T18:17:35,581 writing dependency_links to tkgetpassword.egg-info/dependency_links.txt 2022-07-04T18:17:39,098 writing top-level names to tkgetpassword.egg-info/top_level.txt 2022-07-04T18:17:39,101 writing manifest file 'tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T18:17:39,154 reading manifest file 'tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T18:17:39,161 writing manifest file 'tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T18:17:39,163 Copying tkgetpassword.egg-info to build/bdist.linux-armv7l/wheel/tkgetpassword-1.2.1-py3.7.egg-info 2022-07-04T18:17:39,180 running install_scripts 2022-07-04T18:17:39,321 creating build/bdist.linux-armv7l/wheel/tkgetpassword-1.2.1.dist-info/WHEEL 2022-07-04T18:17:39,325 creating '/tmp/pip-wheel-foapov4s/tkgetpassword-1.2.1-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2022-07-04T18:17:39,332 adding 'tkgetpassword/__init__.py' 2022-07-04T18:17:39,338 adding 'tkgetpassword-1.2.1.dist-info/METADATA' 2022-07-04T18:17:39,339 adding 'tkgetpassword-1.2.1.dist-info/WHEEL' 2022-07-04T18:17:39,341 adding 'tkgetpassword-1.2.1.dist-info/top_level.txt' 2022-07-04T18:17:39,342 adding 'tkgetpassword-1.2.1.dist-info/RECORD' 2022-07-04T18:17:39,344 removing build/bdist.linux-armv7l/wheel 2022-07-04T18:17:39,533 Building wheel for tkgetpassword (setup.py): finished with status 'done' 2022-07-04T18:17:39,540 Created wheel for tkgetpassword: filename=tkgetpassword-1.2.1-py3-none-any.whl size=7026 sha256=c2db9f47a4a471ce233f351cceb9c664d38bb13d9df54e716efbd010f1bdb61a 2022-07-04T18:17:39,542 Stored in directory: /tmp/pip-ephem-wheel-cache-v5zl4w48/wheels/b6/ed/b8/b07a3236653f402c9b9239a6ebd8e1e925df7bb10109d09687 2022-07-04T18:17:39,563 Successfully built tkgetpassword 2022-07-04T18:17:39,570 Removed build tracker: '/tmp/pip-build-tracker-lc0h0zlt'