bbdrop

Credential Management Guide

Quick Reference

Version: v0.9.0 Feature: Secure storage and management of passwords and authentication keys Storage: Fernet encryption (AES-128-CBC + HMAC-SHA256) with CSPRNG master key, stored in OS Keyring Supported Hosts: 2 image hosts (IMX.to, TurboImageHost) + 7 file hosts Last Updated: 2026-02-13


Overview

Credential management in BBDrop is designed to be secure and transparent. Whether you’re logging into imx.to or configuring multiple file hosts, your credentials are encrypted and stored securely—never sent to third parties, never stored in plain text.

This guide covers:


Credential Types

BBDrop handles four types of credentials, each with different authentication methods:

1. IMX.to Username/Password

What it is: Your imx.to login credentials for uploading image galleries.

Storage: OS Keyring or encrypted config file

Setup:

  1. Open Settings (Ctrl+,)
  2. Enter your imx.to username and password
  3. Click Test Connection
  4. Credentials are automatically saved to OS keyring

2. File Host API Keys

Hosts: Fileboom, Keep2Share, Tezfiles, Katfile

What it is: Permanent authentication token from your file host account.

Storage: OS Keyring

Obtaining Your API Key:

  1. Log into your file host account (e.g., rapidgator.net)
  2. Navigate to Account Settings or API Settings
  3. Copy your API Key
  4. In BBDrop: Settings → File Hosts → [Host] → Credentials
  5. Paste the API key and click Test Connection

Example Hosts:


3. Rapidgator Token Login

Host: Rapidgator (rapidgator.net)

What it is: Username:password that BBDrop converts to a temporary access token.

Storage: OS Keyring (credentials) + ~/.bbdrop/token_cache.db (token)

How it Works:

  1. You provide username:password in Settings
  2. BBDrop logs in to Rapidgator and receives a 24-hour token
  3. Token is cached locally (expires after 24 hours)
  4. Before expiry, BBDrop auto-refreshes the token
  5. If login fails, credentials are retried automatically

Setup:

  1. Open Settings → File Hosts → Rapidgator
  2. Enter credentials as: username:password
  3. Click Test Connection
  4. BBDrop logs in and caches the token

4. Session-Based Cookies

Hosts: Filedot (filedot.to), Filespace (filespace.com)

What it is: Username/password for session-based login with optional CAPTCHA.

Storage: OS Keyring (credentials) + Cookie cache

Setup:

  1. Open Settings → File Hosts → [Host]
  2. Enter credentials as: username:password
  3. Click Test Connection
  4. If CAPTCHA required (Filedot), BBDrop solves it automatically
  5. Session cookies are cached for future uploads

Storage Method

BBDrop uses dual-layer encryption for credential storage:

  1. Fernet encryption (AES-128-CBC + HMAC-SHA256) — encrypts each credential using a CSPRNG master key
  2. OS Keyring — stores both the encrypted credentials and the master key in the OS-native secure vault

OS Keyring

Supported Platforms:

Security: Credentials are Fernet-encrypted before storage, then the OS keyring adds its own encryption layer on top.

Advantages:

How to verify OS Keyring is working:

# Windows - Open Credential Manager
Control.exe /name Microsoft.CredentialManager

# Linux - Check Secret Service daemon
systemctl --user status secrets-tool

# macOS - Keychain Access app
open /Applications/Utilities/Keychain\ Access.app

Note: OS Keyring is required. If no keyring backend is available, BBDrop will display an error and credentials cannot be saved. On Linux, install python3-secretstorage or python3-keyring if needed.


Setting Up Credentials

Step 1: Open Settings

Via Menu: File → Settings Via Keyboard: Ctrl+,

Step 2: Navigate to Credential Sections

IMX.to Setup

  1. Go to Image Hosts and select IMX.to
  2. Enter your username and password (or API key)
  3. Click Test Connection button
  4. Wait for “Connection successful” message

File Host Setup

  1. Click File Hosts tab
  2. Select a host from the dropdown (e.g., “Rapidgator”)
  3. Enable the host with the checkbox
  4. Enter credentials:
    • API Key hosts (Fileboom, Keep2Share, Tezfiles, Katfile): Paste API key
    • Token Login (Rapidgator): Enter username:password
    • Session-Based (Filedot, Filespace): Enter username:password
  5. Click Test Connection

Step 3: Test Connection

The test connection button verifies your credentials before saving:

What it does:

  1. Attempts authentication with the file host
  2. Retrieves account information (storage quota, premium status, email)
  3. Deletes test file (if host supports deletion)
  4. Displays account details and status

Success message:

Connection successful!
Account: user@example.com
Premium: Yes (expires 2025-12-31)
Storage: 245.8 GB / 1000 GB

Error handling:

Step 4: Save and Done

After successful test, click OK or Save to store credentials:


Security Notes

What’s Encrypted?

Sensitive credentials are Fernet-encrypted:

Stored in keyring without Fernet encryption (keyring still encrypts natively):

Note: Credentials in RAM (during active upload) are decrypted for use, which is necessary for authentication.

What’s NOT Encrypted?

Never stored by BBDrop:

Best Practices

  1. Use strong passwords for all accounts
  2. API keys: Treat like passwords—don’t share or commit to version control
  3. Rapid Gator: Use a unique password (not your main email password)
  4. Ensure OS Keyring is available — it is required for credential storage
  5. Check account security periodically:
    • Verify login from Settings → Test Connection
    • Check account access logs on file host websites

Credential Recovery

“Credentials Not Found” Error

Cause: OS Keyring unavailable or corrupted

Solutions:

Windows:

  1. Open Credential Manager (Control.exe /name Microsoft.CredentialManager)
  2. Look for “bbdrop” entries
  3. If present, delete them
  4. In BBDrop, re-enter credentials and test connection

macOS:

  1. Open Keychain Access (Applications → Utilities)
  2. Search for “bbdrop”
  3. Delete any found entries
  4. In BBDrop, re-enter credentials and test connection

Linux:

  1. Restart Secret Service daemon:
    systemctl --user restart secrets-tool
    
  2. Ensure python3-secretstorage or python3-keyring is installed

Password Change

If you change your password on a file host:

  1. Rapidgator / Session-based hosts:
    • Open BBDrop Settings
    • Re-enter new credentials
    • Click Test Connection
    • Old token cache automatically invalidated
  2. API Key hosts:
    • Generate new API key on host website
    • Open BBDrop Settings
    • Replace old API key with new one
    • Click Test Connection
  3. IMX.to:
    • Open BBDrop Settings → General
    • Enter new password
    • Click Test Connection

Forgotten Password

If you forgot your file host password:

  1. Use “Forgot Password” on the file host website
  2. Reset your password
  3. In BBDrop, update the password in Settings
  4. Test the connection

If you forgot IMX.to password:

  1. Visit imx.to website
  2. Use “Forgot Password” to reset
  3. In BBDrop Settings → General, enter new password
  4. Test the connection

Reset All Credentials

Warning: This deletes all stored credentials from BBDrop (not from your accounts)

  1. Open Settings → Advanced
  2. Click Clear All Credentials
  3. Confirm when prompted
  4. Re-enter all credentials from scratch

Troubleshooting

Test Connection Fails

Error: “Connection refused”

Error: “Invalid credentials”

Error: “Network timeout”

Credentials Lost After Restart

Cause: OS Keyring was unavailable when credentials were saved

Solution:

  1. Ensure OS Keyring is working:
    • Windows: Control.exe /name Microsoft.CredentialManager
    • Linux: sudo apt-get install python3-keyring python3-secretstorage
    • macOS: Keychain should always be available
  2. Re-enter credentials and ensure test passes

Multiple Credentials Not Working

If some file hosts work but others don’t:

  1. Test each host individually in Settings
  2. If one fails, that host has the problem credential
  3. Delete and re-enter just that host’s credential
  4. Test again

Token Refresh Failures

For Rapidgator token:

Error: “Token expired, please re-login”

  1. Open Settings → File Hosts → Rapidgator
  2. Enter username:password again
  3. Click Test Connection (this forces new token)
  4. Try upload again

Why tokens fail:

CAPTCHA Solving Failed (Filedot)

Error: “Failed to solve CAPTCHA”

Solutions:

  1. Check internet connection (needed to fetch CAPTCHA image)
  2. Try again (sometimes CAPTCHA images fail to load)
  3. Temporarily disable Filedot in Settings
  4. Try another file host

See Also