@ref: Become a Git Guru and Simple Git
https://security.stackexchange.com/questions/29106/openssl-recover-key-and-iv-by-passphrase
Following code steal from [Simple python functions that provide openssl -aes-256-cbc compatible encrypt/decrypt] (http://joelinoff.com/blog/?p=885)
# ================================================================
# get_key_and_iv| import sys | |
| import logging | |
| import logging.config | |
| import random | |
| import string | |
| # "thank you" to folks on StackOverflow.com for various ideas, | |
| # for this example. Works with Python3. |
In your command-line run the following commands:
brew doctorbrew update
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
Also see Casey Liss' new mac setup notes.
- Setup as a new Mac. Provided Apple ID details etc.
- Turned FileVault on as a part of the install process. Required for work as well.
- Configure Sys Prefs
- General - Dark Menu Bar and Dock
- Touchpad - Set scroll direction to normal (not natural)
- Desktop - Set background to Black Price 015.jpg
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
- Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
- Create or import a key -- see below for https://keybase.io
- Run
gpg --list-secret-keysand look forsec, use the key ID for the next step - Configure
gitto use GPG -- replace the key with the one fromgpg --list-secret-keys