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
Fixed a typo in the previous commit. Destroy the cond, not the mutex.
2009-02-07
Ben Kibbey
Fixed a typo
i
n the previous com
m
it
.
Destro
y
the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibb
e
y
Fixe
d
k
e
epalive_th
r
e
a
d() to use a
local condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbe
y
Fi
x
e
d
aborting
th
e
con
n
e
ctio
n
w
h
en the configured keepaliv
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
M
oved
c
lient_
m
sg_thread() a
n
d
cli
e
nt
_
msg_
s
ende
r
_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kib
b
ey
Cr
e
ate
d
status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
After sending a
s
tatu
s
mes
s
a
g
e to
s
end_status(), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
R
e
move the exit
i
ng client from
the client li
s
t as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
M
i
n
or c
l
eanups
i
n mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibb
e
y
Loc
k
the rcfile
_
mu
t
ex at each k
e
yfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
B
e
n Kibbe
y
Don't lock the cn_mutex before cancelling t
h
e client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
en Kibbe
y
Fix
for the previ
o
us commit that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
K
ibbey
Use a local
m
utex in client_m
s
g
_
t
h
r
ead()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
Use a
g
offset
r
at
h
er t
h
an gs
i
ze for cry
p
to->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed stat
u
s message
s
to use th
e
new iteration
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed
da
t
a f
i
le portability be
t
wee
n
various syste
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibbey
A few more pt
h
r
ea
d
_testcancel()'s
.
Should be
t
h
e
l
a
st
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ibbey
Thread canc
e
llation tes
t
s in do_co
m
press()
a
nd do_decomp
r
ess()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't send status message
s
t
o
clients that are ex
i
ting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a se
g
fa
u
lt with
t
h
e SAVE
c
o
m
m
and when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
More t
h
r
ead cancelation te
s
t
s and
h
andlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mu
t
ex for the custom memory functi
o
ns
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Cre
a
te
a
new thread when reloa
d
ing the
r
c
f
i
le
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
o
re thread cancellation tests (more
to come
)
and
t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple more thread c
a
n
c
e
llat
i
on tests a
n
d cleanup
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If
t
he cl
i
ent thread t
e
rmi
n
a
t
es while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
Setup a
c
l
eanup handler in it
e
r
ate_
c
rypto_once
(
) in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When
encryp
t
in
g
/decrypting,
d
on't do th
e
w
hole th
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
In cleanup_
c
b(),
don't free
c
n->n
a
me
unt
i
l everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
bey
B
e
tte
r
mute
x
l
ocking an
d
u
n
l
o
cking macros
.
U
s
eful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
pdate the mtime
i
n do_x
m
l
_
encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
crypto->inbuf is set to the data to encrypt
wh
e
n passed to
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Use gcry_
.
.
.
memo
r
y
f
unctions in do_
c
omp
r
ess() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Retur
n
GPG_ERR_EN
O
ANO if the
data file is not a regula
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple mino
r
cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
i
xed potential
l
y not
f
r
e
e
ing all ca
c
he entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
s
tatus messages se
n
d with send_status_all
(
)
on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
F
i
xed tls_init() not initializ
i
ng th
e
SHA
-
1 hash s
i
ze
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initia
l
ize lib
g
cr
y
pt properly by calling gcry_
c
heck_ve
r
sion()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Move
i
nitTlsParams()
and de
i
nitTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ib
b
ey
Added opti
o
n "tcp_use_crl"
.
Whe
n
TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
Set
t
h
e s
i
gnal
mask before o
t
her threads
are cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try and link wi
t
h -lr
t
on systems
o
t
h
er
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixe
d
a compil
e
ti
m
e error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed a compile t
i
me w
a
rning
on Fre
e
BSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
R
emove old < v1
.
1
1 co
m
mand lin
e
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Use PTHREAD_MUTEX_RECURSIVE not P
T
HREAD_
M
UTEX_RECURS
I
VE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
ib
b
ey
F
i
xed
s
ome c
o
mple time con
d
itionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Re
s
tore cl
i
ent->has_l
o
ck in
cleanup_client(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibb
e
y
Us
e
a
structur
e
in
f
i
l
e
_c
a
ch
e
_
t
to
h
old th
e
file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
Th
e
client mus
t
explicitly set OP
T
ION PINE
N
TRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't write a log
message w
h
e
n
the cach
e
mutex is lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
eally fix commi
t
a7
e
15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
R
e
ver
t
"Fix for
c
ommit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
en
Kibbey
Fix
f
or commit a7
e
15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the keepalive_t
h
r
e
ad
(
)
after rece
i
ving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accepting
TC
P
connect
i
ons
when
s
hutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
K
i
bb
e
y
If M
E
M_DEBUG is de
f
in
e
d then
set the
x
.
.
.
de/all
o
c
a
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an
S
H
A-1 fin
g
erp
r
int rather than M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibb
e
y
Fixed a segfau
l
t
w
h
en
T
L
S
f
ail
e
d ne
g
otiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbe
y
Create
the cli
e
nt_msg_thread
and client_ms
g
_sender_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibb
e
y
Only
a
ppend uniq
u
e status messag
e
s
t
o the
me
s
sage
queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
If the c
u
rrent thre
a
d is callin
g
send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
M
ake sure
the m
s
g mut
e
x is unlocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en Kibbey
Create a
message queue that won't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
K
ibbey
Ported to pthread
.
cac
h
e_mut
e
x
a
nd cn
_
m
u
tex a
r
e
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop
o
r sta
r
t the tcp
_
accept_th
r
e
a
d() dependi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Updated the copyright h
e
aders for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixed a pinentry segfault (hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
bbey
Al
l
ow
o
th
e
r
c
haracters in the fi
l
enam
e
w
hen using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
M
o
ved COMMANDS t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kib
b
ey
Re
t
urn GP
G
_ERR_NO_VALUE instead of
a
synt
a
x error
f
r
om
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
R
e
-a
d
d
.
flag
s
to
the new v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory
l
eak in pinentry
_
it
e
rate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Fixed starting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
Kibbey
Warn about
errors opening
a
key
_
file while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
clear_
c
ache
(
)
clearing all cache ent
r
ies
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fi
x
ed a memory l
e
ak
c
re
a
te_d
t
d(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
ixed asking for a passphrase after
opening a new fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed closin
g
the wr
o
ng
FD in cleanup_crypt
o
()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Ki
b
bey
F
i
xed SAVE with a pas
s
phrase specified in the comm
a
nd
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Clo
s
e th
e
cip
h
er handle in crypt
o
_
cleanup(
)
;
commit
|
commitdiff
|
tree
2009-01-05
Be
n
K
i
b
b
ey
Fix
e
d some compile-time
warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
b
e
y
T
he "d
i
sab
l
e_list_an
d
_dump"
con
f
iguration para
m
eter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
bey
W
h
e
n importin
g
, co
n
verting
a
n
d pushing f
i
les into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ibbe
y
S
ome cod
e
rearrange
m
ents
.
G
etting re
a
dy
to fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show the out
p
ut fil
e
name a
n
d not s
t
dout in th
e
impo
r
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben K
i
bbey
Fixed a m
e
mory l
e
ak in do
_
c
a
che_p
u
sh()
.
The do
c
ument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
Hand
l
e STATUS_CO
M
P
RESS/DECOMPRES
S
/ENCRYPT/DECRYPT
in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en Kibbey
Fixed the pinentry dialog sh
o
w
i
ng
t
he wro
n
g fi
l
e
name
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben K
i
bbey
Fixed freeing
"
tcp_wait" in tcp_a
c
cept_th
r
e
ad
(
)
b
e
for
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbe
y
Added conf
i
guration param
e
ter "cipher_
s
ui
t
e"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
C
heck the return value of
pt
h
_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Ki
b
bey
Updated the doc
s
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use sen
d
_
sta
t
us() fr
o
m CACHE
_
L
O
CK
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kibbey
S
et the thread name f
o
r other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n
K
ibbey
Remov
e
d
t
h
e unused file header variable
s
.
Th
e
y
can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n
Kibbe
y
Allow "GETCONFI
G
key" and "GETCONFIG key_fil
e
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added co
m
m
a
n
d VERSION to r
e
t
urn
t
he version string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n K
i
bbey
Set th
e
client FD to non-blocking in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_file
"
is
spe
c
ified in the configuration and
.
.
.
commit
|
commitdiff
|
tree
next