docs: update
This commit is contained in:
parent
82a4fb1bad
commit
6a972b9ca2
|
@ -6,3 +6,6 @@ A simple password manager using GPG.
|
|||
|
||||
- [x] Add support for not generating passwords.
|
||||
- [ ] Add support for categories.
|
||||
- [ ] Man page.
|
||||
- [ ] Setup automatic linting.
|
||||
- [ ] Documentation.
|
||||
|
|
4
pash
4
pash
|
@ -70,8 +70,8 @@ check_entropy() {
|
|||
# checks the system's entropy level and shows a warning if
|
||||
# its below its set maximum value.
|
||||
k_path=/proc/sys/kernel/random
|
||||
entropy=$(<"${k_path}/entropy_avail")
|
||||
needed=$(<"${k_path}/read_wakeup_threshold")
|
||||
entropy=$(< "${k_path}/entropy_avail")
|
||||
needed=$(< "${k_path}/read_wakeup_threshold")
|
||||
|
||||
[[ ${entropy:=0} -lt ${needed:=1} ]] && {
|
||||
printf '%s\n' "warn: Not enough entropy to generate a secure password."
|
||||
|
|
Loading…
Reference in New Issue