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
Reset pwm->cmd from pwmd_ssh_connect(). Fixes pwmd_process().
2009-04-11
Ben Kib
b
ey
R
e
set pw
m
->cmd from pwm
d
_ssh_connect(
)
.
Fixes pwmd_
p
rocess()
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbe
y
It i
s
probably better to s
e
t O_
N
O
NBLOCK only fo
r
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Ki
b
bey
Call _pwmd_p
r
o
cess()
i
n
_inquire
_
cb
(
) so s
t
atus messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
More documentation cle
a
nups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed installi
n
g the wrong lint
i
an overrid
e
s for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
I
nstead
of
sending
the NOP
c
omman
d
to proces
s
p
e
n
d
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
--d
i
sable-ss
h
fixes
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
Cal
l
libssh2_cha
n
nel_cl
o
s
e
() bef
o
re freeing
i
t
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More documena
t
ions update
s
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Add
e
d a note to the do
c
umentation about filen
a
mes beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
S
h
ow
the client name i
n
the pinentry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Kibbey
All function arg
u
ments that take
a
filename path
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbe
y
Check for an empty (b
u
t
not NULL)
required para
m
eter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fixed pwmd_process() when an OPEN command fai
l
e
d with
commit
|
commitdiff
|
tree
2009-04-10
B
en Ki
b
bey
F
r
ee the tcp_
c
onn in res
e
t
_
async() when 'done
'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the
t
cp_co
n
n in
s
etup_tcp_se
s
sion()
.
F
i
x
e
s freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Send
"
OPTI
O
N
PIN
E
NT
R
Y=0" after establishing a re
m
ot
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Revert "A
d
d
ed support for a passphr
a
s
e in t
h
e url str
i
ng
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
b
b
ey
A
dded
support
f
or a
p
assphrase in
t
he url string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
K
ib
b
ey
Set
PWMD_OPTION_IP_VERS
I
ON to P
W
M
D
_IP_ANY
w
hen
s
sh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibb
e
y
Added pwmd
_
connect_url() and
pw
m
d_
c
o
n
nect_url_a
s
ync
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
A
nother stdarg bugfix
.
T
h
is time in
pwmd_strdup_printf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Return GPG
_
E
R
R
_
BAD_CERT
i
f t
h
e host key ca
n
not be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Requir
e
a C
9
9 compi
l
er
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
conf
i
gur
e
.
ac: AC_
U
SE_SYSTEM_EX
T
E
N
SIONS, req
u
ire autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
b
e
y
F
i
xed
PWMD
_
OPTION_PASSPHRASE and PWMD_OPTION_PASSP
H
RASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Fixed
pwmd_get_fds() when doing an
A
SYNC_CMD
_
OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Set the file descr
i
ptor to non-blocking in pwmd
when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
L
i
nk with -lrt on Li
n
u
x
x
8
6
_64
b
o
xes
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n
K
i
bbey
A
d
ded GPG_ERROR_CFLAGS to th
e
pwmc
Mak
e
fi
l
e depe
n
den
c
ies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero length is a
s
uccess
f
r
om read_hook() an
d
w
r
ite_h
o
ok()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fi
x
ed read_hook
(
) and
w
ri
t
e
_
hook() over an
SSH
c
han
n
el
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
Kibbey
C
ommit 1b59e7d
c
ontai
n
ed a typo th
a
t didn't
r
ea
l
ly
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pwmd_
c
omma
n
d_ap() corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
F
ixed option --na
m
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
The
'c
h
angelog' tar
g
et now only generates c
h
anges fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
M
i
nor documentati
o
n cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
D
oc
u
mented SSH i
n
the header
.
Also fixed form
a
tting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
Fixed some
compile-time conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Added a note about
ca
l
ling pwmd_
g
et_fds() after eac
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Removed pwmd
_
get_fd() and pwmd_get_async2_f
d
()
.
The
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_OPTION_PINENTRY_TIMEOUT
w
hen used with
p
wmd_o
p
en2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updat
e
d th
e
pwmc documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kib
b
ey
Make su
r
e a
v
alid h
a
ndle a
n
d
a
ssuan context is a
v
ailable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Return ASYNC_
D
ON
E
fr
o
m pwmd_pr
o
c
e
ss() when
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
Determine the pwmd se
r
v
er ver
s
ion in
_socket_connec
t
_fi
n
aliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Documented pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Fixed local
pinentry s
t
ri
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
B
en
K
i
b
bey
Renamed pwmd_get_fd2(
)
to pwmd_get
_
asyn
c
2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Removed PWMD
_
OPT
I
ON_PI
N
ENTRY
.
No long
e
r needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Don't do "G
E
T
C
ONF
I
G
dat
a
_di
r
e
c
tory"
o
n
an SSH conne
c
t
i
on
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Added pwmd_open2() and pwmd_sav
e
2() which
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
More documentations updat
e
s and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_get_hostkey() now requires a pw
m
_t handle
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
WIT
H
_PINENT
R
Y condit
i
ona
l
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop
o
ver do
_
save_getpin() when G
P
G_ERR_INV_PASSPHRA
S
E
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fix
e
d pwmd_sav
e
()
when
P
WMD_OPTION_PINENT
R
Y
is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
T
he order
o
f
get
t
ing the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbe
y
Cr
e
ated a doc/M
a
kefile "doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set
a
default timeout of
30 seconds f
o
r pwmd_o
p
e
n
_
async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
Renamed pwmd_p
a
ssword_fn
t
o pw
m
d_passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbe
y
Upd
a
t
e
d the
do
c
umentation
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbe
y
Added
P
WMD_OPTION
_
IP_
V
ERSI
O
N which
shou
l
d be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
f
ew minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
ed z
o
mbie pinentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixe
d
pwmd_save_as
y
nc2()
w
hen used w
i
th an SSH ch
a
nnel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the --
g
e
t
-hostkey
o
pt
i
on
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed some compile time
warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few com
p
ile time conditi
o
nal
f
ixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
When doing a p
w
m
d
_o
p
en
_
asyn
c
2(), chec
k
the p
a
ssph
r
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed c
h
ecking for a
n
SSH er
r
or
i
n write_h
o
ok() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
T
r
im
any '
\
r\n' i
n
the
command bef
o
r
e
send
i
ng it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
Fixed pinentry retries when used
w
i
th pwmd_open_asyn
c
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kib
b
ey
Check f
o
r geto
p
t
.
h for systems that have ge
t
opt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
U
se getopt_l
o
ng()
.
W
h
en
n
ot ava
i
lable, build the inclu
d
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixed a pote
n
tial buf
f
e
r
overf
l
ow in
do_nb_comman
d
()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fai
l
i
f
assuan_get_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
B
en
K
ibbey
Re
n
a
med pwmd_tcp_conne
c
t
(
) an
d
pwmd_tcp_
c
on
n
e
c
t
_
async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Don't dup() the assuan ctx
F
D
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix f
o
r the
p
revious commit whi
c
h di
d
n't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Fi
x
ed pwmd_
o
pen/save_async2() when th
e
file i
s
ca
c
hed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed using
a specified passphrase w
h
e
n using pwmd
_
ope
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don
'
t close th
e
TCP FD when an asyn
c
command comple
t
es
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixed
a pwmd_tcp_con
n
ect_async() segfa
u
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Added
p
wmd_get_fd2() to return the FD use
d
by pw
m
d_op
e
n_asy
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Remov
e
d pwmd
_
terminate_pi
n
entry()
.
T
h
ere is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Removed
pwmd
_
op
e
n
_
n
b(), pwmd_save_
n
b(
)
, pwmd_open_nb_f
i
naliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kib
b
e
y
Re
s
et the state
after command completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
Fi
x
ed pw
m
d_get_hostkey_async()
t
o reset the sta
t
e
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbey
Set the pwmd_p
r
oces
s
() result when f
i
ni
s
h
e
d
.
Fixe
s
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pw
m
d_call
o
c() not pw
m
d_malloc() in
p
wmd_new(
)
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
L
e
t
pwmd_open_nb() use PWMD_
O
PTIO
N
_PINENTRY
_
TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pwmd_pend
i
ng_line()
.
The
difference
is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
A
P
I chang
e
s:
commit
|
commitdiff
|
tree
2009-03-24
Ben
Kibb
e
y
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Public
/
priv
a
t
e symb
o
l cl
e
anup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Use t
t
y
n
a
me_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Use getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
If usernam
e
is NU
L
L whe
n
pass
e
d to pwmd_tc
p
_connect
.
.
.
commit
|
commitdiff
|
tree
next