JOIN OUR CHAT GROUPS NOW!

If you are a fan of Tasker and want to be aware of the latest news, tips and tricks, have doubts, or would like to help who needs it, join us!

TASKER PROFILE CENTER IS ON PATREON.COM NOW!

If you like my projects and want to support me, now you can do it by becoming my Patron.

STAY UPDATED ABOUT TPC PROJECTS IN A MORE DIRECT WAY!

With the new Tasker Projects Tracker project made by @SmartPhoneLover you can stay up-to-date with our latest work.

Showing posts sorted by relevance for query Tasker Backups Encryption. Sort by date Show all posts
Showing posts sorted by relevance for query Tasker Backups Encryption. Sort by date Show all posts

Thursday, December 24, 2020

[PROJECT] Tasker Backups Encryption v1.x (TO BE DEVELOPED)

DESCRIPTION
As you may know, Tasker does not apply any type of encryption for its backups in XMLs. Therefore, here I bring you this project to try to solve that in some way, protecting both auto and manual backups from indiscrete eyes.

Main features:
• Cipher algorithm (AES) (*)
• Background encryption
• Decryption (on-demand)
• Automated manual backups (if auto-backup is disabled) (**)


This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.

The project will help preserve the privacy of the data stored in the XMLs, but will not prevent decryption if the thief knows how to reverse it, or if the device is rooted.


If using Tasker (Android API) version...
It won't require you to do nothing more special than:
1. Import project.
2. Configure it.
3. Done!

If using Tasker + Termux (all pkgs) version...
Previous Steps:
- Import project.
- Install Termux (GP/FD), Termux:Tasker (GP/FD).

* To prevent malfunction between Termux and its add-on, install both from the same source.
* In case of script update, be sure to run the 'Initial Setup' task after project import and follow 'Script Update' steps.
* Other useful cmds: cd path (navigate folders), ls path (list files), pkg list-all (list packages), pkg uninstall pkg_nme (uninstall packages).

Environment Setup:
0. Open Termux and type...
1. apt update
2. apt upgrade (yes)
3. pkg install openssl (if not installed by default)
4. pkg install openssl-tool
5. termux-setup-storage (allow)
6. mkdir -p ~/.termux/tasker
7. mv "/storage/emulated/0/Tasker/Resources/Tasker Backups Encryption/TBE_Encrypt_Files.sh" ~/.termux/tasker
8. chmod 700 ~/.termux/tasker/TBE_Encrypt_Files.sh (755 if script fails)
9. exit

Script Update:
0. Open Termux and type...
1. apt update
2. apt upgrade (yes)
3. rm ~/.termux/tasker/TBE_Encrypt_Files.sh
4. mv "/storage/emulated/0/Tasker/Resources/Tasker Backups Encryption/TBE_Encrypt_Files.sh" ~/.termux/tasker
5. chmod 700 ~/.termux/tasker/TBE_Encrypt_Files.sh (755 if script fails)
6. exit

Notes:
- The project was based on this request.
- To know more about encryption algorithms and its modes: Android API, OpenSSL.
- It is highly recommended that you keep your password in a safe place. (you were warned!)
- (*) If 'Tasker' version, Cipher (AES-ECB) will be the default algorithm (mode will always be up to the provider defaults), but others are also available. If 'Tasker + Termux' version, Cipher (AES-CBC) will be used by default, but other algorithms are available from 'openssl' package too. (if the user wants to use any kind of values not included by default, they will have to deal with the required changes on their own)
- (**) The project acts on the /storage/emulated/0/Tasker/configs dir, so be sure you have the Local Auto-Backup Max Age (Preferences > Misc) option enabled. Or use the manual backup mode. (the 'Schedule (backup)' profile is available to automate manual backups)
- In case of disaster: Tasker/Termux stops working/responding, a non-project task causes the process to be aborted, device restarted, etc., a backup will be temporarily stored in /storage/emulated/0/Tasker/Resources/Tasker Backups Encryption during the process. So, if you see the 'The working directory is not empty!' message, there you will have a clue. (files needs to be moved/deleted manualy for safety reasons)
- If you want to change your password and there are existing encrypted files, decrypt them with the old password first. Then you can proceed with setting your new password.

SCREENSHOTS
x

CREDITS
@SmartPhoneLover

CHANGELOG


DOWNLOAD
Only for development.
DOWNLOAD (Ads Supported)
Only for development.

Wednesday, March 18, 2020

[PROJECT] Tasker Backups Encryption v1.0

DESCRIPTION
As you may know, Tasker does not apply any type of encryption for its backups in XMLs. Therefore, here I bring you this project to try to solve that in some way, protecting both auto and manual backups from indiscrete eyes.

Main features:
• Cipher algorithm (AES)
• Automated encryption (decryption is on-demand)

This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.

The project will help preserve the privacy of the data stored in the XMLs, but will not prevent decryption if the thief knows how to reverse it, or if the device is rooted.

Notes:
- The project was based on this request.
- It is highly recommended that you keep your password in a safe place. (you were warned!)
- In case of project update, already encrypted files won't be altered. So stay calm 😉.
- The project acts on the /storage/emulated/0/Tasker/configs dir, so be sure you have the Local Auto-Backup Max Age (Preferences > Misc) option enabled. Or use the manual backup mode.
- The encryption process will be relatively fast, but the decryption will take a while to finish. So, be patient...
- In case of disaster: Tasker stops working/responding, a non-project task causes the process to be aborted, device restarted, etc., a backup will be temporarily stored in /storage/emulated/0/Tasker/Resources/Tasker Backups Encryption during the process.

SCREENSHOTS

CREDITS
@SmartPhoneLover

DOWNLOAD
Project (XML)
Project (TaskerNet)

DOWNLOAD (Ads Supported)
Project (XML)
Project (TaskerNet)