- Copy your cleaned CSV from Lab 6 into
data/cleaned/ - Install dependencies:
pip install pandas cryptography boto3 - Follow the lab instructions in Canvas
lab8-security/
├── scripts/
│ ├── mask.py ← Part 1: you complete this
│ └── upload_encrypted.py ← Part 3: you complete this
├── data/
│ ├── cleaned/ ← copy your Lab 6 CSV here (not committed)
│ └── masked/ ← mask.py writes here (add masked CSV to repo manually)
├── docker-compose.yaml ← MinIO services
├── questions.md ← your reflection answers
└── .gitignore
# Part 1 — masking
python scripts/mask.py --api open-meteo # or open-library / coingecko
# Part 3 — encryption
docker compose up -d minio
docker compose run minio-setup
docker compose run pipeline
docker compose down -v- Add your masked CSV manually:
git add data/masked/your_file_masked.csv - Do NOT commit
data/cleaned/ordata/encryption.key - Add the professor and TA as collaborators on your GitHub repo