-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from niscy-eudiw/hackathon-dresden
Hackathon dresden
- Loading branch information
Showing
21 changed files
with
1,259 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
python3.10 \ | ||
python3.10-venv \ | ||
python3.10-dev \ | ||
python3-pip \ | ||
git \ | ||
gcc \ | ||
build-essential \ | ||
libssl-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /app | ||
|
||
COPY app/requirements.txt /app/ | ||
|
||
RUN mkdir -p /etc/eudiw/pid-issuer/cert/ | ||
|
||
RUN mkdir -p /etc/eudiw/pid-issuer/privkey/ | ||
|
||
COPY app/private/certs/ /etc/eudiw/pid-issuer/cert/ | ||
|
||
COPY app/private/privkeys/ /etc/eudiw/pid-issuer/privkey/ | ||
|
||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
|
||
COPY . /app | ||
|
||
ENV REQUESTS_CA_BUNDLE=app/cert.pem | ||
|
||
EXPOSE 5000 | ||
|
||
ENV FLASK_APP=app | ||
ENV FLASK_RUN_PORT=5000 | ||
ENV FLASK_RUN_HOST=0.0.0.0 | ||
|
||
CMD ["flask", "run", "--cert=app/cert.pem", "--key=app/key.pem"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
api_docs/test_tokens/IACA-token/PIDIssuerCAUThackathon.cacert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIC5zCCAo2gAwIBAgIUPQnDe9TMdWxD5EU/hKgW8OfMiP8wCgYIKoZIzj0EAwIw | ||
XDElMCMGA1UEAwwcUElEIElzc3VlciBDQSAtIFVUIGhhY2thdGhvbjEmMCQGA1UE | ||
CgwdRVVESSBSZWZlcmVuY2UgSW1wbGVtZW50YXRpb24xCzAJBgNVBAYTAlVUMB4X | ||
DTI0MDgyMzE4MDYyNFoXDTMzMTExOTE4MDYyM1owXDElMCMGA1UEAwwcUElEIElz | ||
c3VlciBDQSAtIFVUIGhhY2thdGhvbjEmMCQGA1UECgwdRVVESSBSZWZlcmVuY2Ug | ||
SW1wbGVtZW50YXRpb24xCzAJBgNVBAYTAlVUMFkwEwYHKoZIzj0CAQYIKoZIzj0D | ||
AQcDQgAEsNAL6wdUuFOxlI5A0seZjknuRvUNbPOoMtwWiXtdOOqaxRob5IYUF6g4 | ||
n3riCwj6cjEgKF7IZzk82GnlyeZWBKOCASswggEnMBIGA1UdEwEB/wQIMAYBAf8C | ||
AQAwHwYDVR0jBBgwFoAUQeybFcEY/LhCJLGM+A+hxxfmseQwFgYDVR0lAQH/BAww | ||
CgYIK4ECAgAAAQcwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cHM6Ly9wcmVwcm9kLnBr | ||
aS5ldWRpdy5kZXYvY3JsL3BpZF9DQV9VVF9oYWNrYXRob24uY3JsMB0GA1UdDgQW | ||
BBRB7JsVwRj8uEIksYz4D6HHF+ax5DAOBgNVHQ8BAf8EBAMCAQYwXQYDVR0SBFYw | ||
VIZSaHR0cHM6Ly9naXRodWIuY29tL2V1LWRpZ2l0YWwtaWRlbnRpdHktd2FsbGV0 | ||
L2FyY2hpdGVjdHVyZS1hbmQtcmVmZXJlbmNlLWZyYW1ld29yazAKBggqhkjOPQQD | ||
AgNIADBFAiEA9mTTG2Id/2cxLO+mr1Q8sKB48ldrL2QfpFPbyFgVsZkCIHlCHaoR | ||
CdJ9i7MTuracg4VRH69ius0DSvxFYJCfTpy+ | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.