Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.69 KB

File metadata and controls

65 lines (47 loc) · 1.69 KB

Assignment Decryption Instructions

This repository contains an encrypted assignment. Follow these steps to decrypt and set up the project.

Prerequisites

You need GPG installed on your system:

  • macOS: brew install gnupg
  • Ubuntu/Debian: sudo apt-get install gnupg
  • Windows: Download from GnuPG website

Decryption Steps

  1. Clone this repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Run the decryption script:

    bash scripts/decrypt.sh
  3. When prompted:

    • Press Enter to accept the default encrypted file path, or provide the correct path
    • Paste the private key provided to you (including the BEGIN/END PGP PRIVATE KEY BLOCK lines)
    • Press Ctrl+D (on Linux/Mac) or Ctrl+Z then Enter (on Windows) to finish pasting
  4. The assignment will be decrypted to ./decrypted-assignment/

Setting Up the Assignment

After decryption:

cd decrypted-assignment/assignment
pnpm install
pnpm dev

Troubleshooting

Script not found

Make sure you're in the repository root directory where scripts/ folder exists.

GPG not found

Install GPG using the commands in the Prerequisites section above.

Permission denied

Make the script executable:

chmod +x scripts/decrypt.sh

Decryption failed

  • Ensure you pasted the complete private key
  • Verify the encrypted file exists
  • Make sure you're using the correct private key for this assignment

Security Note

  • Keep the private key secure - don't share it with others
  • The private key is unique to you for this assignment
  • If you lose the private key, contact the recruiting team