Prepare for download
Before you can download approved files from FEGA Sweden, you need to install the download tool and generate a Crypt4GH key pair.
1. Prepare your system
Download the latest release of sda-cli from GitHub:
https://github.com/NBISweden/sda-cli/releases/
Choose the asset that matches your operating system (Linux, Darwin, or Windows) and system architecture (arm64 or x86_64).
Open a terminal, go to the directory where the file was downloaded, and extract the archive:
tar -xvzf sda-cli_*.tar.gzYou may want to move the sda-cli binary to a directory in your PATH such as /usr/local/bin to make it easier to run.
2. Generate a Crypt4GH key pair
Use sda-cli to generate a public and private key pair. Replace <name> with a filename prefix of your choice:
./sda-cli createKey <name>This creates two files:
<name>.pub.pem— your public key<name>.sec.pem— your private key
Do not delete or share your private key (<name>.sec.pem). You will need it to decrypt the files after download.
3. Send us your public key
Attach your public key file (<name>.pub.pem) to an email and send it to fega-sweden@nbis.se.
Once we have received your public key, we will encrypt the approved files for you and provide instructions on how to download them.