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
Fixed pwmd_connect_url() with a NULL url parameter.
2009-04-11
Ben Kibbey
Fixed
p
w
m
d_connect_
u
rl() w
i
th
a
NULL ur
l
p
arameter
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n K
i
bbey
I
f
pwmd_connect_url()
do
e
s
n't ma
t
ch s
s
h:// or socket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
A
d
ded pwmd
_
socket_type(
)
which sets a
para
m
e
ter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
pwmc: Let --url
b
e a non-DEBUG
opti
o
n
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
pwmc: Set ST
D
IN_FILENO to
n
on-blocking when w
a
iting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbe
y
R
e
set pwm->cm
d
from pwm
d
_ssh_connect()
.
Fixes pwmd
_
pr
o
c
ess()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
It is pro
b
a
bly
be
t
ter to set O_NONBLOCK
on
l
y
for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
Ca
l
l _pwmd_process()
i
n _inquire_cb()
so
sta
t
us
messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
Mo
r
e docume
n
tation clean
u
p
s
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed installing the wrong lintian overrides
fo
r
the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
I
nstead of sendi
n
g t
h
e NOP comman
d
to proce
s
s pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Ki
b
bey
--disable-
s
sh
fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
b
b
ey
Call libssh2_channel_c
l
o
s
e
(
)
before fr
e
ein
g
it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbe
y
More documenat
i
ons updates
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
Ki
b
b
e
y
Added
a
not
e
to
t
he docu
m
e
ntation about file
n
ames beginnin
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Show the clie
n
t name i
n
the pinentry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
All
function ar
g
uments
t
hat ta
k
e
a
f
il
e
n
a
me path n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Check
f
or an
empt
y
(but
n
ot
NULL) r
e
quired parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Fixed pwmd_pr
o
cess() when an O
P
EN command failed wit
h
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Free the tcp_conn in r
e
set_async
(
) w
h
en
'done'
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
Kibbey
Free t
h
e tcp_conn in setup_tcp_sessi
o
n
(
)
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
S
end "OPTION PINEN
T
RY=0" after establishing a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Revert "Added s
u
pport for
a
passphra
s
e in the u
r
l stri
n
g
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibb
e
y
Added support fo
r
a passphras
e
in the url string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
Kibbey
Set PWMD_OPTION_IP_VERSION to PWMD
_
IP_ANY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n Kib
b
ey
Added pwmd_connect_url
(
) and pwmd
_
c
on
n
ect_
u
rl_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Ano
t
her stdarg bug
f
ix
.
This time in pw
m
d_strdup_pr
i
ntf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Return GPG_ERR_BAD_CERT if t
h
e host key cannot be v
e
rified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Require a
C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
configure
.
ac: AC_USE_
S
YSTEM_
E
XTENSIONS, r
e
quir
e
autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed PWMD_OPT
I
ON_PASSPHRASE
and
P
WMD_OPTION_PA
S
SPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Ki
b
bey
Fixed
p
wmd_get_fds() when doing an ASYNC_CM
D
_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n
K
ibbey
Set the fi
l
e desc
r
iptor
to non
-
blocking i
n
pwmd
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Ki
b
bey
Link with -lrt on Linux x86
_
64 box
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Added
G
PG_ERROR_C
F
LAG
S
to
t
he pwmc
M
akefile de
p
endencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero leng
t
h is
a
success
f
rom read_hook() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
b
e
y
Fix
e
d read_hook()
and
wr
i
t
e
_hook() over an
SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
Com
m
it 1b5
9
e
7d cont
a
ined a t
y
po that
d
idn't
r
eally
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
Fix
e
d pwmd_
c
omm
a
nd_ap() cor
r
u
pting the argu
m
ent list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
Fixed o
p
tion --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
The
'
changelog'
targ
e
t now on
l
y generates ch
a
nges
from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor docume
n
tation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Do
c
um
e
n
ted SSH in the header
.
Also fi
x
ed forma
t
ting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed some compile-tim
e
conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Added
a n
o
te ab
o
ut calling p
w
md_ge
t
_fds() aft
e
r
e
ach
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Remove
d
pwmd_get_fd() and p
w
md_
g
et_asyn
c
2_fd()
.
The
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Fixed PWMD_OPTI
O
N_PINENTR
Y
_
TIMEOUT when
u
sed with pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updated the pwmc documentat
i
on
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
M
ake su
r
e a valid handle a
n
d as
s
uan cont
e
xt is av
a
ilable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return A
S
Y
N
C
_
DONE from pwm
d
_
process() w
h
en
n
ot
i
n
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
D
eter
m
ine the pw
m
d
s
erver version in _socket_connec
t
_f
i
naliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Documented pinen
t
ry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fi
x
ed local pine
n
try stri
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Renamed pwmd_
g
e
t_f
d
2() to p
w
md_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Removed PWMD_OP
T
ION_PINE
N
TRY
.
No longer needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't
do
"GET
C
ONF
I
G data_
d
i
r
ecto
r
y" o
n
an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
A
d
d
e
d
pwm
d
_o
p
en2()
a
nd p
w
md_save2() which
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
M
o
re document
a
t
i
ons
u
pd
a
t
e
s
a
nd fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kib
b
e
y
p
wmd_get_ho
s
t
key() now requires a pwm_t ha
n
dle
.
T
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
WITH_PINENTRY con
d
i
t
ional
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
L
o
op over do_sav
e
_
g
etpin(
)
w
h
en GPG_ERR_INV
_
PASSPHR
A
SE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fi
x
ed
p
wmd_save() when
P
W
MD_OPTIO
N
_PINENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order of getting th
e
passwo
r
d
i
s
:
commit
|
commitdiff
|
tree
2009-04-01
Be
n
Kibbey
Cr
e
ated a doc/
M
akefile
"doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
i
bbey
S
et a default t
i
meout of
30 seco
n
ds for pw
m
d_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bbey
Renamed pwmd_password_fn to pwmd_
p
assphrase_cb_t
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Update
d
the documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Added P
W
MD_OPTION_
I
P
_VERSION which
should
b
e set t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kib
b
ey
Fixed
--port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
A
f
ew
m
ino
r
clea
n
up
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie pinentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
ey
Fixed pwmd_save_async2()
w
h
en us
e
d w
i
th an
SSH c
h
a
n
nel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fi
x
e
d
t
h
e --g
e
t
-ho
s
tkey optio
n
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fixed
s
o
m
e
compil
e
time w
a
rnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
b
bey
A few compil
e
tim
e
conditional fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Whe
n
doin
g
a pwmd_open_async2(), check the
p
assp
h
ras
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Fi
x
ed checking fo
r
an SSH err
o
r in
w
r
i
te_h
o
ok
(
) and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n K
i
bbey
Tri
m
any '\r\n' in the command b
e
for
e
sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
K
i
b
bey
Fixed pinent
r
y retrie
s
w
h
en use
d
with pwm
d
_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
C
h
eck for getopt
.
h for syste
m
s that
have getop
t
_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use getopt_long()
.
When not ava
i
lable, build the in
c
lu
d
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Fixed a potentia
l
buffe
r
over
f
l
o
w in do_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fai
l
if assuan_get_act
i
ve_fds() doe
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Rena
m
ed pwmd
_
tcp_co
n
nect()
and pwmd_tcp_connect_asy
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Do
n
'
t du
p
() the assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
x
for the previous commit wh
i
ch didn't consider
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix
e
d pwmd_open/save_a
s
ync2() when th
e
file is
c
ach
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed usi
n
g a specified passphras
e
when usin
g
pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Don'
t
clo
s
e
the TCP FD when an async command completes
.
commit
|
commitdiff
|
tree
2009-03-26
B
en
Ki
b
bey
F
i
xed a pwm
d
_tcp_connect_a
s
yn
c
() segfau
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbe
y
A
dded pwm
d
_get_fd
2
()
t
o return the
F
D u
s
ed by pw
m
d_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_term
i
n
ate_pinentry(
)
.
There is no ne
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Remo
v
ed pwmd
_
open_nb(),
p
w
m
d_save_n
b
(), pw
m
d_open_n
b
_
f
ina
l
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Res
e
t the state after comm
a
nd
compl
e
tion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
e
y
Fi
x
ed
p
wmd_get_hostkey_async() t
o
r
e
s
e
t the s
t
a
te
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
Set
t
h
e p
w
md_
p
r
ocess() result when fin
i
shed
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pwmd_calloc(
)
not pw
m
d_
m
alloc() in pwmd_n
e
w()
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibb
e
y
Let pwmd_open_nb(
)
us
e
PW
M
D_OPTION_PINENT
R
Y_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-
a
dd pwmd_pending_lin
e
()
.
The d
i
f
f
erence
is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en
Kibbey
API cha
n
ges:
commit
|
commitdiff
|
tree
next