Thread: [Fremantle Maemo5] Share your code
View Single Post
Posts: 391 | Thanked: 908 times | Joined on Aug 2011 @ suncity
#19
Hi All!

I made some - hopefully - improvements.

- Cleaned the code a bit and used a bit different filestructure,
- Fixed a bug,
- Added password protection.
How this works: password protection is set disabled by default at installation. If you wish to set it then tap on 'Settings' and set it to 'Enabled'. After this it will pop up a window where you can type the password. Then is restarts and now it will ask for the password as a 'login' procedure.

Side notes:
- it uses hashlib so it saves the password as an encrypted 'text';
- if you installed and used previous version then the installation won't hurt you original settings and database but due to the fact that this is my first attempt to achieve this behaviour please create a backup of these (copy /home/user/.maemoneypot/settings.ini and .maemoneypotdb to MyDocs for example). I tried the installation and it worked as it should but who knows...
- changing password is not an option yet - only manually can be changed but would like to add this option soon...

jm

EDIT:// Sorry, there was an issue in the install script and user cannot add record to database; I fixed it now (hopefully).
Attached Files
File Type: gz maemoneypot_0.2.0-1.tar.gz (37.4 KB, 119 views)
File Type: deb maemoneypot_0.2.0-1_all.deb (38.2 KB, 129 views)

Last edited by justmemory; 2017-04-06 at 15:43.
 

The Following 3 Users Say Thank You to justmemory For This Useful Post: