File pipeline
Project description
OARepoFilePipeline
Flask extension for OARepoFilePipeline.
Setup
In app configuration define:
- This repository RSA key pair (public_key, private_key)
- PIPELINE_FILE_SERVER RSA public key
- PIPELINE_FILE_SERVER URL
Optionally you can change:
- Signing algorithm for the JWT
- Encryption algorithm and method for the JWE
"""Private and public RSA keys for singing JWT token"""
PIPELINE_REPOSITORY_JWK = {
"private_key": "",
"public_key": ""
}
"""Public RSA key of FILE_PIPELINE_SERVER to encrypt JWE token with payload"""
PIPELINE_JWK = {
"public_key": "",
}
"""FILE_PIPELINE_SERVER redirect url"""
PIPELINE_REDIRECT_URL = ''
"""Default algorithms"""
PIPELINE_SIGNING_ALGORITHM = "RS256"
PIPELINE_ENCRYPTION_ALGORITHM = "RSA-OAEP"
PIPELINE_ENCRYPTION_METHOD = "A256GCM"
Usage
Endpoint initiating pipeline is .../<id_>/<file_key>/pipeline. It accepts optional query parameters, such as pipeline,
for suggested processing steps (preview_zip, preview_picture etc.). Then it redirect the client to a dedicated server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oarepo_file_pipeline-0.1.1.tar.gz.
File metadata
- Download URL: oarepo_file_pipeline-0.1.1.tar.gz
- Upload date:
- Size: 362.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8286bd3466cc10bcb8f9a9ad448909386bb2989c21667ded2c22eff0133402e0
|
|
| MD5 |
5db815d2c542111643d276f3cc5db150
|
|
| BLAKE2b-256 |
b927c9857bc40e7db7522ea57f3cbdc66b9e7ce860e675d5f18ce72f97f28e41
|
File details
Details for the file oarepo_file_pipeline-0.1.1-py3-none-any.whl.
File metadata
- Download URL: oarepo_file_pipeline-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37771d32ec838e95cbbdeb68e15f5405ad32f5a4a27eee2868837566b3db4e67
|
|
| MD5 |
d43fd8f004cb3a88ca97899e80a59c19
|
|
| BLAKE2b-256 |
2eb19840c52b814a77c7c365171e40a04047574c91d0d1cdf24711b322354b3a
|