Archive for Februar, 2022

Raspberry Pi – mit Windows 10 11 IoT Core

Sonntag, Februar 20th, 2022

OpenSSL 1.1.1d – can be used to create signature of a file and check the file against the signature to prevent unauthorized changes

Sonntag, Februar 20th, 2022

   OpenSSL – sign a file and verify it

root@rpi-iot-jsho-cam-02:~# openssl genrsa -aes256 -out my.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
……………………………………..+++++
……………………+++++
e is 65537 (0x010001)
Enter pass phrase for my.key:
Verifying – Enter pass phrase for my.key:

root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# openssl genrsa -aes256 -passout pass:mySecret -out my.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
root@rpi-iot-jsho-cam-02:~# cat my.key
—–BEGIN RSA PRIVATE KEY—–
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,65007E1D7A502131382A9E716BC62E8B
92saRNOXNF48QZXgZfaD6wIk/uXa2pdpTHntqQ9XwlWjxT1oyRAlauXIpj77zJ6k
jOxSYi7Go2NNOGUUFO0ZcfM+kBG3C7l+9D7UwmWtQdrZUYR6jQeUyMTNiB4taA7B
94f+slY6/gH0BsEaHjL2Y1eUUsTrH9Iksbqw2jijlGMGrfJW2X9V7toF3fCvw7wa
+B4yInGomIOJSMg2Dtcy93Iz7ht4A+U+RBLQ+uyjg5xPsz73Ak+Pe+Se1dbVQsV4
CadrswpzQeQkg3IQ3Va6jfTc6NRgf3XnY2VSs6zjMDYHZqpt18Y3QkyovdJbyylm
JHgZC79ll33hDe1NqP7TNilW8FHXaeprl8K/jxomMUY22oHCtA7unFuhzcKk1STi

puWoPCVSMouErGPv09SYpzf6rraWcLkFPE5K+qLVMAs61NybCj7TNTqtpRSTGr1P
uG2SVzqaN8hoRPSJb/Y2/r0GdtCpgDl8+0OXuyNmVCxqp5jZ+UYqDYvtZmJZGvUP
C1pVhhp+JOiX6rVNnqNBuAlHKM4/z/1VCDVSoVgTtRRstC05KiXR9t6lVYUeEIMD
NrbdVwyRT+DJByywwxiujlt1Q5Sv8SxGGetVkYP6vMwvwmgOdIX6Z9f+mfM/IkrS
cWobJzXx1vZoIcH70XaPGvQtCzuDbLG8m7Hjno+cNCkt5w2LQjily19HGHHC2dHo
OB6Q30A4WbfoZuOzfBPr5ILMP11iSJlY57na9GeJpRmPHGafC82D61TThUTTfh0s
cwUDCVQ95hig4XzyBKjJGFFzPbNX4TkqpJcYCLfZVt19PmJBPO2ZZXzR+885I5i7
—–END RSA PRIVATE KEY—–

root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# openssl rsa -in ./my.key -passin pass:mySecret -pubout -out my.pem
writing RSA key
root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# cat my.pem
—–BEGIN PUBLIC KEY—–
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx411lznJNu2l0wPCy9IC
S90i5pPaFuaBN9rg/R6QgNrPBNmyeQV1yh9NAyukePoiMWyg0uoEhjaDY7Venqvv

IS94xVrpKalg4pIiGXFs/95tOS+64INwjpa+GspAATLcuVFR/WClvIk4M3B8JYbg
zDrm9xoGpqF+P45UaDGwQqgANN/oqBMP/zL9A6BhqD5e92GzkHsIRjvbnVEtbgT0
4QIDAQAB
—–END PUBLIC KEY—–
root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# echo „Very importend dataclear!“ > ImportendData.txt

root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# ls -la ImportendData*
-rw-r–r– 1 root root 26 Feb 20 10:01 ImportendData.txt
-rw-r–r– 1 root root 256 Feb 20 10:04 ImportendData.txt.sign

root@rpi-iot-jsho-cam-02:~# openssl dgst -sha256 -sign my.key -out ImportendData.txt.sign ImportendData.txt
Enter pass phrase for my.key:
root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# openssl base64 -in ImportendData.txt.sign -out ImportendData.txt.sign.base64
root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# openssl base64 -d -in ImportendData.txt.sign.base64 -out ImportendData.txt.sign
root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# openssl dgst -sha256 -verify my.pem -signature ImportendData.txt.sign ImportendData.txt
Verified OK
root@rpi-iot-jsho-cam-02:~#

gematik GmbH – TI-Dashboard Digitalisierung in der Übersicht

Sonntag, Februar 20th, 2022

Aller-Weser-Klinik gGmbH Krankenhaus Verden & Achim – sind einen ersten Schritt zur Beseitigung ihrer Liquiditätsprobleme gegangen sie haben sich mit den Krankenkassen verständigt

Samstag, Februar 19th, 2022

Microsoft Excel – Tabellen zusammenführen und aktualisieren

Samstag, Februar 19th, 2022

Bayerischer Ministerpräsident Dr. Markus Söder – Welcome to Bavaria Vice President Kamala Harris

Samstag, Februar 19th, 2022

pfSense 2.6 – differences between pfsense CE and pfsence plus

Samstag, Februar 19th, 2022

Flensburg Sozialeinrichtung Die Mürwiker GmbH Geschäftsführer Thomas Stengel – auch die Backups und Sicherungskopien sind unbrauchbar nach einem Hacker Angriff

Samstag, Februar 19th, 2022

USA Main Northeast Harbor – online webcam

Samstag, Februar 19th, 2022

Projekt GAIA-X Federation Services (GXFS) – shaping the future data infrastructure together secure open and transparent

Samstag, Februar 19th, 2022

SanDisk Extreme Pro 1TB microSDXC Memory Card – zum Sparpreis aktuell

Samstag, Februar 19th, 2022

Samstag, Februar 19th, 2022

IT-Branche Recherche Hintergründe und Insights

Samstag, Februar 19th, 2022

Samstag, Februar 19th, 2022

Tesla ‘phantom braking’ issue – is focus of federal safety probe after owners bombard government website with complaints

Samstag, Februar 19th, 2022