From 0224fdfeaba6cfe7366af6dda1280f16b8950a0f Mon Sep 17 00:00:00 2001 From: Marco Holz <marco.holz@fitko.de> Date: Thu, 19 Aug 2021 07:07:14 +0000 Subject: [PATCH] Rename jwk_creation.md to jwk-creation.md + minor formatting fixes --- docs/details/{jwk_creation.md => jwk-creation.md} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename docs/details/{jwk_creation.md => jwk-creation.md} (99%) diff --git a/docs/details/jwk_creation.md b/docs/details/jwk-creation.md similarity index 99% rename from docs/details/jwk_creation.md rename to docs/details/jwk-creation.md index 6d29e28d2..7a137c4a2 100644 --- a/docs/details/jwk_creation.md +++ b/docs/details/jwk-creation.md @@ -1,13 +1,16 @@ - # Erstellung von JSON Web Keys für Testzwecke FIT-Connect verwendet zur Übertragung von Antragsdaten und Metadaten mit direktem Bezug zu Anträgen eine Ende-zu-Ende-Verschlüsselung. Diese ist auf Basis des Standards [JSON Web Encryption (JWE)](https://tools.ietf.org/html/rfc7516) unter Verwendung von Schlüsseln gemäß des Standards [JSON Web Keys (JWK)](https://tools.ietf.org/html/rfc7517) umgesetzt. Im Folgenden soll die Erstellung von JWKs mithilfe eines einfachen in Python geschriebenen Skriptes unter Windows und Linux erläutert werden. + ## Voraussetzungen Die Ausführung des Skriptes setzt eine installierte Version von [Python]( https://www.python.org/) voraus. Zum Nachinstallieren von benötigten Paketen wird Paketverwaltungsprogramm **pip** benötigt. Bei Versionen vor 3.4 ist ggf. noch eine manuelle Installation erforderlich. + ### Windows Eine Anleitung zur Installation und Einrichtung unter Windows finden Sie unter [Installationsanleitung Python Windows]( https://docs.microsoft.com/de-de/windows/python/beginners). + ### Linux Der Ablauf und die Befehle zur Installation und Einrichtung von Python unter Linux unterscheiden sich je nach verwendeter Distribution. + #### Für Ubuntu [Installationsanleitung Python Ubuntu]( https://docs.python-guide.org/starting/install3/linux/) @@ -15,6 +18,7 @@ Installation von **pip** ```console foo@bar:~$ sudo apt install python3-pip ``` + #### Für Debian [Installationsanleitung Python Debian]( https://linuxize.com/post/how-to-install-python-3-9-on-debian-10/) @@ -22,6 +26,7 @@ Installation von **pip** ```console foo@bar:~$ sudo apt install python3-pip ``` + #### Für Fedora [Installationsanleitung Python Fedora]( https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html) @@ -41,6 +46,7 @@ Linux: ```console foo@bar:~$ pip install jwcrypto ``` + ### Herunterladen des Python-Skrips Das Skript zur Erstellung der JSON Web Keys können Sie unter [Python Skript zur JWK-Erstellung](https://git.fitko.de/fit-connect/fit-connect-tools/-/blob/main/set-jwkset-gen.py) herunterladen. Speichern Sie es in einem Verzeichnis, in dem Sie das Skript später wiederfinden. -- GitLab