Commit graph

59 commits

Author SHA1 Message Date
Adrien Gallouët
4074c9b13b Import totp
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2022-11-16 15:52:24 +01:00
Adrien Gallouët
be7fdba32a Bump to 0.12
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2022-05-07 09:24:17 +02:00
Adrien Gallouët
72e3b4106b Remove useless warnings
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2021-01-09 16:19:28 +00:00
Adrien Gallouët
857715e146 Cleanup and remove uio deps
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2021-01-09 16:16:59 +00:00
Adrien Gallouët
d35e867ccc Bump to 0.11
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-10-30 14:56:51 +00:00
Adrien Gallouët
4c61bcb547 Update argz and add opslimit option
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-10-15 13:23:37 +00:00
Adrien Gallouët
281e88b5e9 Bump to 0.10
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-08 20:30:54 +00:00
Adrien Gallouët
8fd3ad3751 Check passphrase for deterministic secrets too
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-08 20:10:37 +00:00
Adrien Gallouët
2fb802b769 Be careful when talking to a secret agent
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-07 09:57:27 +00:00
Adrien Gallouët
4372928147 Bump to 0.9
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-03 17:52:49 +00:00
Adrien Gallouët
319f87af67 Add a simple alternative to |grep when listing
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-03 17:37:22 +00:00
Adrien Gallouët
6fe3c6b8c5 Cleanup
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-01 09:26:15 +00:00
Adrien Gallouët
c8842eb58d Lock /dev/tty
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-01 09:18:17 +00:00
Adrien Gallouët
505006583f Locking the whole file is useless
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-06-01 08:25:55 +00:00
Adrien Gallouët
ce473cdbbc Bump to 0.8
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-29 15:57:43 +00:00
Adrien Gallouët
7baf7e1a92 Check pass when starting agent
And use O_RDONLY when it's possible.

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-29 15:51:32 +00:00
Adrien Gallouët
9e35f4afc6 Small fixes
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-28 14:58:10 +00:00
Adrien Gallouët
01aee5797f Bump to 0.7
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 15:05:59 +00:00
Adrien Gallouët
25f8b939bb Fix modulo bias
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 15:03:53 +00:00
Adrien Gallouët
ed4222732d Bump to 0.6
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 14:18:35 +02:00
Adrien Gallouët
73c0b58b2f Refuse to init when agent is running
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 14:15:07 +02:00
Adrien Gallouët
e76d8c1edb Improve help
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 14:09:54 +02:00
Adrien Gallouët
fa0b713e77 Improve UX: confirm passphrase
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 13:07:31 +02:00
Adrien Gallouët
4fb03cacb9 Improve UX
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-27 12:44:16 +02:00
Frank Denis
7239f0c4d3 Make s static 2020-05-27 11:38:53 +02:00
Adrien Gallouët
8411a513ac Bump to 0.5
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-09 20:17:04 +00:00
Adrien Gallouët
2dfc2ab17a Be more friendly and ask for new passphrases
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-06 19:37:19 +00:00
Adrien Gallouët
d97f17d742 Bump to 0.4
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-05 08:40:20 +00:00
Adrien Gallouët
77a4d31f0f Rework args and and allow renaming
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-05-05 00:16:10 +00:00
Adrien Gallouët
79e0df2fa0 Refuse empty keys
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-30 08:18:37 +00:00
Adrien Gallouët
b256e45ceb Add some randomness in secrets
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-29 20:32:46 +00:00
Adrien Gallouët
a5e5c9b09e Support subkeys for pass
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-29 12:53:49 +00:00
Adrien Gallouët
fc5587c470 Bump to 0.2
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-29 12:04:35 +00:00
Adrien Gallouët
d771c320f3 Add command pass
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-29 11:34:43 +00:00
Adrien Gallouët
9c68796f3e Allowing spaces was not a good idea
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-29 08:08:52 +00:00
Adrien Gallouët
22bca3b102 Bump to 0.1
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 18:22:47 +00:00
Adrien Gallouët
617c3e2cd9 Code cleanup
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 18:20:17 +00:00
Adrien Gallouët
b83f26bb36 Allow binary secrets
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 17:10:17 +00:00
Adrien Gallouët
a5d3dd5b4f Skip LF when piping
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 12:41:35 +00:00
Adrien Gallouët
ddbe7cf3f3 Generate 25 characters secrets
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 12:02:09 +00:00
Adrien Gallouët
6e548dcbf8 Remove aliases
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 11:50:25 +00:00
Adrien Gallouët
404b9e36cd Move lseek() at a better place
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-28 07:31:26 +00:00
Adrien Gallouët
005d4ecd1e Update commands
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-27 21:07:51 +00:00
Adrien Gallouët
a1e93a8702 Show version
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-27 17:10:55 +00:00
Adrien Gallouët
25aab11566 Run $SHELL in agent by default
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-27 09:48:50 +00:00
Adrien Gallouët
5df3ec389a Erase pass after derivation
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-27 10:16:00 +02:00
Adrien Gallouët
e3502f9054 Fix list and make room for a futur header
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-26 20:56:22 +00:00
Adrien Gallouët
60ed1c3699 Use 512 bytes entries and warn for bad inputs
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-26 12:52:29 +00:00
Adrien Gallouët
a9d18d8993 Setup a minimal sane TTY when asking for passphrases
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-26 11:00:07 +00:00
Adrien Gallouët
961608c6d7 Support a different store with SECRET_STORE
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-26 08:38:53 +00:00