blob: 8f2debdcf087dad2aa45fd22f3fe64043f5ea312 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env bash
#
# Decrypt secret header to clipboard, sleep and cleanup.
#
# Load functions
LIB="`dirname $0`/../functions"
source "$LIB" || exit 1
# Clip password
shift
keyringer $KEYRING xclip $*
# Sleep
sleep 5
# Overwrite clipboard
cat $RANDOM | sha256sum | base64 -d | xclip
|