Skip to content

Commit

Permalink
Clear password before unlocking secret
Browse files Browse the repository at this point in the history
  • Loading branch information
drduh committed Feb 2, 2020
1 parent 388f765 commit a7df226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2019 drduh
Copyright (c) 2015-2020 drduh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions pwd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ gen_pass () {
write_pass () {
# Write a password and update index file.

password=""
while [[ -z "${password}" ]] ; do get_pass "
Password to unlock ${safeix}: " ; done
printf "\n"
Expand Down

0 comments on commit a7df226

Please sign in to comment.