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
B
en
K
ibbey
Fi
x
e
d a typ
o
in the pre
v
i
ous commit
.
Destroy
the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed keep
a
live_thread() to u
s
e a loc
a
l
co
n
dit
i
on and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Fixed abort
i
n
g th
e
connection when the co
n
f
igured ke
e
palive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Mo
v
ed
c
lient
_
ms
g
_thre
a
d() and
c
l
i
ent_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
C
r
eated status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
After s
e
nding a status
m
essage
to send_status
(
), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Remove the exitin
g
clien
t
fr
o
m the client lis
t
as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor clea
n
u
p
s
in me
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
e
n
K
ibbe
y
Lock th
e
rcfile_mutex at
each keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
B
en
K
ibbey
Don'
t
lock
the cn_mutex befor
e
c
a
ncel
l
in
g
the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix
for
the previous commit that w
o
uldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
en Kibbey
Use
a
local mu
t
ex i
n
c
l
ient_msg_thread
(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
Use a goffset rath
e
r than
gsize
for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
Fixed
s
tatus messages to
u
se the new ite
r
atio
n
typ
e
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n Kibbey
Fixed
d
ata file portability betwe
e
n
various sy
s
tems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
A few more pthre
a
d_testcancel()'s
.
Should
b
e the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread
cancell
a
tion
test
s
i
n
do_compress(
)
and
do_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Ki
b
bey
Don't send status messages to cl
i
en
t
s that are
exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Fix
e
d a segfault w
i
th the SAVE command when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
More thread can
c
elation tes
t
s and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
Create a m
u
t
ex for
t
h
e cust
o
m memory fun
c
tions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
Cr
e
ate
a new
t
h
rea
d
when r
e
loading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibbey
More th
r
e
ad cancellation tests (more
t
o
c
ome) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
B
en Kibbey
A couple
more
t
hread cancel
l
ation
t
e
st
s
and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n
K
ibbey
If the c
l
ie
n
t thread terminates w
h
il
e
a
pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Setup a cleanup
h
andler in
i
ter
a
te_cryp
t
o
_
once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibb
e
y
When enc
r
y
ptin
g
/
d
e
c
r
ypting,
don't do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
In
c
leanup
_
cb
(
)
,
don'
t
free cn->nam
e
u
n
til ever
y
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibb
e
y
Better mu
t
ex
l
ocking and
unlocking m
a
cros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update t
h
e
m
time in do_xml_encr
y
pt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
c
r
ypto->inbuf is se
t
to the da
t
a
to encrypt
w
hen pas
s
ed to
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kib
b
ey
Use gcry_
.
.
.
memory fu
n
c
tions i
n
do_com
p
ress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibb
e
y
Return
G
PG_ERR_ENOANO if the data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
A coupl
e
mi
n
or cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
b
ey
Fixed potentiall
y
not freeing all cac
h
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed status messages send with sen
d
_sta
t
us_a
l
l() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed tls_
i
nit() n
o
t
initializing the SHA-1 h
a
sh si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Init
i
a
l
ize
libgcrypt properly by calling gcry_chec
k
_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Move i
n
itTls
P
ar
a
ms()
a
n
d
deinitTlsP
a
rams(
)
to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
Adde
d
o
p
tion "tcp_use
_
cr
l
"
.
Wh
e
n TRUE, ~/
.
p
w
m
d/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the signal ma
s
k
bef
o
re other
threads are cre
a
ted
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Don't
try and link with
-lrt on systems other tha
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed a compile ti
m
e error on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
a compile time
w
a
r
ni
n
g on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Rem
o
ve
o
l
d < v1
.
11 command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTH
R
EAD
_
MUTEX
_
R
E
CURSIVE not PTHREAD_M
U
TEX_RECU
R
SIVE_
N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed some comple tim
e
co
n
dit
i
onals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Restore client
-
>has_lock in clean
u
p_cli
e
nt()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use a structure
i
n file_ca
c
he_t
to hold th
e
f
i
le
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The client must explicitly set OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Don't write a l
o
g
m
essage when the cach
e
m
ute
x
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kib
b
ey
Re
a
lly fix commit
a
7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
e
v
ert "Fix for
c
ommi
t
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
ey
Restart the keepalive_thread() aft
e
r recei
v
ing S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
Stop acceptin
g
TCP co
n
necti
o
ns w
h
en shutting down a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DE
B
UG is defined then set th
e
x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n
K
i
bbey
Use an SH
A
-1 fingerprint ra
t
h
e
r th
a
n MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbe
y
F
ixed a segfault when
T
LS
f
ailed negotia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibb
e
y
Create the client
_
msg
_
t
h
read and client_ms
g
_
s
en
d
er_threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibb
e
y
Only a
p
pend uni
q
ue status messages
t
o the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the curr
e
n
t t
h
rea
d
is c
a
lling send_statu
s
_
all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure
th
e
msg
m
utex
is unlocked before trying t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbe
y
Cr
e
ate a mess
a
ge
queue th
a
t won't blo
c
k send_st
a
tus_a
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Porte
d
to pthread
.
cache_mu
t
ex and cn_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibb
e
y
SIGHUP wil
l
stop or star
t
the tcp_acc
e
pt_thre
a
d() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n K
i
bbey
Update
d
the copyright headers f
o
r
20
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
Fixed a
p
inentry segfau
l
t (hopefully) d
u
r
i
ng cl
e
anu
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow o
t
her characters i
n
the filename w
h
en us
i
ng GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Moved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
e
y
Return GPG_ERR_
N
O
_VALUE instead o
f
a
syntax erro
r
from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Re-a
d
d
.
f
la
g
s to the new v2
f
ile heade
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory leak in pinentry_itera
t
e()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
Fixe
d
starting up w
i
tho
u
t an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Wa
r
n
about errors opening
a
k
ey_fil
e
while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed clear_cache() cle
a
ring
all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Ki
b
b
ey
Fixed a memory leak create_
d
td()
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n
Kibbey
Fix
e
d asking f
o
r a passphrase after o
p
ening a new
f
ile
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kib
b
ey
Fixed
c
losing th
e
w
r
o
ng FD
i
n cl
e
a
n
u
p_c
r
ypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
ed SAV
E
w
i
th a passphrase specifie
d
in the c
o
mm
a
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
Be
n
Kibbey
C
l
ose the cipher handle
i
n cry
p
to_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
B
e
n
K
ibbey
Fi
x
ed
some c
o
m
pile-t
i
me warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ibbey
The "d
i
sable_list_a
n
d_dump" configurat
i
on par
a
meter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Whe
n
imp
o
rting, conv
e
rting and pushing files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bbey
Some c
o
d
e
r
e
arran
g
ements
.
Getting r
e
ady to
f
i
x freei
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
K
i
b
bey
Show the output filena
m
e and not s
t
do
u
t in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Ki
b
bey
Fixe
d
a me
m
ory
l
e
a
k
in
d
o_ca
c
he_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n Kibb
e
y
Handle S
T
ATUS
_
COMPRESS/D
E
COMPRESS/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
Fixed the pine
n
try di
a
l
o
g
showing t
h
e wro
n
g
file
n
ame
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbe
y
Fixed f
r
eeing "t
c
p_wa
i
t" in
t
cp_accept_thread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n
K
ibbey
Added
configu
r
ation pa
r
ameter "c
i
pher
_
s
u
ite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Ch
e
ck the return v
a
lue of pth_spawn
(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
Kibbe
y
Use send_status() from
C
ACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
S
e
t the th
r
ead
na
m
e for other threads
t
oo
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
R
emov
e
d the unu
s
ed f
i
le hea
d
er variables
.
Th
e
y can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
Al
l
o
w "G
E
TCONFIG key" and "
G
E
TC
O
NFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibbey
Added
c
ommand VERSION t
o
return
t
he version
stri
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibb
e
y
Set
t
he
client F
D
t
o
non-bl
o
cking in
t
he BY
E
noti
f
i
er
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_
f
il
e
" i
s
sp
e
cified in the configu
r
ation
a
nd
.
.
.
commit
|
commitdiff
|
tree
next