Skip to content

Commit

Permalink
Rework askpassd to intelligently handle retries
Browse files Browse the repository at this point in the history
Now askpassd will exit only when there are no outstanding questions
that we can answer. While this is not the case, askpassd will engage
continued attempts to decrypt the key. The time between attempts is
randomized to prevent a DOS when a datacenter comes back online.
  • Loading branch information
npmccallum committed Jun 4, 2015
1 parent 72bf9e1 commit e83fb0d
Show file tree
Hide file tree
Showing 9 changed files with 357 additions and 394 deletions.
5 changes: 3 additions & 2 deletions src/plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ decryptd_la_SOURCES = \
decryptd/main.c

askpassd_la_SOURCES = \
askpassd/question.c \
askpassd/question.h \
askpassd/askp.c \
askpassd/askp.h \
askpassd/iface.c \
askpassd/iface.h \
askpassd/list.c \
askpassd/list.h \
askpassd/main.c \
askpassd/main.h
askpassd/main.c

install-data-hook:
$(MKDIR_P) $(DESTDIR)/$(DEO_CONF)/decrypt.d
Expand Down
Loading

0 comments on commit e83fb0d

Please sign in to comment.