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
Use a pth_msgport_t for message passing. Also wait for an PTH_EVENT_MSG
2009-04-21
Ben Kibbey
U
s
e
a pth_msgp
o
r
t_
t
for mes
s
age passi
n
g
.
Also wait
.
.
.
commit
|
commitdiff
|
tree
2009-04-21
B
e
n Kibbey
kee
p
a
live_thread() cleanup
.
Also fi
x
e
s a segfault when
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibbey
F
i
xed a
l
ibx
m
l2 war
n
ing when converting a data file
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbe
y
Fixed "GETC
O
NFIG
<
filename> IT
E
RATIONS"
after "
O
P
T
ION
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
Kibbey
Cha
n
g
ed h
o
w "GET
C
ONFIG ITE
R
A
TIONS" works
.
If th
e
re
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Flush the data
buffer before sending the f
i
n
al XFER
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Cha
n
ged
the file header again
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibb
e
y
Fixed a mem
o
ry leak in do_ass
u
an_command()
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Fix
e
d "xfer_progress=0"
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n
K
i
b
bey
A
d
ded
configuration pa
r
a
m
eter "xfe
r
_progr
e
ss" t
o
s
pe
c
i
fy
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbe
y
Whe
n
doing an
INQUIRE, append an eve
n
t to wait
for
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
Kibbey
All
c
o
mmands that se
n
d data use do_a
s
suan_command(
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
T
he X
F
ER
status m
e
ssage is se
n
t with t
h
e LIST, DUMP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kib
b
ey
Log wh
a
t socket
th
i
s invokation i
s
listening on
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbey
Init
i
alize the pin mu
t
ex when conve
r
t
ing (-C)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
R
e
quire automake
2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
B
en Kibbey
Remov
e
d EPWMD_FILE_A
C
CESS
.
commit
|
commitdiff
|
tree
2009-04-18
Ben
K
ib
b
ey
Set
the client
n
ame
in the pinent
r
y dialog (OP
T
I
O
N
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
B
e
n K
i
bbey
Mi
n
or
c
le
a
nup
.
Rem
o
ved cleanup_crypto_handl
e
r()
.
commit
|
commitdiff
|
tree
2009-04-18
Ben K
i
bbe
y
No ne
e
d t
o
create an extra thread in cl
i
ent_msg_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
A
dded a new
status me
s
sage XFER for
u
s
e with
the GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
en Kibb
e
y
W
he
n
an option va
l
ue string is NULL,
r
e
s
e
t
it to the
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Let ISCACHED check for fi
l
e existence with access(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Wait for the writ
e
_status_th
r
ead()
to retur
n
(or timeout) in
commit
|
commitdiff
|
tree
2009-03-21
Ben K
i
bbey
Compare onl
y
"
<
?xml ver
s
ion
=
" in the dec
r
y
p
ted document
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Mak
e
client
_
m
s
g_thread() j
o
ina
b
le
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Use g_g
e
t_home_dir() instead
.
commit
|
commitdiff
|
tree
2009-03-20
B
en Kibbe
y
R
e
m
oved all tcp/remote/Gnu
T
L
S
support
.
Remot
e
co
n
nections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Ki
b
bey
Fix tls
.
c
compile-time warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont
link with -lrt or -lpthr
e
ad
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
b
bey
Remov
e
d
acinclude
.
m
4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Check for EDEA
D
LK in MUTEX_U
N
L
O
C
K
.
It can be ig
n
ored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Wai
t
for thread TI
D
events
which are t
r
iggered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
C
atch
SIGABRT, but not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Check th
e
return value from pth_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
bbey
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
Use threa
d
-safe
l
ibgc
r
ypt
and l
i
bgpg-error functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Dont write a log message in MUTEX_TRYL
O
C
K
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Use
M
UTEX_TRYLOCK everywhe
r
e STATUS_
L
OCKED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n K
i
b
b
e
y
Fixed
u
nlock_file_mut
e
x() releasing the unloc
k
ed mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
check
t
he
return of pth_m
u
t
ex_acquire and pth_mut
e
x
_
release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Ki
b
bey
squas
h
before commiting to master
.
t
h
is is the in
i
t
ia
l
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
en Kibbey
U
s
e "gi
t
log"
n
ot
"gi
t
-lo
g
" i
n
t
he Makef
i
le '
c
hangelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Added OP
T
I
O
N
LC_CTYPE and OPTION LC
_
MESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
bbe
y
Fixe
d
a typo in the previ
o
us commit
.
Destroy
the
con
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Fixed keepalive_t
h
read() to use a lo
c
al con
d
ition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Fixed ab
o
rting the connection when the
c
onfigured
keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved c
l
ient_msg
_
thr
e
ad() and cli
e
n
t_msg
_
se
n
der_t
h
r
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbe
y
After sending a
s
t
atus
m
e
ssag
e
to sen
d
_status(), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Remove the exiting cl
i
ent fr
o
m t
h
e
c
l
ient
l
ist as s
o
on
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
M
i
n
o
r
clea
n
ups i
n
m
em
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
en Ki
b
bey
Lock
t
he rcfile_mutex at each keyfile
h
acces
s
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
Kibbey
D
on't lock t
h
e
cn_mutex b
e
fore cancelling the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
F
ix for t
h
e previo
u
s
comm
i
t that
would
n
't t
e
rmin
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use
a
local mute
x
in client_msg_t
h
read(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use
a
g
o
ffset rathe
r
than g
s
ize
for
c
rypto
-
>insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
B
en Kibbey
Fixed sta
t
us messages
t
o
use the new iteration
ty
p
e
.
commit
|
commitdiff
|
tree
2009-02-03
Be
n
Kibbey
Fix
e
d
data fi
l
e porta
b
ility be
t
ween variou
s
syste
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
A few mor
e
pthread_t
e
stcance
l
()'s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thr
e
ad cancellation tests
in d
o
_
c
ompres
s
()
and d
o
_decompre
s
s()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Don't
s
e
nd st
a
tus messages t
o
clien
t
s
that
a
re e
x
it
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
Kib
b
ey
F
i
xe
d
a segfault with the
S
A
V
E
c
omm
a
n
d
whe
n
used w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben K
i
b
bey
Mor
e
thread cancelat
i
on t
e
st
s
a
n
d handlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibbey
Create a
m
utex f
o
r
t
he custom m
e
mory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
Ki
b
bey
Creat
e
a n
e
w thr
e
a
d when
r
eloading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More
thread can
c
ellation tests (more
to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kibbe
y
A couple more thread ca
n
cellat
i
on
t
est
s
and c
l
ean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-27
B
en
Kibbey
If t
h
e client thread
t
e
rminates while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en K
i
bbey
Setup a cleanup h
a
ndler in iterat
e
_c
r
ypt
o
_once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encrypting/decrypting, do
n
't do
the w
h
ole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(
)
, do
n
't fre
e
cn->name unt
i
l ever
y
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex locki
n
g a
n
d
u
nlocking ma
c
ros
.
Use
f
ul
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update the
m
t
i
me in do_xm
l
_encr
y
pt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbu
f
is s
e
t
t
o
the
data to e
n
crypt when pa
s
sed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Use gcry_
.
.
.
m
emory functions in do_
c
ompr
e
s
s() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
R
e
turn
GPG_
E
RR_ENO
A
NO
i
f th
e
d
ata
f
ile is not a r
e
gular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
A couple minor cache
.
c clea
n
up
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbe
y
F
i
xed potentially not freeing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed status
messages send with send_
s
tatus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed tls_init()
n
ot init
i
aliz
i
ng
the
SH
A
-
1 hash si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Ini
t
ialize l
i
bg
c
ry
p
t properly by calling gcry_c
h
eck_v
e
rsi
o
n()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Move
initT
l
s
Para
m
s() and deinitTlsParams() to tl
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Added option "tc
p
_use_crl"
.
W
hen TRUE, ~/
.
pwmd/cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n K
i
b
b
ey
Set the signal mask bef
o
re othe
r
t
h
reads are
c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
Do
n
't
t
ry and
li
n
k wi
t
h -lrt on systems othe
r
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed a
compile t
i
me error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile
t
i
m
e
w
arning on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Remove
old
<
v1
.
11
c
om
m
and
l
i
n
e
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
U
se PTHRE
A
D_MUTEX_RECU
R
SIVE not
P
T
H
READ
_
MUTEX_RE
C
URSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
F
i
xed some
c
o
mple
t
ime c
o
nditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Restore cl
i
e
n
t
->has_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbe
y
U
se a struc
t
ure in f
i
le_ca
c
he_t to hold the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
The client must
e
x
p
licitl
y
set OPTI
O
N PINENTR
Y
if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Do
n
't writ
e
a
log m
e
ssag
e
when
t
h
e
c
a
che mutex
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix commit
a
7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibb
e
y
Reve
r
t "Fix
for
commit
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
F
i
x for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the keepal
i
ve_thread() afte
r
r
ec
e
iv
i
ng SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
Stop acceptin
g
TCP con
n
ections
when shutting down
a
n
d
.
.
.
commit
|
commitdiff
|
tree
next