fix local mode being enabled when no keys in ~/.dnsvi/default #9
Labels
No labels
bug
doc
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IUS/dnsvi!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-local"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If no key files are found in
~/.dnsvi/default/, dnsvi forcibly enabled local mode, but this is undesirable when a key is specified via the-koption.Instead enable local mode only if no keys were found, and no key is specified.
@ -24,3 +24,2 @@local => undef,key => (grep { -f } glob "$ENV{HOME}/.dnsvi/default/*key")[0]// (undef, local => 1),key => (grep { -f } glob "$ENV{HOME}/.dnsvi/default/*key")[0] // undef,We should implement a way to specify the key location directly. E.g.:
.dnsvi/...if used w/o/in the key file name/@heiko wrote in #9 (comment):
The value passed to
-kis a normal, cwd-relative path. So I'm not sure what you mean? Thegrep { -f } ...construct tries to find a default key to use if no-kflag is used.You're right. Never we had an "implicit" key directory.
bekommen wir da bis donnerstag eine neue version hin? hab herrn lumme gesagt das wir möglicherweise bis donnerstag den fehler behoben haben könnten