Skip to content
Snippets Groups Projects
Commit 0224fdfe authored by Marco Holz's avatar Marco Holz
Browse files

Rename jwk_creation.md to jwk-creation.md

+ minor formatting fixes
parent ba3d3e51
No related branches found
No related tags found
1 merge request!15Erstellung von JSON Web Keys für Testzwecke
# 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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment