Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
eXhumer edited this page Sep 27, 2020 · 3 revisions

To use this, you need to get the following requirements.

Generate index with default options

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

Generate encrypted index

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

Generate index without requiring Google Drive V3 Authentication to download file on Tinfoil

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.