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 commit 4b32921. Unlock the cache mutex.
2009-01-25
Ben Kib
b
ey
In cl
e
a
n
up_cb(), do
n
'
t
free cn->name until ever
y
th
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
Bet
t
er mute
x
lock
i
ng and unlocking m
a
cr
o
s
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
p
date the mti
m
e in do_
x
ml_enc
r
y
p
t
()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
cr
y
pt
o
-
>
i
nbuf i
s
set to the
d
a
t
a to encrypt when pas
s
ed to
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Use gcry_
.
.
.
memory functions
i
n
do_
c
ompress() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GP
G
_ERR_E
N
OANO if the data file is
n
o
t
a
re
g
u
l
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
A couple minor cache
.
c clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ib
b
ey
Fixed potentially
n
ot freeing all cache entr
i
es in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed status me
s
s
a
g
es se
n
d
with send_s
t
atus
_
a
ll() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fix
e
d tls_init
(
) no
t
i
n
itializing the SHA-1
h
ash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Initialize lib
g
crypt properly by calling
gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Mo
v
e init
T
lsParam
s
() and
d
einitTlsParams()
t
o tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Added option "tc
p
_use_c
r
l"
.
W
hen
TRUE
,
~
/
.
pw
m
d/c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Se
t
the si
g
nal mas
k
be
f
o
re
other threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Don't try and
l
ink with
-
lr
t
on systems othe
r
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a
compil
e
time
e
rror on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fix
e
d
a compile t
i
me wa
r
ning on F
r
eeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Remove old
<
v
1
.
1
1
comma
n
d line
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use PTHRE
A
D
_MUTEX_RECURS
I
V
E not PTHREAD_MUTEX_REC
U
RSIVE_N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed some
comple time condi
t
iona
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Resto
r
e client->has_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
U
s
e
a
st
r
uc
t
u
r
e in file_cach
e
_t
t
o
h
o
ld the file mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibb
e
y
The client must explicitly set
O
P
T
ION PINENTRY if th
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Don't write
a
l
o
g m
e
ssa
g
e when the
cac
h
e
mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Ki
b
be
y
Rever
t
"Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Fix for
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
s
tar
t
the keepal
i
ve_thre
a
d() after receivi
n
g SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Kibbey
Stop acc
e
p
t
ing TCP con
n
ections when shutti
n
g down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Kibbey
If ME
M
_DEBUG is d
e
fine
d
then
s
et the
x
.
.
.
de/al
l
ocat
o
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbe
y
Use an SHA-1 fin
g
erprint rather t
h
an M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
F
i
xed a segfa
u
lt when TLS failed
n
egotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the client_msg_thre
a
d and cli
e
nt_msg_sen
d
er_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only
a
ppend uniq
u
e
s
tatus
mes
s
a
ges to the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
b
be
y
If the
current thread is calling send_status_
a
ll(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure th
e
msg mutex is unlock
e
d
before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n
Kibbey
Create a
m
essage
queu
e
that w
o
n't bloc
k
sen
d
_stat
u
s_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported
t
o
pthread
.
cache_mutex an
d
cn_mute
x
a
r
e n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
S
IGHUP will
s
to
p
or start the tcp_accept_th
r
ead() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
U
pdated the cop
y
right headers for 20
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
F
i
x
ed a pine
n
try segfaul
t
(hopefully) during cl
e
anup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Allow other charact
e
rs in
the f
i
lename when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Move
d
C
OMMAN
D
S to do
c
/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Return GPG_ERR_NO_VALUE inst
e
a
d
of a syntax
e
rror from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
b
e
y
R
e-add
.
f
l
ags t
o
the ne
w
v
2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Fi
x
ed a memory leak in p
i
n
e
ntr
y
_i
t
erate()
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
K
ibbe
y
F
i
xed st
a
r
t
ing
up wi
t
hout an r
c
file
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about errors opening a key_file while p
a
rsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fixed clear_
c
ache(
)
clearing a
l
l
cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
en
Kibbey
Fixed a memory
l
eak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d ask
i
ng for a passphrase aft
e
r opening a
n
ew f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
xed
c
losi
n
g the w
r
o
n
g
FD i
n
cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
x
ed
SAVE with a
p
assph
r
ase s
p
ecified in the co
m
mand
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the
ciphe
r
handl
e
in cr
y
p
to_
c
leanup(
)
;
commit
|
commitdiff
|
tree
2009-01-05
B
e
n K
i
bbey
Fixed so
m
e
c
ompile-tim
e
warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bbey
The "disabl
e
_list_and_dump" configuration param
e
ter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Wh
e
n impor
t
ing, con
v
erti
n
g and pushing fil
e
s into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Some code re
a
r
ran
g
emen
t
s
.
Get
t
ing re
a
dy to
fi
x
freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbey
S
h
ow the output
f
i
l
ename and not stdout in t
h
e import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
F
i
xed a
m
emory leak
in do_cache_push()
.
T
he do
c
ument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben K
i
bbey
Handle STATUS
_
C
OMPRESS/DECOMPRESS/ENC
R
YPT/DECR
Y
P
T
in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en Kibbey
F
i
xed the pinentry dialog showing the wrong file
n
ame
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kib
b
ey
F
ixed freeing "tcp_wait" in
t
cp_accept_thr
e
ad() bef
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Added
c
o
n
figura
t
ion par
a
m
e
ter "cipher
_
suite
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Ki
b
bey
Ch
e
ck the
r
eturn val
u
e
of
p
t
h_
s
pa
w
n
()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
Kibbey
Upd
a
ted the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use se
n
d_status()
f
rom CA
C
H
E_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the thread name for othe
r
thre
a
d
s
t
oo
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
K
i
bbey
Removed the unuse
d
fil
e
header vari
a
ble
s
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibb
e
y
A
l
lo
w
"GET
C
O
NFIG key" and "GET
C
ONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
ibbey
Added command VERSIO
N
to
r
eturn the versi
o
n strin
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the client FD to non-blocking in the BYE
not
i
fie
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "
k
ey_file" is specified in th
e
c
o
nfiguration
a
nd
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Ki
b
bey
Ret
u
rn
a
gboo
l
ean fr
o
m valida
t
e_acce
s
s()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge branch
'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
i
b
bey
Use a
t
emp
o
r
a
ry variable
in reload_r
c
f
il
e
()
in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben K
i
bbey
WI
T
H
_GNUTLS
fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
Kibbey
Revert "Set the cl
i
ent so
c
ket
file descriptor to
non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Be
n
Kibbey
Fix for com
m
it 8
f
85846
.
Show
t
he a
c
tua
l
e
rror description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbe
y
U
se _SC_PAGESIZE
a
s the size argument
t
o ml
o
ck()
.
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
R
e
v
ert "Fixed a leak in cache_free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Fixed a leak in
c
a
che_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
R
e
did
t
h
e
file cache to use a GSList (si
n
gular l
i
nked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Moved
re
a
d
_
h
ook() an
d
wr
i
te_hook() to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
Use log_wri
t
e
(
) inst
e
ad of warn[x
]
a
nd
fprin
t
f
(
s
tde
r
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
L
et t
h
e
"
key
_
f
i
le" c
o
nfiguration
pa
r
a
m
eter work with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben
K
ibbey
Revert "F
i
xed OPEN and SAVE to use the "key_file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Be
n
Kibbey
Rev
e
rt "Add
e
d
O
P
T
ION K
E
Y
F
I
LE
.
S
e
t
tin
g
to
0
will d
i
sable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Ad
d
ed
O
PTI
O
N KEYFILE
.
S
e
tt
i
n
g
to 0 will disable tr
y
ing
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Fixed OPEN
a
n
d
SAVE
to use the "ke
y
_
file" if spe
c
ified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Let -C use
a
k
e
yf
i
l
e
with -k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Fixed
a
couple of min
o
r memory lea
k
s
.
commit
|
commitdiff
|
tree
2008-11-15
B
e
n Kibbey
Ad
d
ed conf
i
guration option "tcp_wa
i
t"
.
S
e
ts t
h
e time
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Fixed SO_REU
S
EADD
R
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
A
dded command line opti
o
n -k to obtain the k
e
y
from
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben K
i
bbey
Don't change
"disable_li
s
t_an
d
_dum
p
"
af
t
er re
l
oading
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben K
i
bbe
y
Cha
n
ge the version strin
g
to 2
.
0-d
e
v
.
commit
|
commitdiff
|
tree
2008-11-15
Ben
K
ibbey
Version 1
.
15
.
commit
|
commitdiff
|
tree
2008-11-15
Be
n
Kibbey
Added command line
option -k to
s
pecify a keyfile when
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Chang
e
the visible "password
"
strings to "pas
s
phrase
.
.
.
commit
|
commitdiff
|
tree
next