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
Version 2.7.
2009-04-19
B
e
n Kibbe
y
Al
l
c
om
m
ands th
a
t send data use do_assuan_
c
o
mmand(
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbey
The XFER st
a
t
us me
s
sage
i
s
sent with
t
he L
I
ST,
D
UMP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
K
i
bbey
Log what socket this invok
a
t
ion
i
s liste
n
ing on
.
commit
|
commitdiff
|
tree
2009-04-19
Ben K
i
bbey
Initialize the p
i
n mutex when c
o
n
verting (-C)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
R
equire
automake 2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
B
e
n
Kib
b
ey
Removed
E
PWMD_
F
ILE_ACCESS
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
Kibbey
Set the cl
i
ent name in the
p
ine
n
try
dialog (OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
B
e
n
Kibbe
y
Minor cleanup
.
Remov
e
d cleanup_cry
p
to_handler()
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
No
need to create an ext
r
a thread in
c
lient_msg_thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
K
i
bbey
Added a n
e
w status message X
F
ER
for
use
w
ith the GE
T
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Ki
b
bey
When
an opt
i
on va
l
ue
st
r
ing
i
s
N
ULL,
reset it to the
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbey
Let
I
SCACHED ch
e
c
k
f
or file existe
n
ce with
ac
c
ess(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben K
i
bbey
Wait
f
or th
e
w
rite_s
t
atus_thread() to
return
(or timeout)
in
commit
|
commitdiff
|
tree
2009-03-21
B
e
n Kibbey
Co
m
pare
only "<?
x
ml
v
ersion="
in the
d
ecr
y
pted document
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Make c
l
ient
_
msg_thre
a
d() joinable
.
commit
|
commitdiff
|
tree
2009-03-21
Ben K
i
bbey
U
s
e g_get_home_dir() instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben Kibb
e
y
Removed al
l
t
c
p/rem
o
te/Gnu
T
LS
s
up
p
ort
.
Rem
o
te co
n
nect
i
o
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
bbey
Fix tls
.
c
c
o
m
p
ile-time warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
D
o
nt link
with -
l
rt or -l
p
thr
e
ad
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
K
i
b
bey
Removed
a
c
include
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Check
f
o
r EDEADLK in MUTEX_UNLOC
K
.
It
can b
e
ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wait for thread TID e
v
ents which
a
re
trigg
e
r
ed when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
C
a
tch
S
IGABRT, but no
t
SIGUS
R
2
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Ki
b
bey
Che
c
k
t
h
e return value fro
m
p
th_spawn
(
)
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Ki
b
be
y
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Us
e
t
h
read-s
a
f
e
l
i
bgcrypt and libgpg
-
error function
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Dont wri
t
e
a
log
message in M
U
TE
X
_TRYL
O
CK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUTEX_TRYL
O
CK
ev
e
rywhere
STATUS_LO
C
KED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
F
ixed
unlock_file_mut
e
x() rele
a
sing
t
he u
n
locked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
chec
k
t
he return
o
f
pth_mut
e
x
_acqui
r
e
and pth_mutex_relea
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kibbey
squash before commiting
t
o mas
t
er
.
thi
s
is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
e
n
Kib
b
ey
U
s
e "git log" no
t
"g
i
t-l
o
g
"
in the Ma
k
efile
'
changelo
g
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
K
i
bbey
Adde
d
OPTION LC_CTYPE a
n
d OPT
I
ON LC_MESSAGE
S
.
B
o
th
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed a typo
in th
e
previous commi
t
.
D
e
stroy t
h
e
cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Fix
e
d keepalive_
t
hread() to
u
s
e a l
o
c
a
l
condit
i
on and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en
K
ibbey
Fixed ab
o
r
ting
th
e
connection
when th
e
c
on
f
igured ke
e
palive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
K
ibbey
Moved client_msg
_
thread() and client_ms
g
_sende
r
_th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en
Kibbey
Created
s
ta
t
us
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sendi
n
g a st
a
tus mes
s
age to s
e
nd_st
a
t
u
s(), crea
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Remove t
h
e exitin
g
clien
t
from t
h
e clie
n
t
list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor clean
u
p
s in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kib
b
ey
Lock the
rcfi
l
e_mut
e
x at each
keyfi
l
e
h access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kib
b
ey
Don't lock t
h
e cn_mutex before cancelling
the
c
l
ient
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
en Kibb
e
y
F
i
x fo
r
t
he p
r
e
vious commit that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a loca
l
mutex
i
n c
l
ient_msg_
t
hread
(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Be
n
Kibbey
Use a
g
o
f
fset rather than gsize
f
o
r crypt
o
->insiz
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
be
y
Fi
x
e
d
status mes
s
ages to use
the new ite
r
ation type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Fixed dat
a
file portability between various system
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben K
i
bbey
A few more pthread_te
s
tcancel()'s
.
Should
b
e
the la
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread
c
a
ncellat
i
on test
s
in do_comp
r
ess(
)
and d
o
_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't send status me
s
sages t
o
cli
e
nts
t
hat are e
x
iting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a se
g
f
a
ult with
t
he
S
AVE
c
omma
n
d when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More
t
hread cancel
a
tion
t
ests a
n
d hand
l
ers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Cre
a
t
e
a mu
t
ex for the custom
m
e
m
o
ry functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibb
e
y
Crea
t
e a n
e
w thread
when reloading the
rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
or
e
thr
e
ad cancellat
i
o
n
t
e
sts
(
m
ore to c
o
me) and threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kibbey
A couple more thread canc
e
llatio
n
te
s
t
s
a
nd
cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
I
f the
c
lie
n
t
thread ter
m
inates whil
e
a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
S
e
tup a cleanup
handler in it
e
rate_crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
When encrypting/de
c
r
y
pting, don't do the whole
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In c
l
eanup
_
cb(), don't free cn->name until
everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex lock
i
ng and unlocking
ma
c
ros
.
Useful fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
pdate the mtime in do_x
m
l
_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
c
r
ypto->inbuf is se
t
to the data to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Use gcry_
.
.
.
memory functi
o
ns
in do_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
R
e
turn GPG_ERR_ENOANO if the dat
a
file i
s
not a regula
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
A couple minor
cach
e
.
c c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kib
b
e
y
Fixed po
t
entially
n
ot freeing all cache
e
ntries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
Fixed status
messages send wit
h
send_status
_
all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init() not initializing t
h
e
SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initial
i
ze libgcrypt pr
o
perly by ca
l
ling gcr
y
_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Mo
v
e initTlsParams() and d
e
initTl
s
P
a
rams
(
) t
o
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
Added option "tcp_use_crl"
.
When T
R
UE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set
t
h
e signal mask b
e
fore
o
the
r
threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kib
b
ey
D
o
n
't try and
l
ink with -lrt on s
y
st
e
ms other
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
x
ed a compile time e
r
ror
o
n
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixe
d
a
compile time warning on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbe
y
Rem
o
ve old <
v
1
.
11 command l
i
ne
op
t
ion
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Use PT
H
RE
A
D_MUTEX_
R
ECURSIVE not PTHREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed
s
o
m
e
comple
ti
m
e cond
i
tionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Res
t
ore client->has_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibb
e
y
Us
e
a structure in file_cache_
t
t
o hold
the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
The
cli
e
nt
must
explicitly set
O
PTION PIN
E
NTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bb
e
y
Don't write a log mess
a
ge when the cache
m
utex is locke
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Rea
l
l
y fix com
m
i
t
a7
e
1
5
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
ib
b
ey
Revert "Fi
x
fo
r
comm
i
t a7
e
15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kib
b
ey
Fix f
o
r commit a7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Res
t
art the keepalive_thread() after re
c
eiving S
I
GH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
Stop accept
i
ng TCP c
o
nnectio
n
s
w
hen shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
K
ibb
e
y
I
f MEM_DEB
U
G is
d
efined th
e
n se
t
t
he x
.
.
.
de/a
l
lo
c
a
tors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Kibbe
y
U
se an SH
A
-1 f
i
ngerprint rather
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
K
ibbe
y
Fixed
a
s
e
g
f
a
ult when
TLS
f
ailed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
ey
Cre
a
te the
client_
m
sg_th
r
ead and clien
t
_msg
_
sender_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only append unique status mess
a
g
es to the
message queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
If the curren
t
t
hread
i
s calling send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make su
r
e the msg mutex is unlocked
before trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a message q
u
e
ue that wo
n
't block s
e
n
d
_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Ki
b
bey
Porte
d
t
o
pthread
.
cache_mutex a
n
d c
n
_mutex are
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHU
P
wi
l
l st
o
p or start the tcp_accept
_
thread() depend
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
U
pdated the copyright he
a
ders
for 20
0
9
.
commit
|
commitdiff
|
tree
next