diff options
author | Ben Sima <ben@bsima.me> | 2020-12-09 20:40:27 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-12-09 20:42:06 -0500 |
commit | b114bb8c9a0dcb4730e62e91bcc495ba4dd099ca (patch) | |
tree | 233c55c952ee312b9cb23c466dc91c22df02aa62 | |
parent | 4e485b5e002de934655ceb1f184087209aaf838f (diff) |
add irc and sslcert
-rwxr-xr-x | irc | 5 | ||||
-rwxr-xr-x | sslcert | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,5 @@ +#!/usr/bin/env bash +irc=~/irc +channel=$(fd . -t d $irc | sed 's|'"$HOME/irc/"'||' | fzf) +read -p "$channel: " msg +echo "$msg" > $irc/$channel/in @@ -0,0 +1,3 @@ +openssl s_client -connect $1:443 < /dev/null 2>/dev/null \ + | openssl x509 -sha256 -in /dev/stdin + # | sed 's/.*=//' |