This generates a public/private keypair.
$ gpg --gen-key
$ gpg --list-secret-keys
{ | |
"$id": "https://example.com/arrays.schema.json", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"description": "A representation of a person, company, organization, or place", | |
"type": "object", | |
"properties": { | |
"fruits": { | |
"type": "array", | |
"items": { | |
"type": "string" |
package main | |
import ( | |
"fmt" | |
"net/url" | |
"github.com/pkg/errors" | |
) | |
func main() { |
#!/usr/bin/env bash | |
# message to en/decrypt | |
ORIGINAL_DATA="hello-world" | |
KEY_ALIAS="alias/example" | |
# AWS CLI bits | |
PROFILE_ENCRYPT=saml | |
PROFILE_DECRYPT=ASIAZF3IWVKQWIYJWJW7 | |
REGION=us-east-1 |
# running this will consume 10GB of data in the target path | |
# use SIGINT to stop (Ctrl + C) | |
function Run { | |
Param( | |
[ValidateNotNullOrEmpty()] | |
[string]$Target | |
) |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |