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_save_async2() when used with an SSH channel. Finishes commit
2009-03-29
Be
n
Kibbey
Fixed pwmd_save_a
s
ync2() wh
e
n used with
a
n
SSH chann
e
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibb
e
y
F
ixed the -
-
get-hostkey opt
i
on
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixed some compile time
warn
i
ngs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few
compile time condit
i
o
nal fixe
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
W
h
en d
o
ing a pwmd_open_async2(), ch
e
ck the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
b
e
y
F
ixed checking for
a
n SSH error i
n
wri
t
e
_
hook()
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Trim any '\
r
\n' in the command be
f
o
re sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fi
x
ed pinent
r
y
retries when used with pwmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Chec
k
for geto
p
t
.
h for systems that have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
b
e
y
Use getopt_lo
n
g
(
)
.
W
h
e
n not available, build th
e
inclu
d
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fix
e
d a
potential buffer ov
e
r
flo
w
in do_
n
b
_command
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail i
f
ass
u
a
n
_
g
et_a
c
tive_fds()
d
oes
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed p
w
md_tcp_co
n
n
ect() and
p
wmd
_
tcp_connect_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
bey
Don't dup()
t
he
as
s
uan
c
t
x FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Fix for the prev
i
ous commit which didn't consider
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open/s
a
ve_asyn
c
2(
)
w
hen the file
is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Fixed using a specified pa
s
sphrase when usi
n
g
pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibb
e
y
Don't clo
s
e t
h
e TC
P
FD when a
n
async
command comple
t
es
.
commit
|
commitdiff
|
tree
2009-03-26
B
en K
i
b
b
ey
Fixed a pwm
d
_tcp_connect_async() segfa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibb
e
y
Added pwm
d
_g
e
t_fd2() to return the
F
D
used by p
w
md_
o
pen_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Removed pwmd_
t
e
rminate_pinentry()
.
T
h
ere is no
n
eed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
R
e
m
oved pwmd_open_
n
b(), pwmd_save_n
b
(), pwmd_open_nb_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kib
b
ey
Reset
t
he state after com
m
and
c
o
mpletion
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
Ki
b
be
y
Fixed pwmd_
g
et_hostkey_async()
to reset the
s
tate
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibb
e
y
S
et the pwmd_process() result
when fi
n
i
shed
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pwmd_calloc() n
o
t pw
m
d_ma
l
l
oc() in pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
L
e
t
pwmd_open_nb() use PWMD_OPTI
O
N_P
I
NE
N
TRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Kibbe
y
Re-add p
w
md_
p
ending_line
(
)
.
The differen
c
e is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
#include <stdar
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/private
s
y
m
b
ol
c
leanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Us
e
tty
n
a
m
e_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
U
s
e
getpwuid_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If user
n
ame is
N
U
LL wh
e
n
passed to pwmd_tcp_
c
onnect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbe
y
WITH_L
I
BP
T
H condit
i
onal f
i
x
e
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Added pwmd_strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Fix
e
d
p
wm->
r
esult without TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
bbey
Better pwm
c
argume
n
t
che
c
king with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y for pinentry r
e
tries even with
o
u
t
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
--
d
isab
l
e-tcp compile
t
i
me fixes and other minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a
typo
i
n pwmc
.
c preventing reading S
T
DIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd_process() work wi
t
hout a ru
n
ning comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Make sure the result of a pw
m
d_command() is n
o
t NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
b
e
y
Re
v
ert
"
Let pwmd_process() wo
r
k when no
t
inside a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
F
i
x
ed a segfau
l
t when a
f
te
r
a
remote client terminates
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Ki
b
be
y
Let
pwm
d
_p
r
oces
s
() w
o
rk when not insid
e
a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
F
i
n
alized commit 65
d
085f
.
Shou
l
d be back to norm
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Compile-t
i
me fix for F
r
eeBS
D
whe
n
t
rying
t
o link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Compile
-
time
f
ix for --di
s
able-nls
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbe
y
Updated pwmc
.
c
t
o use pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Ad
d
ed P
W
MD_
O
P
TION_PINENTRY_TIMEOUT
.
Only u
s
eful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_se
t
opt() set pwm
d
o
p
tions direct
l
y
when P
W
M
D
_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added
pwmc c
o
m
m
an
d
line
o
ptions -C and -M
to set L
C
_
CT
Y
PE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PW
M
D_O
P
TIO
N
_PINENTRY_LC_CTYPE
and
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
In do_pwmd_save(), che
c
k for th
e
user supplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Res
e
t pwm->pid
i
n
pwmd_terminate_pi
n
entr
y
()
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
M
a
k
e sure pwm
d
_co
m
m
and_ap() has a handle and
c
ommand
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile time fi
x
f
or -DM
E
M_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Don't try
to xfree
the pas
s
w
o
rd return
e
d by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Upd
a
ted t
h
e co
p
yright
h
e
a
der
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
A
dded warn_unused_res
u
lt attribute to pwmd_comman
d
_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n K
i
bbey
Fixed mem
.
c to use a mu
t
e
x when accessing the
m
emory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added pwmd_comma
n
d_
a
p()
.
T
h
is ma
k
es pwmd_comman
d
()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I me
s
sed
u
p
the directory tree making it ha
r
d
t
o pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
F
ixe
d
s
o
me memory leaks
.
commit
|
commitdiff
|
tree
2009-03-13
Be
n
Kibbey
Added pw
m
d_get
_
h
o
st
k
e
y
_async()
.
Acts
like pwmd_tc
p
_conne
c
t_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kib
b
ey
Fix
e
d pwmd_tcp_con
n
e
ct_asy
n
c()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben
Kibbe
y
A
l
low c
o
mment
s
beginning with '#' in t
h
e known
ho
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
C
h
ange
d
the argu
m
ents to pwmd_tcp_co
n
nect() and
commit
|
commitdiff
|
tree
2009-03-11
Be
n
Kibbey
Us
e
secure memory fu
n
ctions
.
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
An alte
r
na
t
e way
to do remote connections
.
This will
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Ben Kibbey
Added
pwmd_command_ap()
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kib
b
ey
Added doc/ and
s
rc/
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Fixed 'mak
e
distcheck'
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Use the
new pwm
d
VERSION
c
ommand
t
o d
e
termine valid
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
i
bbey
Prefix
all
l
i
ba
s
suan symbols with _pwmd_ to prevent
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
en
K
ibbey
M
ake libassuan a conv
e
nience library to fix libtoo
l
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
Ben Kibbey
Added
a
ssuan_socket_conn
e
ct_fd()
an
d
assuan_set_
f
inish_hand
l
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
Be
n
Kibbey
Added l
i
bas
s
ua
n
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibb
e
y
Fix for pwmd_
a
ssuan_ctx()
.
Don't declare assuan_context_t
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben Kibbey
Fix fo
r
ARES_
E
DESTRUCTION which is se
n
t to the callbac
k
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
B
e
n Kibbey
D
on
t
free the hostent
u
ntil
the connec
t
i
on is complete
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben Kib
b
e
y
Use
l
ibcares instead of libev
d
ns for non-bloc
k
i
n
g
DNS
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
Fixed libpth support
w
ith
-
-
enable-t
c
p
.
commit
|
commitdiff
|
tree
2008-11-14
Be
n
Kibb
e
y
pwmd_tcp_connect() and pwmd_tcp_connect_async() requi
r
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Ki
b
b
ey
R
e
vert "Adde
d
PWMD_O
P
TION_VERIFY_HOSTNAME and pwmc
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben
Ki
b
bey
Added P
W
MD_OPT
I
ON_VERIFY_
H
OSTNAME and
pwmc option
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben
Ki
b
be
y
Fixed checking the entire peer ce
r
tificate l
i
s
t
.
commit
|
commitdiff
|
tree
2008-11-14
B
en Kibbe
y
Added EPW
M
D_FILE_ACCES
S
.
commit
|
commitdiff
|
tree
2008-11-08
Ben K
i
b
bey
R
equ
i
re libassuan
v1
.
0
.
5 or lat
e
r
.
commit
|
commitdiff
|
tree
2008-11-03
Ben Ki
b
b
e
y
W
h
en any
of the g
n
utls_() function
s
fail in _tls_init
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
n Kibbey
H
a
v
e
pwmc show the hostnam
e
in the er
r
or m
e
ss
a
ge when
.
.
.
commit
|
commitdiff
|
tree
2008-10-31
Ben Ki
b
bey
Use "passphr
a
s
e
" inste
a
d of "password"
i
n vis
a
ble st
r
ings
.
commit
|
commitdiff
|
tree
2008-09-28
Ben
K
ibbey
Small fix for the pr
e
vious m
e
rg
e
.
commit
|
commitdiff
|
tree
2008-09-28
Ben
K
i
b
bey
M
e
r
g
e
branch 'master' into exp
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibb
e
y
Version
5
.
0
.
8
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbe
y
Mo
r
e
dy
n
amic version number ha
n
dling
.
Makes it easier
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
p
wmd_init
(
)
n
ow ret
u
rns
i
mmediatel
y
if
calle
d
mor
e
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
A
d
d
e
d li
b
pwmd-pth
.
pc pkg-con
f
ig
d
ata
file
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kib
b
ey
Set the error co
d
e to
0
when
retu
r
ning
a
file descrip
t
or
.
.
.
commit
|
commitdiff
|
tree
next