Re: [patch] Use readpassphrase in ikectl

2017-06-12 Thread Matthew Martin
On Thu, Jun 08, 2017 at 10:33:07PM +1000, Jonathan Gray wrote: > On Fri, May 19, 2017 at 12:35:44AM -0500, Matthew Martin wrote: > > While making the last patch, I noticed ikectl uses getpass. Use > > readpassphrase instead and explicit_bzero the buffers. > > > > - Matthew Martin > > What is the

Re: [patch] Use readpassphrase in ikectl

2017-06-08 Thread Jonathan Gray
On Fri, May 19, 2017 at 12:35:44AM -0500, Matthew Martin wrote: > While making the last patch, I noticed ikectl uses getpass. Use > readpassphrase instead and explicit_bzero the buffers. > > - Matthew Martin What is the goal here? It can't be to use a different buffer size as the same size as ge

[patch] Use readpassphrase in ikectl

2017-05-18 Thread Matthew Martin
While making the last patch, I noticed ikectl uses getpass. Use readpassphrase instead and explicit_bzero the buffers. - Matthew Martin diff --git ikeca.c ikeca.c index 69ca076407b..2ec010a5831 100644 --- ikeca.c +++ ikeca.c @@ -22,6 +22,7 @@ #include #include #include +#include #includ