Here is the next step for supporting the HTSGET storage: \
support for the Htsget protocol and Crypt4gh key-pair generation and content decryption is baked into the Funnel source code.
After this change, the Funnel environment does not depend on other programs for invoking content download over Htsget protocol. Therefore, this solution is more reliable.
Implementation for generating or loading existing Crypt4gh key-pair (preferred order: explicit key-file-paths, ./.c4gh/key[.pub], and ~/.c4gh/key[.pub]) as described here
Support for standard environment variables: C4GH_PASSPHRASE, C4GH_SECRET_KEY, and C4GH_PUBLIC_KEY (the latter is a new variable name, yet optional)
Removed external Htsget and Crypt4gh implementations from the Docker images.
HTSGETConfig: removed SendPublicKey (as public key is always sent), and added Timeout parameter.
Added unit-tests for Crypt4gh keys and decryption related functionalities
Updated the Htsget documentation page (in Funnel) with the new info.
Here is the next step for supporting the HTSGET storage: \ support for the Htsget protocol and Crypt4gh key-pair generation and content decryption is baked into the Funnel source code.
After this change, the Funnel environment does not depend on other programs for invoking content download over Htsget protocol. Therefore, this solution is more reliable.
Summary of changes:
./.c4gh/key[.pub]
, and~/.c4gh/key[.pub]
) as described hereC4GH_PASSPHRASE
,C4GH_SECRET_KEY
, andC4GH_PUBLIC_KEY
(the latter is a new variable name, yet optional)HTSGETConfig
: removedSendPublicKey
(as public key is always sent), and addedTimeout
parameter.