repo.or.cz
/
libpwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Another stdarg bugfix. This time in pwmd_strdup_printf().
2009-04-08
Ben Kibbey
An
o
ther stdarg
b
ugfix
.
T
his
time in pwmd_strdup
_
prin
t
f()
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Return GPG_ERR_BAD
_
CER
T
if the hos
t
key cannot be ver
i
fied
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Require a C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbe
y
c
o
n
f
i
gure
.
ac
:
AC_USE_S
Y
STE
M
_EXTEN
S
IONS, requ
i
re autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Fixed PWMD
_
OPTIO
N
_PAS
S
PHRASE a
n
d PW
M
D_OPTION_PASSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Fixed pwmd_
g
et_fds() w
h
en doing a
n
ASY
N
C_
C
MD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Set
t
he file descripto
r
to no
n
-blocking in pwmd
w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Link with -lr
t
on Linux x8
6
_64
b
o
x
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
A
d
d
e
d
GPG_ERROR_CFLAG
S
to the pwmc Makef
i
le dependencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero
l
ength
i
s a success from re
a
d
_
hook() and write_
h
ook
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
Fixed rea
d
_hook
(
) and wri
t
e_
h
ook() ove
r
an
S
SH chan
n
e
l
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
Commit 1b59e7d
contained a typo that didn'
t
really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pwmd_comm
a
nd_ap() corrupting the argumen
t
lis
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibbey
Fix
e
d option --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
The 'changelog' target now
o
n
ly generates chan
g
es from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor docu
m
entation
c
leanup
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
D
ocumented SSH in the
header
.
Also fixed fo
r
matting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixe
d
some
compile-time c
o
nditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a note about ca
l
ling pwmd_get_
f
ds() afte
r
each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pw
m
d_get_
f
d() and
p
wmd_
g
et
_
a
syn
c
2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibbey
Fixed
PWMD_OPTIO
N
_PINE
N
TRY_TIMEOU
T
when used with pwmd
_
open2()
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n
Ki
b
b
e
y
U
p
dated the
p
wmc d
o
cumentati
o
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
M
ake sure a valid handle and assuan
c
ont
e
xt is
a
v
ailabl
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return A
S
YNC_DO
N
E
f
rom pwmd_proces
s
(
)
when n
o
t
in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Dete
r
m
ine the pwmd se
r
ver version in
_
sock
e
t
_
c
o
nnect_fin
a
liz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Doc
u
mented pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
F
i
x
ed local pine
n
try
s
trin
g
s
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Renamed pwmd_get_fd2() to pwmd_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Removed PWMD_OPTION_
P
INENTRY
.
N
o
longer nee
d
e
d since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en
Kibbey
Don't do "G
E
TCONFI
G
data_dire
c
tory"
o
n
an SSH
c
o
nne
c
tion
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Added pwmd_open2
(
)
a
nd pwmd_save2() which wil
l
use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
More
d
ocume
n
tati
o
ns updates an
d
f
i
xes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Ki
b
b
e
y
pwmd_get_hostk
e
y() now requires a
p
wm_
t
handl
e
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PIN
E
NTRY con
d
itional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Loop over do_save_getpin() whe
n
GPG_ERR_INV_
P
A
S
SP
H
R
A
SE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
K
i
b
b
e
y
F
i
x
e
d
p
wmd_
s
ave() when
P
W
MD
_
OPTION_PINE
N
TRY i
s
set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bb
e
y
The
orde
r
of
getting the password
is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Ki
b
b
ey
Cr
e
ated a d
o
c/Makefi
l
e "doxyge
n
"
t
arget to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibb
e
y
Set
a d
e
fault timeo
u
t of
30 seconds for pwmd
_
open
_
async
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
Kibbey
R
enamed
pwmd_pa
s
swo
r
d_fn to pwmd_passphrase_c
b
_
t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibb
e
y
Up
d
a
t
ed the docu
m
entation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
A
dded PWMD
_
OPTION_
I
P_VERSION which should
b
e set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
ed --port
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n K
i
b
bey
A
few mi
n
or cl
e
anup
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie pinent
r
y processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed
pwmd_save_async2() when used with an
SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d the --get-hostkey o
p
ti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Fixed some compile time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A few
compile time c
o
nditio
n
al fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
When doing a p
w
md_open_as
y
nc2()
,
ch
e
ck the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
i
x
e
d
che
c
k
i
ng fo
r
an
S
SH error
in
wri
t
e_ho
o
k() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim any '\r\n' in the co
m
m
a
nd befor
e
sending it
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinent
r
y retries w
h
en u
s
ed with p
w
md
_
o
pen_asy
n
c()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
bey
C
h
e
c
k
f
or getopt
.
h fo
r
syst
e
ms
th
a
t h
a
v
e getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Use getopt_long()
.
When not available, b
u
il
d
the include
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibbey
Fixed a
p
oten
t
ial buffer over
f
low in do_nb_comm
a
nd()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Fail if a
s
suan_ge
t
_active_fds(
)
does
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
ibbey
Renamed pwmd_tcp_
c
onnect() and pwmd_
t
cp_connect_
a
s
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Don'
t
d
u
p
(
)
th
e
assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for
the previous c
o
mmit
w
h
ic
h
d
i
d
n
'
t consider
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Fixed pwmd_o
p
en
/
save_
a
sync
2
() wh
e
n the file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
F
ixed using a
specified pa
s
sphrase
w
hen u
s
ing pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don
'
t
c
lose the TCP FD when a
n
a
s
ync command
complet
e
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
F
ixed a pwm
d
_tcp_connect
_
async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Ad
d
ed pwmd
_
ge
t
_fd2() to re
t
urn the
F
D
u
s
ed by pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Re
m
oved pw
m
d_terminate_pin
e
ntry()
.
There is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
R
e
moved pwmd
_
o
p
e
n
_nb(), pwmd_sa
v
e
_nb(), pwm
d
_o
p
en_nb_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibb
e
y
Reset the s
t
ate a
f
ter comm
a
nd
complet
i
on
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Fix
e
d p
w
m
d
_get_hos
t
key_async() to r
e
s
e
t the state
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
Kibbey
Set the pwm
d
_process
(
) result when f
i
nished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
B
en
Kibbey
pwm
d
_calloc(
)
not pwmd_ma
l
loc() in pwmd
_
new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd_open_nb() use
PWMD
_
OPTIO
N
_PI
N
ENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pwmd
_
pe
n
ding_line
(
)
.
The dif
f
erenc
e
is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
Kibbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kib
b
ey
#in
c
lude <stdar
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Pub
l
i
c/priv
a
t
e
symbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
U
s
e tt
y
name_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibb
e
y
Use
getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If
user
n
a
me is NULL wh
e
n
pass
e
d t
o
pw
m
d
_
tcp_conn
e
ct
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Ki
b
be
y
WITH_
L
IBP
T
H co
n
ditional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Add
e
d pwmd_s
t
rerro
r
_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm
-
>result
w
it
h
out
T
C
P
supp
o
rt
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Better
pwmc argument che
c
king with tcp op
t
ions
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Allow -y for pinentry retr
i
es even without DEB
U
G
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
--disable-tc
p
c
ompile t
i
me
f
ixes and ot
h
er min
o
r clean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a
t
y
po
in pw
m
c
.
c prevent
i
ng re
a
ding STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd_pro
c
ess()
work
w
ithout a running comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
M
ake sure
the res
u
lt of a pwmd_comma
n
d
(
) i
s
no
t
N
ULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Revert "Let pw
m
d_process() w
o
rk when not ins
i
d
e
a comma
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
F
ixed a segf
a
ult when
a
fter a remote client
terminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_proce
s
s
(
)
w
o
rk wh
e
n not i
n
side a comm
a
nd
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fi
n
alize
d
commit
6
5d085f
.
Should be back to n
o
rmal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
b
bey
Compile-time
f
ix for FreeBSD when trying t
o
l
i
nk with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Comp
i
le
-
time fix for --d
i
sable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated pwmc
.
c to use pw
m
d_seto
p
t()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
A
dded P
W
MD_OPTI
O
N_PINENT
R
Y_TI
M
EOUT
.
O
nly usef
u
l when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Let pwmd_setopt() set pwmd
options directly
when PWMD_OPT
I
ON
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en
Kibbey
Added pwmc command line
opti
o
ns -C and
-
M to set LC_C
T
YPE a
n
d
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Ad
d
ed PWMD_OPTION_PINENTRY_
L
C_CTYPE
a
n
d
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
In do_pwmd_save(
)
, check for
the user s
u
pplie
d
password
.
.
.
commit
|
commitdiff
|
tree
next