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
Zero length is a success from read_hook() and write_hook().
2009-04-08
Ben Kibb
e
y
Zero length is a success from
read_hook() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
F
i
xed
r
ead_hook
(
) an
d
write_hoo
k
() over an SSH chan
n
el
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kibbey
Comm
i
t
1b59
e
7d
c
ontaine
d
a typo that didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Ki
b
bey
F
i
xed pwmd_command_
a
p() corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibbey
F
ixed o
p
t
ion --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
The 'changelog' tar
g
e
t
n
o
w
o
nl
y
g
enerat
e
s changes
from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
M
i
nor do
c
um
e
ntation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documented S
S
H i
n
th
e
header
.
Also fixed
f
ormatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Fixed some c
o
mp
i
le-time cond
i
ti
o
nals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
A
dded
a
note about calling pwmd
_
get_fds() a
f
ter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ib
b
ey
Removed pwmd_get_f
d
() an
d
pwmd_get
_
a
s
ync2_f
d
()
.
T
hes
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
Fixed PWMD_OPTION_PINENTR
Y
_TIM
E
O
U
T when u
s
ed
wi
t
h pwmd_o
p
en2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Upd
a
t
ed the
p
w
m
c documenta
t
ion
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make s
u
re
a valid han
d
le and assuan contex
t
is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Re
t
urn ASY
N
C_DONE fr
o
m pwmd_process() whe
n
not i
n
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
D
e
term
i
ne the
p
wmd
server
vers
i
on in _socket
_
connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Docume
n
ted
p
inen
t
ry
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Ki
b
bey
Fi
x
ed local pinentr
y
strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Renamed pwmd_ge
t
_fd2() to
p
wmd_
g
et_async
2
_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Re
m
oved P
W
MD_OPTION_PINENTRY
.
No longer needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
D
on't do "GETCONFIG data_directory" on
a
n SSH con
n
ecti
o
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Added pwmd_open2() and pwmd_sa
v
e2() whic
h
w
ill use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
M
ore documenta
t
ion
s
up
d
ates
and
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
pwm
d
_g
e
t_h
o
s
tkey() now
requires a pwm_t
h
andl
e
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
W
I
TH_P
I
N
E
NTR
Y
conditiona
l
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
Loop ov
e
r do_
s
ave_getpin() when
G
PG_
E
RR
_
INV_PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibb
e
y
Fixed pwmd_sa
v
e() when PWMD
_
OPTION_PINENTRY is
s
et
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The ord
e
r of getting the password is
:
commit
|
commitdiff
|
tree
2009-04-01
Ben
K
ib
b
ey
Created
a
do
c
/
M
akefi
l
e
"doxygen" targe
t
to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
Set a default ti
m
eout of 30
s
ec
o
nds
for pwmd
_
open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibb
e
y
Renamed pwmd_pa
s
sword_fn to
pwmd_pas
s
phr
a
se_cb_t
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kib
b
ey
Up
d
at
e
d the
d
ocu
m
en
t
a
tion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Ad
d
e
d
P
W
MD_OPTION_IP_V
E
RSION
wh
i
ch sh
o
uld be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed
-
-
p
ort
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A
few
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
F
ixed zom
b
ie pinen
t
ry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed p
w
m
d_sa
v
e
_async2() when u
s
ed
with an SSH c
h
anne
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fi
x
ed
t
he
--get-ho
s
tkey
option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed some compile time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
A
f
ew compil
e
t
i
me cond
i
t
i
onal fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
W
hen doi
n
g a pwmd_open_
a
sync2(), check the passphra
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
bbey
Fixed checking for
an SSH error in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Trim a
n
y '\r\n' in th
e
command befor
e
send
i
ng it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbe
y
Fi
x
ed pinentry retries when used
w
it
h
pw
m
d
_
op
e
n
_
a
s
ync()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check
f
o
r
getop
t
.
h for sys
t
e
ms
that have g
e
topt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Use getop
t
_long()
.
Whe
n
not avail
a
bl
e
, bui
l
d the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Fixed
a
potent
i
al b
u
ffer
o
ve
r
f
lo
w
i
n
d
o_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
F
a
i
l if a
s
suan_get_active
_
f
ds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Rename
d
pwmd_t
c
p_co
n
nect()
and pwm
d
_tcp_co
n
n
e
ct_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibbey
Don't dup()
t
he assuan
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
Kibbey
Fix
for the previous co
m
mit which didn't
c
ons
i
der a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Fixed pwmd_open/save_asy
n
c
2
() when t
h
e file is ca
c
hed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en
K
i
bbey
Fi
x
e
d
using a specified passp
h
rase w
h
en
using pwmd_
o
pen
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
b
ey
Don't close
t
he TCP FD when
a
n
asyn
c
command comple
t
es
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
Fixed a pwmd
_
tcp_connect_async() segfaul
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
be
y
Added
pwmd_g
e
t_f
d
2() to retur
n
the FD used by pwmd
_
open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_termin
a
te_pinentry()
.
The
r
e
is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
bey
Removed pwmd_open_nb
(
)
,
pwmd_
s
ave_nb(), pwmd_open_nb_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
Reset the state after co
m
m
a
n
d c
o
mpletion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Fixed pw
m
d_get_
h
o
s
t
k
ey
_
async() to
r
eset
the
s
tate
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
Set the pwmd_proce
s
s()
result when fi
n
ish
e
d
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
pwmd_calloc() not pwmd_
m
allo
c
() in p
w
md
_
new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
Let
p
wmd
_
open_nb() use PWMD_OPTION_PINE
N
TRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pw
m
d_pending
_
l
i
ne(
)
.
The
d
ifference i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
Ki
b
b
e
y
AP
I
changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbe
y
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public
/
private
symbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Use
getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
If username is N
U
LL
w
h
e
n
passed
to
p
wmd_tcp_conn
e
ct
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
WITH_L
I
BPTH co
n
dit
i
onal
f
ix
e
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Added pwmd
_
strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed
p
wm
-
>result withou
t
TC
P
supp
o
rt
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
B
e
t
t
e
r pwmc argument checking wit
h
tcp op
t
i
o
ns
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y fo
r
pinentry retries even without DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
--di
s
able
-
tcp
co
m
pile time fixes and other m
i
nor
c
leanups
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
F
ixed a typo
i
n pwmc
.
c pre
v
enti
n
g
reading
S
TDIN
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n K
i
bbey
Let p
w
m
d
_
p
r
ocess()
work witho
u
t a running
c
om
m
and
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Make sur
e
the result of
a
pwmd_
c
ommand() is
not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
R
evert "Le
t
p
w
md_process() work whe
n
n
o
t insid
e
a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fix
e
d
a
segfault when after a remote
client termin
a
t
e
s
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbe
y
L
e
t
pwmd_pr
o
c
e
s
s() w
o
r
k when not in
s
ide a
command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kib
b
ey
Finalized
c
o
mmi
t
65d085f
.
Shou
l
d
be back to norm
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbe
y
Co
m
pile
-
time
f
i
x
for
FreeBSD when trying to li
n
k
with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
i
b
bey
C
o
mpile-time fix for --disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Up
d
at
e
d pwmc
.
c to u
s
e p
w
m
d
_setop
t
()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Add
e
d PW
M
D_OPTION_PINENTRY_TIMEOUT
.
O
nly use
f
ul when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
L
e
t pw
m
d_setopt() set pwmd options directly when PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Added p
w
mc command line options -C and
-M to s
e
t LC
_
CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
i
bbey
Added PW
M
D_OPTION_PINEN
T
RY_L
C
_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
B
e
n K
i
bbey
In
do_pwmd
_
sav
e
(),
c
h
eck for the user supp
l
ied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Res
e
t pwm
-
>
pid in
p
wmd_
t
erminate
_
pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kib
b
ey
Ma
k
e sure pwmd_
c
o
mman
d
_ap()
h
as a ha
n
dle and
c
om
m
and
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile t
i
me fix f
o
r -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Ki
b
bey
Don't try to xfree the passwo
r
d r
e
turned by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Updated
t
h
e
copyright he
a
der
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Added warn_unused_result
a
ttribute
to pw
m
d_command_ap
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
e
y
Fi
x
e
d
mem
.
c to
u
se
a
m
u
t
e
x
w
hen acc
e
ssin
g
the me
m
ory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbe
y
Add
e
d pwmd_
c
ommand
_
ap()
.
This m
a
kes
pwmd_com
m
an
d
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
I mess
e
d
u
p t
h
e
d
i
rect
o
ry tree making i
t
ha
r
d to p
u
l
l
.
.
.
commit
|
commitdiff
|
tree
next