Super simple installation, none of that manual gpg-agent starting and setting sockets anymore.
Just install with Homebrew:
brew install gpg pinentry-macand add this to ~/.gnupg/gpg-agent.conf:
| did:3:bafyreigzkidaif5xqbvl2l5mxzsy53scja2oiyw4a5c6rengi4fxrnkdzm |
| This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
| ✅ did:3:bafyreihz4ydxfeys45tvtxxnjcl3miwqfy767nprq3mn2gj4okupka64bi ✅ | |
| Create your profile today to start building social connection and trust online at https://3Box.io/ |
| #!/usr/bin/env bash | |
| # | |
| # required environment variables: | |
| # AWS_ACCESS_KEY_ID | |
| # AWS_SECRET_ACCESS_KEY | |
| # AWS_DEFAULT_REGION | |
| AWS_S3_BUCKET="bucket-name" | |
| function s3sync { |
| cat ~/.ssh/id_rsa.pub | ssh user@hostname -i ~/.ssh/key.key 'cat >> .ssh/authorized_keys' |
| # | |
| # Hardened OpenVPN server on Ubuntu 16.04 | |
| # repeatable config generation script at end | |
| # | |
| # TOC | |
| # ---- | |
| # 1. SERVER | |
| # 2. NETWORKING | |
| # 3. CLIENTS | |
| # 3.1. REPEAT FOR EACH CLIENT |
| const crypto = require('crypto') | |
| const fetch = require('node-fetch') | |
| const key = process.env.COINSBANK_API_KEY | |
| const secret = process.env.COINSBANK_API_SECRET | |
| const type = 'GET' | |
| const method = 'wallet' | |
| // Create signature | |
| const hmac = crypto.createHmac('sha512', secret) |
| # Generate key pair and revocation certificate. | |
| gpg --gen-key | |
| gpg --output revoke.asc --gen-revoke <key-id> | |
| # Export ASCII copy of the public key | |
| gpg --export --armor <key-id> > pubkey.asc | |
| # Publish the public key | |
| gpg --send-keys <key-id> |
Super simple installation, none of that manual gpg-agent starting and setting sockets anymore.
Just install with Homebrew:
brew install gpg pinentry-macand add this to ~/.gnupg/gpg-agent.conf:
| // Tactic: highjack form submission, then make value of username field the same as email field, then submit the form | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // First, hide the whole username form row | |
| var style = document.createElement('style'), | |
| css = '#signup_form fieldset:nth-of-type(2) .form-group:nth-child(2) { display: none; }'; | |
| style.type = 'text/css'; | |
| if (style.styleSheet){ |