This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Usage
eXhumer edited this page Sep 27, 2020
·
3 revisions
To use this, you need to get the following requirements.
python TinGen.py [FOLDER_ID_TO_SCAN [FOLDER_ID_TO_SCAN ...]]
Default Options
- Requires Google Drive V3 Authentication on tinfoil to download files
- Unencrypted
- Compressed with ZSTD compression algorithm
python TinGen.py [FOLDER_ID_TO_SCAN [FOLDER_ID_TO_SCAN ...]] --encrypt [--public-key PUBLIC_KEY_FILE_PATH]
Encrypts the index with AES-ECB-256, requires a RSA public key to encrypt the AES key generated. --public-key
flag can be skipped if the encryption key is named public.pem
in root level of the working folder
python TinGen.py [FOLDER_ID_TO_SCAN [FOLDER_ID_TO_SCAN ...]] --share-files
"Shares" all files in index by adding "Anyone with Link" permission to Google Drive file if it is missing.