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
Call _pwmd_process() in _inquire_cb() so status messages can be parsed
2009-04-11
Ben Kibbey
Call _pwm
d
_pr
o
cess() in _in
q
uire_cb() so st
a
tus messag
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
More documentation cle
a
nu
p
s
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
Fi
x
ed instal
l
ing the wrong
l
int
i
an overrides for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
e
y
Instead of send
i
ng th
e
N
O
P command
t
o process pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--disabl
e
-ss
h
fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
C
all libssh2_
c
hann
e
l
_close
(
) befor
e
freeing it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
More docu
m
enati
o
n
s
upd
a
tes
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Add
e
d
a
not
e
t
o the documentation a
b
out fil
e
n
ames beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
Show
t
h
e
client name in the pinentry dialo
g
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
All function
ar
g
uments that take a filename pa
t
h now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Check
f
or an
e
mp
t
y (
b
ut
n
ot NULL) requ
i
re
d
para
m
eter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fixe
d
pwmd_process
(
) when an OPEN command failed with
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kibbey
Free the tcp_c
o
nn in reset_async() when '
d
o
n
e'
.
commit
|
commitdiff
|
tree
2009-04-10
B
en
Kibbey
F
ree the tcp_conn in setup_t
c
p
_
sess
i
on()
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibb
e
y
Send "OPTION P
I
NEN
T
RY=0" after establishing a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kib
b
ey
Revert "Added suppor
t
for a pass
p
hrase in
the url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added sup
p
ort for
a passphrase in the url
s
t
ring
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Ki
b
bey
Set PWMD_OPTION_IP
_
V
ERSION
to P
W
MD_IP_ANY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Adde
d
pwmd_con
n
ect_u
r
l() and pwmd_connect_ur
l
_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Ki
b
b
e
y
Anot
h
er stdarg bug
f
i
x
.
Thi
s
time in pwmd_
s
trdup_prin
t
f()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Ret
u
rn GPG_ERR_BAD_CERT if the
h
ost key cannot
b
e
verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Require a C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
c
o
n
figure
.
ac: AC_USE_SYSTEM_E
X
TENSIONS, require autoco
n
f
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en K
i
bbey
Fixed P
W
MD_OPTIO
N
_PASSPH
R
ASE and PWMD
_
OPT
I
ON_PA
S
SPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n K
i
bbe
y
Fixed pwmd_get_fds() when doin
g
an
A
S
YNC_CM
D
_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Set
t
he file de
s
crip
t
or to non-b
l
ocki
n
g in p
w
m
d when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link with -lrt on Linux x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
Added
G
PG_ERROR_CFLAGS to
t
he pwmc Makefile
d
ependencies
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kib
b
ey
Zero length is a success from
r
ea
d
_hook(
)
and
write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
bbey
Fixed
r
ead_hook() and write_hook(
)
over an SSH c
h
annel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
bbey
C
ommit
1b
5
9e
7
d
c
ontained a
t
ypo that d
i
dn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Ki
b
bey
Fixed pwmd_command
_
ap() corrupt
i
ng
th
e
arg
u
ment list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed option --nam
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
The 'ch
a
nge
l
og' target now only gener
a
tes cha
n
ges from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Minor documen
t
ation cl
e
a
n
u
ps
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Do
c
ument
e
d SS
H
in t
h
e header
.
A
lso fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ib
b
ey
Fixed some compi
l
e-time condit
i
on
a
l
s
.
Aga
i
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Ad
d
ed a note a
b
o
u
t call
i
n
g
p
w
md_ge
t
_fd
s
() after
e
ach
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwmd_ge
t
_fd() a
n
d pwmd_get_async2_f
d
()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
Fixed
PWMD_OPTION_PINENTRY_TI
M
E
OU
T
when used with pwm
d
_op
e
n2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
U
p
dated
t
he pwmc docu
m
entati
o
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a va
l
id
h
a
ndle and assuan
contex
t
is
a
vail
a
ble
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
en K
i
bbey
Return ASYNC_DONE from pwmd_process() when not in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
D
ete
r
mine the pwmd serve
r
version
in _socket_connect
_
f
i
naliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Documented pi
n
entry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fixed local pinentry
s
trings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Rena
m
ed
pwmd
_
get_f
d
2() to pwmd_get_asy
n
c
2
_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
R
e
mo
v
e
d
P
WMD_
O
PTION_P
I
NENT
R
Y
.
N
o longer needed s
i
nce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Do
n
't
do "GE
T
CONFIG data_d
i
rectory" on an
S
SH con
n
ecti
o
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ib
b
ey
Add
e
d pw
m
d_open
2
(
) and pw
m
d_save2() whic
h
will us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
More documen
t
ation
s
updates and f
i
x
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbe
y
pwmd_get_hostkey()
n
ow requi
r
es a pwm_t
h
andle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
WI
T
H_PINENTRY condi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Lo
o
p over do
_
save_getpin() when G
P
G_ERR_INV_PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbe
y
Fixed p
w
md_save() when
P
WMD_OPTION_P
I
NENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
T
he order of getting the pass
w
ord is:
commit
|
commitdiff
|
tree
2009-04-01
B
e
n
Kibbey
Created
a
doc/Makefi
l
e "dox
y
gen" targe
t
t
o
generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a default
t
imeout of 30 seco
n
ds for
pwmd_open
_
async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbey
R
en
a
med p
w
md_password_fn to pwmd_passphr
a
s
e
_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbe
y
Updated t
h
e documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Added PWMD_O
P
TI
O
N_IP_VERSION which
s
hould be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kib
b
ey
Fixe
d
zom
b
i
e pi
n
entry p
r
oces
s
es
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed pwmd_sa
v
e_asy
n
c2() when used
wi
t
h an
S
S
H channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Ki
b
b
e
y
Fi
x
ed
t
he --get-host
k
ey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
b
bey
F
ixed some c
o
m
p
ile
t
ime warnin
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
A few
c
o
mpile time
c
onditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
When doing
a
p
w
m
d_open
_
async2(), check th
e
passphr
a
se
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed checki
n
g for
a
n
SS
H
error in write
_
h
o
ok() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Trim
any
'
\r\
n
'
in the command before sendin
g
it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fi
x
ed pinent
r
y re
t
ries
w
he
n
used with
p
wmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
C
hec
k
for ge
t
opt
.
h fo
r
s
y
stem
s
that h
a
ve get
o
pt_long
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kib
b
ey
Use getopt_long()
.
W
hen n
o
t ava
i
lable, build the incl
u
d
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bb
e
y
F
ixed a pot
e
ntial b
u
ffer o
v
erflow in do_nb_comman
d
()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbe
y
F
ail
i
f assuan_g
e
t
_activ
e
_
f
ds()
d
oes
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Ki
b
bey
Re
n
a
m
ed pwmd_
t
c
p_connect()
a
nd pwmd_tcp
_
c
o
nnect_a
s
ync
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't dup() the assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
e
y
Fix for the previous commit which didn't consi
d
er a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open/save_asyn
c
2() whe
n
the f
i
le is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibbey
F
ixed using a specif
i
ed passphrase when using pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
D
o
n
'
t
c
l
ose the TCP F
D
when an asyn
c
command
c
ompletes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixed a pwmd_tcp
_
co
n
nec
t
_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Added pwmd_get_fd
2
() to
re
t
urn t
h
e FD used by
p
wmd
_
open_asy
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n
Ki
b
bey
Remo
v
ed pwm
d
_terminate_
p
inentry(
)
.
T
h
e
r
e is no nee
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Re
m
o
ved pwmd_o
p
en
_
nb(), pwm
d
_
s
ave_nb(),
p
wmd_open_nb_fina
l
iz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
Reset
the state af
t
er command compl
e
tion
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
Fixed pwmd_get_ho
s
t
key_async()
to reset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pwmd_process() result when f
i
nished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
pwmd_c
a
lloc
(
) not pwmd_malloc() in pw
m
d_new()
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
Ki
b
bey
Let
pwmd_open_nb() use PWMD_OPTION_PINENTRY_TIME
O
U
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
R
e-add
p
wmd_pending_line()
.
T
h
e
difference i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
Kibbey
API change
s
:
commit
|
commitdiff
|
tree
2009-03-24
Ben Ki
b
bey
#
i
n
c
l
ud
e
<
stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/pri
v
ate symbol
c
leanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
U
se ttyname_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use getpwui
d
_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If username is NUL
L
when passed to pwmd_tcp_
c
o
nnec
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WITH_LIBPTH conditiona
l
fixes
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
Kibbey
Add
e
d pwmd_strerror
_
r()
.
commit
|
commitdiff
|
tree
next