The PostGuard web frontend for encrypting and sending files using Yivi-based identity attributes. Built with SvelteKit.
The easiest way to get started is using Docker Compose, which sets up everything you need:
# Start all services (cryptify, mailcrab, and postguard)
git submodule update --init --recursive
docker-compose up
# Postguard website at http://localhost:5173
# Mailcrab UI at http://localhost:1080
# Also launches IRMA server, Cryptify fileshare server and PKG serverYour code changes will automatically reload! The source code is mounted as a volume.
# Build and start all services from prebuild images
docker-compose -f docker-compose.prod.yml up
# Access the app at http://localhost# Development
docker-compose down
# Production
docker-compose -f docker-compose.prod.yml downTo test on a physical Android device over USB (make sure Yivi is in developer mode )
adb reverse tcp:8088 tcp:8088 # to scan QR codes / irma server
adb reverse tcp:8080 tcp:8080 # to visit the mobile postguard siteBuilding is done automatically through Github Actions. Building manually can be done through docker-compose. Building only the Postguard website can be done with npm/yarn.
docker-compose build
npm run buildVITE_FILEHOST_URL- Filehosting service URL, uses Cryptify (default:http://localhost:8000)VITE_PKG_URL- PKG service URL (default:http://localhost:8087)VITE_MAX_UPLOAD_SIZE- Maximum file upload size in bytesVITE_UPLOAD_CHUNK_SIZE- Upload chunk size in bytesVITE_FILEREAD_CHUNK_SIZE- File read chunk size in bytes