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 Kibbe
y
Fi
x
ed
pwmd_connect_url() wi
t
h a N
U
LL url pa
r
ameter
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
If pwmd_conn
e
ct_
u
r
l() doesn't mat
c
h
s
sh
:
// or soc
k
e
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
Added pwmd_so
c
ket_t
y
pe(
)
which
set
s
a par
a
meter
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
pw
m
c: Let --url be
a
non-DEBUG opti
o
n
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
p
w
m
c
: Set S
T
D
I
N_F
I
LENO to non-blocking when wai
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Reset pw
m
->cmd from pwmd_ssh_connect()
.
Fixes
pwmd_pro
c
ess()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
It i
s
probably better to set O_NONBL
O
CK
o
n
l
y
for th
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ib
b
ey
C
a
ll _pwmd
_
process
(
) in _inqui
r
e_cb()
so status messa
g
es
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
M
ore docume
n
tat
i
on cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
F
i
xed in
s
t
a
lling th
e
w
rong l
i
ntian ov
e
rrides
fo
r
the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kib
b
ey
Instead o
f
sending the NOP comm
a
nd to proces
s
pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--disable-
s
sh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
Ca
l
l libssh2_ch
a
n
nel_close
(
) before freei
n
g it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Mor
e
d
oc
u
men
a
tions updates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Added a note to the documentatio
n
about fi
l
ename
s
beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Ki
b
bey
Show th
e
client name in
th
e
pi
n
entr
y
dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
K
i
bbey
All
function arguments that t
a
ke a filename
p
ath now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Kibbey
Check f
o
r an
e
mpty (but not NUL
L
)
required pa
r
a
m
e
ter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
Fixed pwmd_process
(
)
w
h
e
n
an OPEN command failed with
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the
t
cp_c
o
n
n
in
reset_as
y
nc() whe
n
'
done'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Free the tcp_conn in setup_tcp
_
session()
.
F
ixe
s
f
r
eei
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
Send "OPTION PINENTRY=0
"
a
f
ter e
s
t
ablis
h
ing a
r
emote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Kibbey
R
e
vert "
A
dde
d
supp
o
r
t
for a p
a
ssphra
s
e in the url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added support
for a passphrase
in th
e
u
r
l
st
r
ing
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
K
ibbey
Set PW
M
D
_OPTION_IP_VERSION t
o
PWMD_IP
_
ANY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbe
y
Added p
w
md_c
o
nnect_url() a
n
d pwmd_connec
t
_url_asyn
c
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
A
nother
stdarg bu
g
f
i
x
.
T
his time in pwmd_strd
u
p_
p
rintf(
)
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Return GPG_ERR
_
BAD_CE
R
T
if the hos
t
key
c
annot b
e
v
erified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Requ
i
re a C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
confi
g
u
re
.
ac: AC_USE_SYSTEM
_
EXTENSIONS, require au
t
oconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Fi
x
ed PWM
D
_
O
PTION_
P
A
S
SP
H
R
ASE a
n
d PWMD_O
P
TION_PA
S
SPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed pwm
d
_get_fds() when
d
o
i
ng an
A
S
Y
NC_CMD
_
OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
S
et the file
d
es
c
ri
p
tor to
n
o
n
-blocking in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link with -
l
rt on Linux x
8
6_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Ad
d
ed
GPG_ERROR_CFL
A
GS t
o
the pw
m
c Ma
k
efile dep
e
n
dencies
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Zero len
g
th is a success from read_hook
(
) and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
Fixed read_hook() a
n
d w
r
ite_hook() over an
S
SH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e
7
d
c
ontained a t
y
po that
d
idn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pw
m
d_
c
ommand_ap() corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed
option
--
n
ame
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
T
he
'
chang
e
log' target now only generates
c
hanges from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
M
ino
r
docu
m
entation clea
n
ups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Docume
n
t
e
d SSH in the he
a
der
.
Also fixed form
a
t
ting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fi
x
ed so
m
e
compile-time conditionals
.
Aga
i
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Added a
note about ca
l
ling
p
wmd_get_fds() after
each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwmd_ge
t
_fd() and pwmd
_
ge
t
_async2_
f
d()
.
Th
e
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_OPTION_PI
N
ENT
R
Y_TIM
E
O
UT when used with pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updat
e
d the
pwm
c
documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Mak
e
sure a va
l
id h
a
n
dle and assuan context is ava
i
lable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Retur
n
ASYNC_
D
ONE from pwmd_pr
o
cess() when
n
ot in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Determine
the pwmd server versi
o
n in _socket_con
n
ect_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Documented pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Fixed local pinentry stri
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbey
Renamed pwmd_get_fd2() to p
w
md_get_async2_fd(
)
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed PWM
D
_OPTI
O
N_
P
INENTRY
.
No longer need
e
d since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en K
i
bbey
Don't do "GETCO
N
FIG data
_
direct
o
r
y"
on an SS
H
c
onnection
.
commit
|
commitdiff
|
tree
2009-04-02
B
en K
i
bbey
Added pwmd_open2()
and pwm
d
_s
a
ve
2
() w
h
ich wil
l
u
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Mor
e
do
c
umentation
s
upda
t
es and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
b
e
y
pwmd_get
_
hostkey() now requi
r
es a pwm_t
h
andle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
K
i
bbey
WITH_
P
INENTRY condit
i
onal fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
L
oop over do_s
a
ve_getpin() when GPG_ERR_INV_PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
i
bbey
F
i
xed p
w
md_save() when PWMD
_
OPT
I
ON_PINE
N
T
RY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bb
e
y
The order of getting the pas
s
w
ord
i
s:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Cre
a
ted a doc/Mak
e
file
"
d
o
xygen"
t
arget to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a
d
efa
u
lt timeout
of 30 seconds f
o
r
p
wmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kib
b
e
y
Re
n
amed pwm
d
_pa
s
sword_fn t
o
pwmd
_
passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Upd
a
t
e
d t
h
e documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Added PWMD_O
P
TION_IP
_
V
E
RSION which shoul
d
be set
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A
few
minor cl
e
anups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
x
ed zo
m
bie pinentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fixed pwmd_save_async2(
)
when used with an SS
H
chann
e
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixed the --get-hostkey op
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixed some compile
t
ime warning
s
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kib
b
e
y
A few
co
m
pile time conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
When
d
oing a pwmd_open_as
y
nc2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Fixed
ch
e
cking for a
n
SSH error in
write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Trim
a
ny '\r\n'
i
n the
c
ommand before se
n
d
i
n
g it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kib
b
e
y
Fixed pi
n
entry retrie
s
when us
e
d with
pwmd_op
e
n_asyn
c
()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
C
heck for g
e
top
t
.
h for system
s
t
h
at have getopt_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
Use getopt_long
(
)
.
When not available, bu
i
ld t
h
e
i
n
c
lude
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
F
ixed
a
potential bu
f
fer overflo
w
in
d
o_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Fail if
a
ssuan_get_activ
e
_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renam
e
d pwmd_tcp_connect()
a
nd p
w
md_tcp_conn
e
ct_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbe
y
Don't dup() the assu
a
n ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
b
b
ey
F
ix for the p
r
evi
o
us c
o
mmit which
di
d
n
'
t
consid
e
r a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
i
b
bey
Fixed p
w
md_open/save_async2()
wh
e
n
the file i
s
ca
c
h
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Fixed usi
n
g
a specified passp
h
rase when using pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Do
n
't close the
TCP FD
when an async command com
p
lete
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
bey
Fixed a pwmd_tcp_connect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Ad
d
ed pwm
d
_
g
et_
f
d2() to retur
n
the FD us
e
d by pwmd_open_
a
syn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_te
r
minate
_
p
i
nentry()
.
There i
s
n
o need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kib
b
ey
R
e
mov
e
d pwmd_op
e
n
_
nb
(
), pwmd
_
save_nb(),
p
wm
d
_o
p
en_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
Reset
t
he
s
tate
after
comma
n
d
comple
t
ion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Fixed pwm
d
_get_
h
ostkey_async() to reset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibb
e
y
Set
the pwmd_pr
o
cess() result
when finishe
d
.
F
ixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pw
m
d_calloc() n
o
t
pwm
d
_
m
alloc(
)
i
n pw
m
d_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
L
et pwmd
_
o
pen_nb() u
s
e
P
WMD_OPTION_
P
INENTRY_TIMEO
U
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
R
e
-add pwmd_p
e
n
ding_line()
.
The diff
e
rence is
th
a
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Ki
b
bey
API chan
g
e
s:
commit
|
commitdiff
|
tree
next