An API for libsodium pubkey crypto operations in the Beaker/Dat ecosystem. Includes mechanisms to:
- Sign
- Verify signatures
- Encrypt blobs
- Decrypt blobs
- Validate pubkey ownership
function git-branch-current() { | |
printf "%s\n" $(git branch 2> /dev/null | grep -e ^* | tr -d "\* ") | |
} | |
function git-branch-cleanup() { | |
local currentBranch=$(git-branch-current) | |
local otherBranch= | |
for otherBranch in $(git branch | grep -v $currentBranch) ; do | |
printf "Branch %s:\n" "$otherBranch" | |
printf " HEAD commit is: %s\n" "$(git log --oneline -n 1 $otherBranch)" |