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
Ben Kibbey
Fi
x
ed pwmd_s
a
ve_async2()
whe
n
u
s
ed with an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
F
i
x
ed th
e
--ge
t
-hostke
y
opti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed some comp
i
le
time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbe
y
A few c
o
mp
i
le time condi
t
ional f
i
xe
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
When doing a
pwmd_open_async2
(
), check t
h
e
pas
s
phr
a
se
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kib
b
ey
Fixed ch
e
cking for an SSH error
in writ
e
_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kib
b
ey
Trim
a
n
y
'\r\n' in the co
m
mand before
s
ending it t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibb
e
y
Fi
x
ed pinen
t
ry retries
when use
d
with pw
m
d_op
e
n_as
y
n
c
()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
C
h
eck
f
o
r
geto
p
t
.
h for systems that have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
Use getopt_long()
.
When
not
available, build the in
c
luded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n K
i
b
b
ey
Fixed
a
potential buffer
overflo
w
in do_nb_command(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
Fail if ass
u
an_get
_
active_
f
ds() do
e
s
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kib
b
ey
Rename
d
p
wm
d
_
t
c
p
_connect
(
) and
pwmd_t
c
p
_co
n
nect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kib
b
ey
Don't dup() the assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
en
K
ib
b
ey
Fix for the prev
i
ous co
m
mit whic
h
didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Fixed pwmd_open
/
s
av
e
_async2() wh
e
n
the file is cac
h
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Fixed usi
n
g
a
s
pecified passphrase when using pwm
d
_
open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Don't close the TCP FD when an async comm
a
nd completes
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibb
e
y
Fixed a pwmd_tcp
_
connect_async() seg
f
ault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added pwmd_get_fd2() to re
t
urn the FD us
e
d by pwmd
_
open_asy
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Ki
b
bey
Removed pwmd_termi
n
a
t
e_pinen
t
r
y
()
.
T
h
e
r
e
i
s
no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Remove
d
pwmd
_
open_nb(),
pwmd_save_nb(), pwmd_
o
pen
_
n
b
_
f
inaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the state after
command comple
t
i
o
n
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbe
y
F
i
x
ed pwmd_get_h
o
stkey_asyn
c
()
to reset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set t
h
e
pwmd
_
process() result when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
pwmd_calloc()
no
t
pwmd_ma
l
loc() in pwmd_ne
w
()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd_open_nb
(
) use PW
M
D_OPTION_P
I
N
EN
T
RY_TIM
E
OUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pwmd_p
e
nding_l
i
n
e()
.
The
d
i
ffere
n
ce is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n K
i
bbey
API chang
e
s
:
commit
|
commitdiff
|
tree
2009-03-24
B
en K
i
bbey
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/private sy
m
b
ol
c
leanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Us
e
ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Use getpwui
d
_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If usern
a
me is NULL
when pa
s
s
e
d
to p
w
md_tc
p
_con
n
ect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
WITH_LIBPTH c
o
nditional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Added pwmd_st
r
e
r
ror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->
r
esu
l
t without TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Bet
t
er pwmc
a
rgument checking with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y fo
r
pi
n
entry retries ev
e
n without DEBU
G
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
b
ey
--di
s
able-tcp compile time fix
e
s and ot
h
e
r
minor
c
leanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed
a
typo in pwmc
.
c prevent
i
ng r
e
adin
g
STD
I
N
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Let pwmd_process(
)
work without a runnin
g
comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
M
ake sure
t
h
e re
s
ult
o
f a pwmd_command() is not
N
ULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
R
e
vert
"
Let pwmd_process() w
o
rk
when not i
n
side a
command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Fixed a seg
f
ault when
after a remo
t
e cli
e
nt te
r
minates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Let pwmd_process() work when
n
ot inside a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Finalized
commit 65d0
8
5f
.
S
hou
l
d be b
a
c
k
to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compil
e
-tim
e
fix for FreeBSD whe
n
t
r
ying to li
n
k wit
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Compile
-
t
ime fix for
-
-
d
i
s
a
ble-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
U
pd
a
ted
p
wmc
.
c
to use pwm
d
_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
PWMD_OP
T
IO
N
_
P
INENTRY_TIMEOUT
.
O
n
ly
usef
u
l when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
L
et pwmd_setopt
(
)
set pwmd options direct
l
y when PWM
D
_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
i
bbey
Added pwmc command line op
t
ions -C and
-
M to s
e
t L
C
_C
T
YPE
and
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
A
dded PWMD_OPTIO
N
_PINENTRY
_
LC_
C
T
Y
PE a
n
d
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bbey
I
n
do_pwmd_s
a
ve(), che
c
k
for
t
he user s
u
pplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
Kibbey
R
es
e
t pwm-
>
p
id in pwm
d
_terminate_pinentr
y
()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make
s
ure pwmd_
c
omm
a
nd_ap()
h
as a handle and comman
d
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Compile ti
m
e fi
x
f
o
r -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
ibbey
D
o
n't try to xfre
e
the password retu
r
n
e
d by a u
s
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated
the co
p
yright
h
eader
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Added
w
arn_unus
e
d_result at
t
r
i
b
ute to pwmd_comma
n
d_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
F
i
xed mem
.
c to use
a m
u
tex when accessing the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added pwmd_comman
d
_a
p
()
.
This makes pwmd
_
command(
)
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I messe
d
up the
d
irector
y
t
r
ee mak
i
ng it hard to pul
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbe
y
Fixed som
e
m
e
mor
y
l
e
ak
s
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibb
e
y
Added pwmd_get_host
k
ey_async()
.
Acts
like p
w
md_t
c
p
_
co
n
nect_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Be
n
Kibbey
Fixe
d
pwmd_tcp_
c
onnect_a
s
ync()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben
K
ibbey
A
l
low comm
e
nts beginning wit
h
'#
'
in
the k
n
own host
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
C
h
anged t
h
e arguments t
o
pwm
d
_tcp_connect() and
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
U
s
e sec
u
re memory funct
i
on
s
.
commit
|
commitdiff
|
tree
2009-03-11
Be
n
K
ibbey
An alter
n
ate wa
y
to d
o
remote connect
i
o
ns
.
This will
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
B
e
n Kibbe
y
Add
e
d pwmd_c
o
mm
a
nd
_
a
p
()
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added doc/ and src/
.
commit
|
commitdiff
|
tree
2008-12-13
Ben K
i
bbey
Fixed '
m
ake
d
i
s
tc
h
eck'
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
Kibbey
U
s
e
t
he new pw
m
d
V
ERSION co
m
mand to det
e
rmine
v
alid
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Pr
e
fix all libassuan sy
m
b
ols
with _pwm
d
_ to pre
v
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
ibb
e
y
Make libassuan
a
convenie
n
ce libra
r
y to fix libtool
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
Ben
K
ibbe
y
Added assuan_socket_connect_fd() and assuan_set_finish_h
a
ndl
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
B
e
n Kibbey
A
d
ded
l
ib
a
ssuan
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Fix f
o
r pwmd_assuan_ctx()
.
Don't declare
a
ssuan_
c
o
ntext_t
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben
K
ibbey
F
ix
for ARES_EDES
T
RUCTION whic
h
is
s
e
nt to t
h
e callb
a
ck
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben
K
ibbey
Dont f
r
ee
the hoste
n
t
u
ntil the connect
i
on is comp
l
ete
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
B
e
n
Kibbey
Use libcare
s
instead of libevdns
for
n
o
n
-blockin
g
DNS
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Be
n
Ki
b
b
e
y
Fixed li
b
pt
h
supp
o
rt wit
h
-
-
enable-
t
cp
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
pw
m
d
_tcp_connect() and
pwm
d
_tc
p
_connect_as
y
nc() r
e
quire
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
Reve
r
t "
A
dded PWMD_OPTION_VERIFY_HOSTNAME and pwmc
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben
Kibbey
Added PWMD_OP
T
IO
N
_V
E
RIFY_
H
OSTNAM
E
a
n
d
p
wmc option
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben
K
i
b
bey
Fixed
check
i
ng the entire peer cer
t
ificate list
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibb
e
y
Added
E
PW
M
D_FIL
E
_ACCE
S
S
.
commit
|
commitdiff
|
tree
2008-11-08
B
en Kibbey
Require
liba
s
suan v1
.
0
.
5 or
l
ate
r
.
commit
|
commitdiff
|
tree
2008-11-03
B
en Kibbey
When a
n
y of the gnutls_() fun
c
tions fai
l
in
_tls_init
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
n Kibbey
H
a
ve
p
wmc
s
how the
h
ostname
in the error messag
e
when
.
.
.
commit
|
commitdiff
|
tree
2008-10-31
Ben Kibbey
U
se "
p
a
s
s
p
hrase" i
n
s
tead of "password" in visable stri
n
gs
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kib
b
e
y
Small f
i
x for the previous merg
e
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Ki
b
be
y
Merg
e
b
r
an
c
h
'master
'
into exp
commit
|
commitdiff
|
tree
2008-09-28
Ben Ki
b
bey
Ver
s
i
on 5
.
0
.
8
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
More
dynamic version number
h
an
d
ling
.
Mak
e
s it easier
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
p
wmd_init()
n
ow ret
u
rns immedia
t
ely
if
c
a
l
led m
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
Added libpwmd-pth
.
pc pkg
-
conf
i
g data file
.
commit
|
commitdiff
|
tree
2008-09-28
Ben
K
i
bbe
y
S
e
t the
error c
o
d
e to
0 when ret
u
rning a
file
d
escri
p
tor
.
.
.
commit
|
commitdiff
|
tree
next