chiark
/
gitweb
/
~mdw
/
distorted-keys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
keyfunc.sh.in, ktype.*: Make nub creation the job of `c_genkey'.
[distorted-keys]
/
keyfunc.sh.in
diff --git
a/keyfunc.sh.in
b/keyfunc.sh.in
index f257bb93bc65545ae40e1800f6b8954dbfc1151c..c8a60738c5970c92cbd61a605eb8bf1521550f2f 100644
(file)
--- a/
keyfunc.sh.in
+++ b/
keyfunc.sh.in
@@
-437,7
+437,7
@@
$profile
EOF
## Generate the key.
- umask=$(umask); umask 077; >"$knub.new"; umask $umask
+ (umask 077; makenub >"$knub.new")
k_generate "$kdir.new" "$knub.new"
$hook "$kdir.new" "$knub.new"