For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| #!/usr/bin/env bash | |
| # set -x | |
| Git_status=$(curl --silent -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/umlaeute/v4l2loopback/tags" ) | |
| TAR_dl=$( echo "${Git_status}" | jq -r ".[].tarball_url" | head -n1) | |
| TAR_v=$( echo "${Git_status}" | jq -r ".[].name" | head -n1) | |
| build_dir="${build_dir:-/usr/src/v4l2loopback-"${TAR_v}"}" | |
| tmp_dir="${tmp_dir:-/tmp}" | |
| mokutil_out_dir="${mokutil_out_dir:-/root/.ssh/mokutil-module-signing}" |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;; Pre gopls/lsp-mode/go-mode setup | |
| ;;; This section installs use-package from melpa if it isn't | |
| ;;; already installed. You can skip this if you already have use-package | |
| ;; enable melpa if it isn't enabled | |
| (require 'package) | |
| (when (not (assoc "melpa" package-archives)) | |
| (setq package-archives (append '(("melpa" . "https://melpa.org/packages/")) package-archives))) | |
| (package-initialize) |