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
A few compile time conditional fixes.
2009-03-29
Ben
Kibbey
A
f
e
w compile
t
ime conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibb
e
y
When
doing a pwmd_open_async2(),
c
h
eck the passphras
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
Fixed
ch
e
c
k
ing f
o
r an S
S
H
error
i
n write
_
h
ook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim any '\r\n' in the command before
s
end
i
ng it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinentry ret
r
ies when used with pwmd_open_async
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for ge
t
opt
.
h
for
sy
s
t
e
m
s
t
hat
h
ave getopt_l
o
ng
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
b
bey
Use get
o
pt_long()
.
Whe
n
not a
v
a
i
lable, buil
d
the
i
nclu
d
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
F
i
xed a potential bu
f
fer o
v
erfl
o
w in
do_nb_c
o
mmand()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
bey
Fail if assuan
_
get_active_fds
(
) does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
be
y
Renamed pwmd_tcp_connect() an
d
pw
m
d
_
tc
p
_c
o
nnect_asyn
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kib
b
ey
Don'
t
dup() the assuan
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for the pr
e
vious commit whic
h
didn
'
t consider
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open/save_async
2
()
w
h
e
n
the file i
s
cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed usi
n
g
a spe
c
ified pas
s
p
h
rase when usin
g
pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Don't close the TCP FD when an async command complet
e
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
bey
Fixe
d
a
pwmd_tcp_connect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Added p
w
md_
g
et_f
d
2() to return t
h
e FD used
b
y pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Removed pwmd_termi
n
a
t
e
_
pinentry
(
)
.
There is
n
o
n
eed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Rem
o
ved
p
wmd_o
p
en_nb(), pwmd_save_nb(), pwmd_open
_
nb_
f
inaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n Kibbey
R
eset
t
he state after c
o
mmand
c
o
mpl
e
ti
o
n
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
F
i
xed
pwmd_g
e
t_host
k
ey_async() to re
s
et the
s
t
ate
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Se
t
th
e
pwmd_proc
e
ss() re
s
u
lt when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
pwmd_calloc() not pw
m
d_mallo
c
()
i
n pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwm
d
_
o
pen_
n
b
()
u
se
PWMD_OP
T
ION_PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
Kibbe
y
Re-add pwmd_pen
d
ing_li
n
e()
.
The differ
e
n
ce i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben K
i
bbey
A
PI changes
:
commit
|
commitdiff
|
tree
2009-03-24
B
e
n
Ki
b
b
e
y
#
include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kibbey
Pub
l
ic/private symbol cle
a
nup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use t
t
yna
m
e_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
If use
r
name is N
U
LL when pass
e
d to p
w
md_tcp
_
c
o
n
n
e
c
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
WITH_LIBPTH condi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
A
dded
pw
m
d_strerro
r
_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
F
ixed pwm->result without
TC
P
support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
B
etter pw
m
c ar
g
ument
checki
n
g
w
ith tc
p
op
t
ion
s
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Al
l
ow -y fo
r
pinentry retries
e
v
e
n witho
u
t DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
--disabl
e
-tcp compile t
i
m
e fixes and other
m
inor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
e
y
Fixed
a
t
ypo
i
n pwmc
.
c pr
e
venting reading STDI
N
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
e
y
Let pwmd_process() work
w
i
th
o
ut a
r
unn
i
ng command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kib
b
ey
Mak
e
sure t
h
e
result of a pwmd_command(
)
is
not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Revert
"Let
p
wmd_process
(
)
w
or
k
wh
e
n no
t
in
s
ide
a
comman
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed a segfault when after
a r
e
mote
clie
n
t terminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Let
pwmd_process()
w
ork whe
n
not inside a
c
ommand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Finalized commit 65
d
085f
.
Should be back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Compi
l
e-time fix
for Fr
e
eBSD when
t
rying to link w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Comp
i
le-time f
i
x for
--disab
l
e-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
U
p
d
a
t
ed pwmc
.
c
t
o
use p
w
m
d
_
setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
Kibbe
y
Added PWMD_OP
T
IO
N
_PINENTRY_
T
IMEOUT
.
Only useful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Let pwmd_setopt() set pwmd
options dire
c
tly when PWM
D
_OP
T
ION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
A
d
d
ed pw
m
c command
li
n
e options -C and -M to
set LC_CTY
P
E and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Ad
d
ed PWMD_OPTION
_
P
INENTRY
_
LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In do_pwmd_
s
ave(), check f
o
r the us
e
r su
p
plied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Reset pwm->pid
i
n
pwmd_terminate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Ma
k
e
s
ure pwmd_command
_
ap() has a ha
n
d
l
e
a
n
d command
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Compile time fix for -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kib
b
ey
D
on't try to xfree the
p
a
sswor
d
returned by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Ki
b
bey
Updated t
h
e copyr
i
ght header
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
A
dded warn_unused_re
s
ult at
t
ri
b
ute
t
o pwmd_command
_
ap(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed m
e
m
.
c to use a mutex
when a
c
cessing the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Add
e
d p
w
md_c
o
m
m
and_ap()
.
This makes pwm
d
_comm
a
nd()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbe
y
I messed up the direct
o
r
y tree making
i
t hard to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibb
e
y
Fixed some
m
emo
r
y leaks
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbe
y
Added pwmd_get
_
h
o
stkey_async()
.
Act
s
like pwmd_
t
cp_c
o
nnect
_
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben K
i
bbey
Fixed p
w
md_tcp_conne
c
t_async()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibb
e
y
Allow commen
t
s b
e
g
i
nn
i
ng with '
#
' in the known h
o
st
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
Chan
g
ed the a
r
gu
m
en
t
s to
p
wmd_
t
cp_connect() and
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibb
e
y
Use secure memory functions
.
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
An alt
e
rn
a
t
e way
t
o do r
e
mo
t
e connection
s
.
This will
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
B
e
n
Ki
b
bey
Added p
w
md_comma
n
d_ap()
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n
Kibbey
Added doc/ and s
r
c/
.
commit
|
commitdiff
|
tree
2008-12-13
B
en Ki
b
bey
Fixed 'make dist
c
he
c
k'
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n K
i
bb
e
y
Use t
h
e new pwm
d
VERSION co
m
mand to determine
val
i
d
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Kibbey
Pref
i
x all libassuan
s
ymb
o
l
s
wi
t
h _pwmd_ to
prevent
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Make l
i
b
a
ssuan a c
o
n
v
enien
c
e library
t
o
fix libtool
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
B
en Ki
b
b
e
y
Add
e
d
a
ssuan_socket_
c
o
n
nect_fd() and assuan_set_finish_handl
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
Ben Kibbey
Added
l
i
b
as
s
uan
.
commit
|
commitdiff
|
tree
2008-11-22
Ben
Kibbey
Fix for
pwmd_as
s
uan
_
ctx()
.
D
o
n't de
c
l
ar
e
assu
a
n_co
n
te
x
t_t
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben Kibbey
Fix
f
o
r AR
E
S_EDESTRUC
T
ION which is
s
ent to the c
a
llback
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben
K
ibbey
Dont fr
e
e the host
e
nt u
n
ti
l
th
e
connec
t
ion is com
p
lete
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Be
n
Kibbey
Use libc
a
res instead of libevdns for non-
b
l
o
cking DNS
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
Fixed libpt
h
support with --enable
-
tcp
.
commit
|
commitdiff
|
tree
2008-11-14
Ben K
i
bbey
pwmd_tcp_connect(
)
and p
w
md_tcp
_
connect_async() require
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibb
e
y
Rev
e
r
t "Added
PWM
D
_OPTION_VERIFY_HOST
N
AME and
p
wmc
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
B
e
n Kib
b
ey
Ad
d
e
d
PWMD_OPTION_VERIFY_HOS
T
N
A
ME and pwmc option
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
B
en Kibbey
Fixed
c
hecking
t
h
e entir
e
pe
e
r certificate list
.
commit
|
commitdiff
|
tree
2008-11-14
B
en Ki
b
be
y
Ad
d
ed
EP
W
MD_FILE_ACCESS
.
commit
|
commitdiff
|
tree
2008-11-08
B
e
n Kibbey
R
equire l
i
bassuan v1
.
0
.
5 or later
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
n Ki
b
bey
When a
n
y
of t
h
e gnu
t
ls
_
() funct
i
ons fai
l
in _tl
s
_ini
t
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
Ben Kibbey
Have pwmc
show the hostname in
t
he error messa
g
e when
.
.
.
commit
|
commitdiff
|
tree
2008-10-31
Ben Kibbey
Use "p
a
s
sphrase" instead
of "password
"
in v
i
sable strings
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
Small fix f
o
r
t
he previous
merge
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
M
erge branch 'mas
t
er
'
int
o
exp
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
Ve
r
sion 5
.
0
.
8
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
M
ore dynamic version
nu
m
ber
handling
.
M
a
k
es it easier
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
pwmd_in
i
t
() now returns immediately if
called
m
o
r
e
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
A
d
ded libpwmd-pth
.
pc
p
kg
-
config da
t
a file
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
S
e
t the erro
r
cod
e
to 0
when
r
eturning a file d
e
scriptor
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
Merge branch
'
mas
t
er'
i
nto ex
p
commit
|
commitdiff
|
tree
2008-09-28
Ben
Kibbey
Forgot to includ
e
p
t
h
.
h
.
F
ix
e
d
.
commit
|
commitdiff
|
tree
2008-09-28
Ben K
i
b
b
ey
Merg
e
branch 'master' into exp
commit
|
commitdiff
|
tree
next