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
Don't send status messages to clients that are exiting. Fixes a hang
2009-01-29
B
e
n Kibbey
D
o
n't send
s
tatus
messages to
c
lients that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Fixed
a
segfau
l
t wi
t
h the SAVE command w
h
en
u
sed
w
it
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kib
b
e
y
M
o
re t
h
r
ead cancelati
o
n tes
t
s
an
d
handl
e
r
s
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Cre
a
te a mutex for the custom mem
o
ry functions
.
Fi
x
es
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a
n
ew thre
a
d whe
n
rel
o
ading th
e
r
c
file
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
o
re thread ca
n
ce
l
lation tes
t
s
(
more to come) and
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kib
b
ey
A couple
m
o
re thread cancel
l
ation t
e
sts and clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibb
e
y
I
f
the
c
l
ient th
r
ead ter
m
inates
w
h
i
le a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Setup a cleanup hand
l
er i
n
iterate_cr
y
pto_once() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
When
e
ncryp
t
i
ng/dec
r
ypting, d
o
n't
d
o the whole
t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(), don't
free cn->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Better mutex locking and un
l
ocki
n
g macros
.
Useful
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
U
p
date the
m
time
i
n do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kib
b
e
y
crypto->inbu
f
is set
to the data to encrypt when passed
t
o
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
memor
y
functions in do_compr
e
ss() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG
_
ER
R
_EN
O
ANO if the dat
a
file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
A co
u
ple minor c
a
c
he
.
c
c
leanups
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed potentially not freeing all
c
ac
h
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed status messages
send with send_s
t
atus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Fixed tls
_
in
i
t(
)
not initializing the SHA
-
1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ib
b
e
y
Initialize libgcrypt prop
e
rly by callin
g
gcry_check_versio
n
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Mov
e
init
T
lsParams(
)
and dein
i
tTls
P
a
r
ams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Added optio
n
"t
c
p_use
_
crl"
.
When TRUE, ~/
.
pw
m
d
/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Set the signal mask be
f
ore other
t
hreads
are crea
t
ed
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
D
on't try and link
wi
t
h -lrt on syste
m
s other th
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compi
l
e
t
ime erro
r
on
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bb
e
y
Fixed a compile
t
i
me warning on F
r
e
e
BSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
R
emove old < v1
.
11 command lin
e
o
p
tion -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHR
E
AD_M
U
T
EX_
R
ECURSIVE not PTH
R
EAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fix
e
d some comple ti
m
e condit
i
onals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Rest
o
r
e
clie
n
t->has_lock i
n
cleanup_client
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
U
s
e a struct
u
re in file_cache_t
t
o hold the file
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ib
b
e
y
The client must
e
x
p
lic
i
tly s
e
t OPTION PINENTRY i
f
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
D
on
'
t write a log message when the cache mute
x
is
l
ocked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Real
l
y
fix commit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Reve
r
t "
F
ix for c
o
mmit a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
F
i
x
f
or co
m
mit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
R
estart the ke
e
pali
v
e_thread() after receivi
n
g SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Ki
b
bey
Stop accepting TCP conn
e
cti
o
ns wh
e
n shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
bey
I
f MEM_DEBUG is
d
efi
n
ed then set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an
S
HA-1 fi
n
gerprint rathe
r
than MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed
a segfault whe
n
TLS failed negotiatio
n
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibbey
C
reate the client_msg_thread and cl
i
ent_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
Only append uni
q
ue stat
u
s messages
to the
m
ess
a
ge
queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
If the current thr
e
ad is call
i
ng send_
s
tatus_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Make sure t
h
e
msg mutex is
unloc
k
ed before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibb
e
y
Cre
a
t
e a
m
essage queue that won't b
l
ock s
e
nd_
s
tatus_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
K
ibbey
Ported to pthread
.
cache_mutex and
c
n
_
mutex are no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kib
b
ey
SIGHUP wi
l
l
stop
o
r
start
t
he
tcp_accept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Ki
b
bey
Updated the copyright header
s
f
or
2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
ixed
a pinentry s
e
g
fault (
h
opefully) during cl
e
anup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n
K
ibbey
Allow other character
s
in
the file
n
a
m
e
when
u
sing GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Mov
e
d COMMAN
D
S to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Return GPG_E
R
R_
N
O_V
A
LUE instead of a syn
t
ax erro
r
from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibb
e
y
R
e-a
d
d
.
flags
t
o t
h
e new
v2
f
i
l
e header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
Fixed a memory le
a
k in
p
inentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed start
i
ng up witho
u
t an
r
cfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibb
e
y
Warn about errors opening a key
_
fi
l
e while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibb
e
y
Fixed
c
le
a
r_cach
e
(
)
clearing al
l
cache ent
r
ies
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
F
i
xed
a
memor
y
l
e
a
k create_
d
td()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
ixed asking
f
or a pa
s
sphrase after op
e
ning a n
e
w file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
ed closi
n
g t
h
e
w
rong FD i
n
cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed SAVE wit
h
a passphrase specif
i
ed in the command
.
commit
|
commitdiff
|
tree
2009-01-05
B
e
n
Kibb
e
y
Clos
e
the cipher handle in c
r
ypt
o
_c
l
eanup(
)
;
commit
|
commitdiff
|
tree
2009-01-05
Be
n
Kibb
e
y
F
i
xe
d
s
o
me compile-t
i
me
warnin
g
s
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "di
s
able_
l
i
s
t_and_dump" co
n
figurati
o
n parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
W
hen im
p
o
rt
i
ng, conv
e
rting and
p
ush
i
n
g files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bb
e
y
S
ome code
r
earra
n
gements
.
Getting ready
t
o fix
f
reeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show th
e
output filena
m
e and not stdout in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbe
y
F
i
xed a
m
emory lea
k
in do_cache_push(
)
.
The
document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Handle
STATUS_COMPRESS/DEC
O
M
P
RESS/ENCR
Y
PT/DE
C
RYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed the pinentr
y
dialog
s
howing the
wron
g
filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
ibb
e
y
Fi
x
e
d
fr
e
ei
n
g "tcp_w
a
it
"
in
tcp_accept_thread
(
) bef
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben K
i
bbey
Added configura
t
ion p
a
r
am
e
t
e
r "
c
iph
e
r
_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbe
y
C
h
eck the retu
r
n value
of
p
th_spaw
n
()
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
B
en K
i
bbe
y
Use send_status() from CACHE_
L
OCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kib
b
ey
Set the t
h
read name fo
r
other thre
a
ds too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
Kibbey
Removed
t
he unused fil
e
header
variables
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Be
n
K
i
bbey
Al
l
ow "GETCONFIG key" and "GET
C
O
N
FIG key_file
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbe
y
Added c
o
m
m
and VERSION
t
o
return the vers
i
on string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibb
e
y
S
e
t the cl
i
ent FD
t
o no
n
-blocking in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Ki
b
bey
Wh
e
n "key_file" i
s
specified in
t
h
e
c
onfiguration
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Be
n
Kibbey
Ret
u
rn a gboo
l
ean from vali
d
a
te_access()
.
commit
|
commitdiff
|
tree
2008-11-22
B
en Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
e
y
Use
a
t
emporar
y
v
ariable in r
e
load_rcfile() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Be
n
K
i
bbey
WITH_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
ey
Revert "Set the client socket file
descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
ey
Fix
f
or commit 8f85846
.
Show the act
u
al error description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _S
C
_PAGESIZE
as the size argument to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibb
e
y
Revert "
F
ixed
a leak in cache
_
free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Ki
b
bey
Fixe
d
a leak in cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
Redid t
h
e file cac
h
e t
o
use
a
GSList (singular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Moved read
_
h
o
ok() and
w
r
i
te_hook()
t
o tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
K
i
bbey
Use log_write() inst
e
ad of warn[x] and fpr
i
ntf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
en K
i
bbey
L
et the "key_file" configuration parameter work
with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Kibbey
Revert "Fixed OPEN an
d
SAVE t
o
use
t
he
"
key_file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
bey
Revert "Added OP
T
ION KEYFILE
.
Setting to 0 wil
l
disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
K
ibb
e
y
Added OP
T
ION
KEYF
I
LE
.
Set
t
ing
t
o
0 will disable trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n
Kibbey
F
ixed OPEN and SAVE
to use
the "key_
f
ile" if specified
.
.
.
commit
|
commitdiff
|
tree
next