repo.or.cz
/
pwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Flush the data buffer before sending the final XFER status message.
2009-04-19
Ben
K
ibbey
Flush the data b
u
ffer before sending the final XFER
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
en Kibbey
Changed the file header ag
a
in
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbey
Fixed a memory
l
e
ak i
n
do_assuan_command()
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
F
i
xed "xfer_progress=0"
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibb
e
y
Added co
n
f
i
g
uratio
n
parameter "xf
e
r_
p
r
ogress"
t
o specify
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibbey
W
h
en doing an INQUIRE, append an ev
e
nt to w
a
it for
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
All commands
t
ha
t
send da
t
a
u
se
do
_
assuan_command(
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
T
he XF
E
R sta
t
u
s
message is sent with
the LIS
T
,
DUMP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibb
e
y
Log wh
a
t
socket this
inv
o
katio
n
is liste
n
ing on
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
Kibbey
In
i
tia
l
ize the p
i
n m
u
tex when converting (-C)
.
commit
|
commitdiff
|
tree
2009-04-18
B
e
n Kibbey
Require automake 2
.
6
0
.
commit
|
commitdiff
|
tree
2009-04-18
Ben
K
ibbey
Removed
E
PWMD_FILE_ACCES
S
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kib
b
ey
Se
t
the clien
t
na
m
e in the pinentry dialog (OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Min
o
r cleanup
.
Removed cleanup_cr
y
pto_handler()
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
No need to create an extra thread in
c
lient_msg_thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bb
e
y
Add
e
d a new statu
s
message XFER
f
or us
e
with
t
he G
E
T
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
W
h
en an
o
pt
i
on
value
string is NULL, reset it to th
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Let ISCACHED check for file
existence with access(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbe
y
Wait for
the
w
rite_status_thread() to return (or timeout) i
n
commit
|
commitdiff
|
tree
2009-03-21
B
en Kib
b
ey
Comp
a
re o
n
ly "<?xml
v
e
rsi
o
n="
in
t
h
e dec
r
ypted docu
m
ent
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibb
e
y
Make
cli
e
nt_msg
_
thread()
joinable
.
commit
|
commitdiff
|
tree
2009-03-21
B
e
n
Kibbey
U
s
e g
_
get_home_
d
ir() inst
e
ad
.
commit
|
commitdiff
|
tree
2009-03-20
Ben K
i
bbey
R
e
m
oved a
l
l tcp/remot
e
/Gn
u
TLS support
.
Rem
o
te connecti
o
ns
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kib
b
ey
Fix tls
.
c compile-time wa
r
ning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont link with -lrt
o
r -lpthrea
d
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Removed acinclu
d
e
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ib
b
ey
C
heck for
EDEADLK
i
n
MUTEX_UNLOCK
.
It can b
e
igno
r
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wait for thread T
I
D
e
vents which are t
r
igger
e
d when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibbey
Catc
h
SIGABR
T
, but not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Check the retur
n
value from pth_sp
a
w
n
()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbe
y
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
U
se t
h
read-safe libgcryp
t
a
nd libgpg-error f
u
nctions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
b
be
y
Dont writ
e
a log
m
ess
a
ge
i
n MUTEX_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
K
i
bb
e
y
Use M
U
T
E
X
_TRYLOCK ev
e
r
y
where STATUS
_
L
OCKED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en
Kibb
e
y
Fixe
d
unlock_file
_
mut
e
x() rele
a
s
i
ng
t
he
un
l
ocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
check th
e
return of
pth_
m
utex_acq
u
i
r
e and pth_mute
x
_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kibb
e
y
squash
before com
m
i
t
ing
to master
.
this is th
e
initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
K
ibb
e
y
Use "git
l
og" not "git-log" in the Makefile 'cha
n
gelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
K
i
bbe
y
Added OPTION LC_CTYPE and
O
PTION LC_M
E
SSA
G
ES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Fixed a typo in t
h
e prev
i
ou
s
com
m
it
.
De
s
troy
t
h
e
con
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
K
i
bbey
Fixed
k
eepalive_thread() to use a local condit
i
on and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Fixed
aborting th
e
conn
e
ction when the
configured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
M
oved client_msg_thread(
)
and client
_
msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created st
a
tus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Af
t
er
s
ending
a status
m
essage to s
e
nd_status(), cre
a
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en
Kibbey
Remove the exiting clien
t
f
r
om t
h
e client l
i
st as
s
oon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
e
y
Minor cleanups in
m
em
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kib
b
e
y
Lock the rcfile_mutex at eac
h
keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben K
i
bbey
Don't lock the cn
_
mut
e
x
before cancel
l
in
g
the c
l
ient
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Ki
b
bey
Fi
x
for the p
r
e
v
i
o
us
commit that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kib
b
ey
Use a local m
u
tex in clien
t
_m
s
g_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
e
y
Use a gof
f
s
e
t rath
e
r than gsize f
o
r
crypto
-
>insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
bbey
Fixed s
t
atu
s
m
essages to use the new
iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed da
t
a fil
e
porta
b
ility between various sy
s
t
e
ms
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kib
b
e
y
A few more pt
h
read_testcancel()'s
.
S
h
ould be
t
he
last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kib
b
e
y
Thread cancellat
i
o
n
tests
i
n
d
o
_comp
r
ess() an
d
do_decompre
s
s()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't sen
d
status messages to clients
t
ha
t
are
e
xit
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfault with the SAVE
c
o
m
m
and when used wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
en
Kibbey
More thread cancelation tests and handler
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbey
Create a m
u
tex for the custom memory
functions
.
F
i
xes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibb
e
y
C
reate a new
thr
e
ad when reloading the rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
o
re thread ca
n
cellation t
e
sts (more t
o
come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Ki
b
bey
A
c
o
u
ple more thread ca
n
c
ellation tes
t
s an
d
cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
en K
i
bbey
I
f the client thr
e
ad terminates while a
p
inentr
y
is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
S
e
tup a cleanup handler in iterate
_
c
rypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
W
h
e
n
encry
p
ting/
d
ecrypting,
do
n
'
t do the
whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(
)
, don't fre
e
c
n->name
until
e
veryth
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
B
e
t
t
er mu
t
ex l
o
cking an
d
unlocking macros
.
U
s
e
ful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbe
y
Update the mt
i
me
in do_xml_encry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibb
e
y
crypto->inbuf is se
t
to the data
to encr
y
pt when passed
to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
e
y
Use gcry_
.
.
.
memory functi
o
n
s in do_compress()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Return G
P
G
_
ERR_E
N
OANO if the data fi
l
e
is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbe
y
A
c
o
uple minor cache
.
c
cleanup
s
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
ix
e
d poten
t
ially not freei
n
g all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
F
ixed
status messages send with send_status_al
l
() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
F
i
xe
d
tls_init()
not initializing the SHA-1
h
a
s
h
size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Initialize libgcryp
t
pr
o
perly by ca
l
l
ing gcry
_
c
h
e
ck_version(
)
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbe
y
Mo
v
e
i
nitTlsParams() and deinitTl
s
Pa
r
ams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
bey
Add
e
d option "tcp_use
_
crl"
.
When TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Se
t
th
e
sig
n
al
ma
s
k before oth
e
r threads
are
creat
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Don't try
a
nd link with -lrt on systems other t
h
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed a
c
ompile ti
m
e error on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixed a compile
time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Remove old < v1
.
1
1 command line optio
n
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Use PTHREA
D
_
M
UTEX_RECURS
I
V
E no
t
PTHREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
ey
Fix
e
d
some comple time condi
t
iona
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Restore client-
>
has_lock in clean
u
p
_
c
li
e
nt()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use
a
struct
u
re in file_cac
h
e_t t
o
hold th
e
file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
The clien
t
must explicitly set OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Don't wr
i
te a log mess
a
ge w
h
e
n the cache mutex
i
s locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibb
e
y
Reall
y
fix c
o
m
m
it a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
R
e
vert "Fix for commi
t
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Fix for co
m
mit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
R
e
start the keepalive_thread() afte
r
receivin
g
SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
Stop a
c
cepting TCP c
o
nnections
when s
h
utti
n
g down
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_D
E
BUG is
d
efined t
h
e
n set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
U
se an SHA-1 finger
p
rin
t
rather
t
han MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fix
e
d
a seg
f
ault when TL
S
failed n
e
gotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the client
_
msg
_
th
r
ea
d
and client_msg_sender_
t
hr
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Onl
y
ap
p
e
nd unique
st
a
tus mess
a
g
es t
o
the message queue
.
commit
|
commitdiff
|
tree
next