Commit Graph

20 Commits

Author SHA1 Message Date
560732f908 sekrit: replace gpg2 with gpg 2022-09-05 01:16:23 +00:00
35002770b8 backout fc3171ae5e
timeout(1) isn't interruptible, and it fires while you're entering your
key's passphrase, giving a subpar UX.
2022-08-06 01:01:19 +00:00
fc3171ae5e sekrit: use timeout in cp if present 2022-07-30 14:45:04 +00:00
7dbf7e8711 sekrit: replace OPTIND -> $OPTIND inside $(( )) 2022-07-30 14:34:17 +00:00
7277f2057e sekrit: don't make output file read-only
This makes it easier to overwrite the output with `rm -P` or `shred`.
2022-06-17 15:55:36 +00:00
e71a6eb321 sekrit: add rm command
While at it, fix a typo.
2020-12-03 00:18:11 +00:00
19631627d6 sekrit: remove -f flag for sekrit_add
Not only it parsed the wrong character 2 commits ago, it's also
completely broken: file can't be overwritten, because of `chmod 400`.
2020-12-02 03:53:57 +00:00
f500903cba sekrit: small refactor 2020-12-02 03:44:32 +00:00
c2af544099 sekrit: parse the right flag in sekrit_add 2020-12-02 03:40:04 +00:00
cb0696a400 sekrit: check if key exists with cp 2020-10-03 17:29:53 +00:00
a7c8d5e369 sekrit: don't define a default SEKRIT_GPG_ID
And abort operation if no SEKRIT_GPG_ID is provided.
2020-08-26 02:42:12 +00:00
0f6b0e5133 Shell cosmetic changes 2020-08-23 14:48:24 +00:00
ec3f639580 sekrit: add force flag to add subcommand 2020-06-15 02:43:34 +00:00
4657adf4b1 sekrit: bake in clipboard support with cp subcommand 2020-05-25 16:04:37 +00:00
6cdd3337fd sekrit: fix arguments check 2020-05-03 14:48:05 +00:00
d5e71c46f7 Align shell style all over the repo 2020-05-03 14:47:27 +00:00
c0f051acd7 sekrit: code nits 2019-12-27 22:56:03 +00:00
5d9c0c0830 sekrit: make check_key more strict 2019-12-27 22:52:59 +00:00
2934979ce4 sekrit style fixes 2019-12-05 10:58:43 +00:00
63edc5f58d Add sekrit 2019-12-04 10:58:10 +00:00