Ich habe zum ersten Mal (und weil ich neugierig war ;-)) ein paar Zeilen Code zu einem Open-Source-Projekt beigesteuert. Gescheitert bin ich zunächst daran, dass ich meinen Commit auf github mit GPG signieren musste. Der Commit ist sozusagen mein Beitrag und mein persönlicher GPG-key soll sicherstellen, dass ich es war, der diesen geleistet hat.
Eine passende und für mich verständliche Anleitung habe ich hier gefunden:
Neben ‚git‘ selbst werden dafür die folgenden Pakete benötigt:
1 |
sudo apt-get install gpa seahorse |
Mit diesen Tools kann nun der GPG-Key generiert werden. Dafür müssen gleich nach dem ersten Kommando Name und E-Mail-Adresse angegeben werden, die dann im Zertifikat hinterlegt sein werden. Der Key, mit dem gearbeitet wird, muss im LONG-Format sein. Das zweite Kommando gibt diesen in der Zeile, die mit ’sec …‘ beginnt NACH dem Schrägstrich aus:
1 2 3 |
gpg --gen-key gpg --list-secret-keys --keyid-format LONG gpg --armor --export <PASTE_LONG_KEY_HERE> > gpg-key.txt |
Der Inhalt der Datei gpg-key.txt muss dann auf github (Settings -> SSH and GPG keys) hinterlegt werden. Nach einem Klick auf ‚New GPG key‘ wird der Inhalt der Datei einfach per Copy & Paste eingefügt.
Zu guter Letzt wird dem lokalen git-Kommando noch beigebogen, diesen Key zum Signieren zu verwenden:
1 2 |
git config --global user.signingkey <PASTE_LONG_KEY_HERE> git config --global commit.gpgsign true |
Ab jetzt wird jeder mit dem git-Kommando abgesetzte commit automatisch mit diesem GPG-Key signiert.
Diese Seite verwendet Akismet, um Spam zu reduzieren. Erfahre, wie deine Kommentardaten verarbeitet werden..
Cookie | Dauer | Beschreibung |
---|---|---|
cookielawinfo-checkbox-advertisement | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category . |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
CookieLawInfoConsent | 1 year | Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie. |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Cookie | Dauer | Beschreibung |
---|---|---|
icwp-wpsf-notbot | 5 minutes | For all visitors and users, Shield Security uses a temporary cookie (~600 seconds) to track registration of a visitors for the purposes of identifying bots on a site. |
shield-notbot-nonce | past | For all visitors and users, a temporary cookies is used to provide a nonce value for the NotBot system. This cookie is used to overcome limitations imposed by WP page caching plugins that don’t allow the updating of on-page nonce values. We send the nonce value via a cookie to ensure the client has access to the latest, valid nonce. |
Cookie | Dauer | Beschreibung |
---|---|---|
_pk_id.3.b861 | 1 year 27 days | Set by Matomo. Used to store a few details about the user such as the unique visitor ID |
_pk_ses.3.b861 | 30 minutes | Set by Matomo. Short lived cookie used to temporarily store data for the visit. |
CONSENT | 2 years | YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data. |
Cookie | Dauer | Beschreibung |
---|---|---|
yt-remote-connected-devices | never | YouTube sets this cookie to store the video preferences of the user using embedded YouTube video. |
yt-remote-device-id | never | YouTube sets this cookie to store the video preferences of the user using embedded YouTube video. |
Keine Antworten