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
Fix for the previous commit that wouldn't terminate the client if a
2009-02-05
B
en Kibbey
F
i
x for th
e
pre
v
ious comm
i
t that wouldn't
t
erminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Ki
b
bey
Use
a
l
ocal mu
t
e
x
in client_msg
_
thre
a
d()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Use a goffset rather
t
han gsize for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fi
x
ed status messages to use
t
he new iteration typ
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
ibbey
Fi
x
ed
d
ata file portab
i
lity between
va
r
io
u
s sys
t
e
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbe
y
A f
e
w more pthre
a
d_
t
es
t
cancel()'s
.
Shoul
d
be t
h
e last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbe
y
Thread cancellation tes
t
s i
n
do_compr
e
ss() and do_deco
m
pr
e
ss()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
Don't send status mes
s
ages to
c
lie
n
ts that are e
x
iting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfault with
t
h
e
SAVE comm
a
nd when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
M
o
re thread c
a
ncel
a
t
ion tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
Create
a mutex for th
e
custom memory f
u
n
c
tions
.
Fixe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a new thread whe
n
reloading the
r
cfile
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Ki
b
be
y
Mor
e
th
r
ead cancellation tests (more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple mo
r
e th
r
e
a
d
cancellat
i
on
t
ests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kibbey
If
t
h
e
client thread terminates while a
pine
n
try is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setu
p
a cleanup
handler in iterate
_
crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbe
y
Wh
e
n encrypting
/
decr
y
p
t
ing, don'
t
d
o
the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(), don't free cn->name until everyth
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
Better mutex locking and u
n
locking
m
acros
.
Use
f
ul
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbe
y
Update the mtime in do_xml_e
n
crypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
crypto->i
n
buf is set to
t
he data to encrypt when passed
to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
mem
o
ry f
u
nctions in d
o
_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Return GPG_ERR_ENOANO
i
f t
h
e
data file is not
a
regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
b
e
y
A
couple minor
c
ache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
ibbey
Fixed pote
n
tia
l
l
y
n
ot freeing all
cache entries
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed s
t
atus
m
essages
s
end with
send_status_all()
on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed tls
_
init() not
i
nitializing the
S
HA-1 hash s
i
ze
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
I
n
i
t
ialize libgcrypt properly by
c
alling gcry_check
_
v
e
rsion
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
Mo
v
e
i
nit
T
lsParams() and de
i
n
i
tTlsPara
m
s() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
A
dded option "tcp_use
_
crl"
.
When TRUE,
~
/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the si
g
nal
mask befor
e
o
ther threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
bey
Don't try and link wi
t
h -lrt on
s
ystems
other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
ib
b
ey
Fixe
d
a compi
l
e ti
m
e er
r
or on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
Fixed a compile
t
ime warning
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v1
.
11 command
l
ine option
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PT
H
REA
D
_M
U
TEX_
R
ECURSIVE not PTHREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed
s
ome comple time condition
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Ki
b
bey
Restore client->h
a
s_loc
k
in cleanup_cl
i
ent
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bbey
Use a stru
c
ture
i
n f
i
l
e
_cache_t to hold th
e
file mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
T
h
e client
m
ust explicitly set OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
D
on't wr
i
te a log m
e
ssage whe
n
the
c
ache mutex is
l
oc
k
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Real
l
y fix commit
a
7
e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Revert "Fix for
c
ommit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
F
i
x
f
o
r commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibb
e
y
Restart the
k
ee
p
ali
v
e_thread() after receiving SI
G
HUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Kibbey
Stop accep
t
ing TCP
connect
i
ons whe
n
shutti
n
g down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
If MEM_DEBUG is defined then
s
et t
h
e x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Kibbey
Use an SHA-
1
fingerprint
rather
t
ha
n
MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Ki
b
b
e
y
Fixed a segf
a
u
l
t wh
e
n T
L
S fai
l
ed
n
egotia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
C
reate the client
_
msg_
t
hread and client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only append uniqu
e
status mes
s
ag
e
s t
o
the messag
e
queue
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
I
f
the curre
n
t thread
is c
a
lling send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure
t
he msg mutex is unlocked before tryin
g
to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n Kibb
e
y
Create a messag
e
q
u
eue th
a
t w
o
n't b
l
o
c
k
s
e
nd_sta
t
us_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
P
orted to pthrea
d
.
cache_mutex
a
nd cn_
m
utex are
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP wil
l
sto
p
or
s
tart the tcp_accept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the
c
opyright headers
for
20
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
F
ixed
a pi
n
entry segfault (hopefully) dur
i
ng clea
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n
Kibbey
Allow oth
e
r characters in the filena
m
e w
h
en us
i
n
g
GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Moved COMMANDS
t
o doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
R
eturn GP
G
_
ERR_NO_VALUE instead of a sy
n
tax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
f
lags t
o
th
e
new v2 file
he
a
d
er
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
Kibbey
Fixed a mem
o
ry leak in pinentr
y
_iterate
(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixe
d
starting
up without an rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn
abou
t
err
o
rs openin
g
a
k
ey_fil
e
while p
a
rsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
ixed
clear_ca
c
he
(
) clearing a
l
l
cache e
n
tries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben K
i
bbey
F
i
xed a
me
m
ory leak cre
a
te
_
dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed asking f
o
r a passphrase af
t
er opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kib
b
ey
Fixed
c
losing
t
h
e
wrong FD
in c
l
eanup_
c
r
ypto
(
) and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
Kibbey
Fixed SA
V
E with a pass
p
hrase specifie
d
in the co
m
ma
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Clo
s
e the ciph
e
r h
a
ndl
e
in crypto
_
cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Ki
b
bey
Fixed some
c
ompile-time wa
r
ni
n
gs
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kibbey
The
"
d
isab
l
e_list_and_dump" configurati
o
n parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Wh
e
n importing, converting and pushing files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kib
b
ey
Some c
o
de rearrang
e
m
e
n
ts
.
Ge
t
ting ready to fix
f
r
eeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibb
e
y
S
h
ow
the
o
utput filename
and not st
d
out in the i
m
po
r
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
Fixed a memory le
a
k i
n
do_cache_push()
.
T
he do
c
ument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Ki
b
bey
Handle STATU
S
_COMPRESS
/
DEC
O
MPRE
S
S/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed the pi
n
e
n
t
ry di
a
log showing
the wrong
f
ilenam
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
Kibbey
Fixed freeing "tc
p
_wa
i
t" in tcp_accep
t
_thread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
b
bey
Added configuratio
n
parameter "cipher
_
suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
ibb
e
y
Che
c
k
the retur
n
va
l
ue of
p
th_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbe
y
Up
d
ated the
d
oc
s
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use send_statu
s
(
)
from
C
ACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
Kibbey
S
et the
thread name
f
or
o
the
r
thread
s
too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
R
e
moved the unused
f
ile header v
a
r
i
ables
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
Kib
b
ey
Allow "GETCONFIG key" and "GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
B
en
K
ibbey
Added command VERSION to
r
etu
r
n the v
e
rsi
o
n string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the cli
e
nt FD
to non-block
i
ng in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "k
e
y_file" is speci
f
ied in t
h
e configuration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Ki
b
b
e
y
Return
a
gboolean from vali
d
ate_ac
c
ess()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge bra
n
ch
'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
ey
Use a tempora
r
y
varia
b
le
in relo
a
d_rc
f
ile
(
) in
c
ase
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WITH_GNUTLS f
i
xe
s
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Revert "S
e
t the
clie
n
t soc
k
e
t
f
i
le descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben K
i
bbey
Fix for commit 8f85846
.
Sho
w
th
e
actual erro
r
descriptio
n
.
commit
|
commitdiff
|
tree
2008-11-21
Ben K
i
bbey
Use _SC_P
A
GESIZE as
the s
i
ze argume
n
t
to mlock(
)
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
K
i
bbey
Revert "Fixed a leak in cache_fr
e
e()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibb
e
y
Fixed a leak in cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n Ki
b
bey
Redid the fi
l
e c
a
che t
o
use a GSList
(si
n
g
u
lar linked
.
.
.
commit
|
commitdiff
|
tree
next