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
Remove the exiting client from the client list as soon as possible so
2009-02-07
Ben K
i
bb
e
y
Remo
v
e t
h
e exiting client from the client list as
so
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor cl
e
anups i
n
mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Be
n
Kibbe
y
Lock the rcfile_mu
t
ex at each keyfileh acce
s
s
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't
l
ock the cn_mutex before cancell
i
ng
the cli
e
nt
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
K
ibbey
Fix for the previou
s
c
o
mmit t
h
at wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Ki
b
bey
Use a
l
ocal mutex in client
_
m
s
g_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goffset rath
e
r than gsize fo
r
cr
y
pto
-
>
i
ns
i
ze
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Be
n
Ki
b
b
e
y
Fixed status
m
essages to
use the new iterat
i
on type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fi
x
ed data file por
t
ab
i
lity
between
various syste
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Kibbey
A few more pthread_testcancel()'s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
Kib
b
ey
Threa
d
c
a
nc
e
l
lation tests in
d
o_c
o
mpress() and do_d
e
compress
(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben K
i
b
b
e
y
Don't
s
end status messages to
c
lien
t
s t
h
a
t
a
re exi
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
Fixed a segfault
with the SAVE command when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Kibbey
M
o
re thre
a
d cancelation tests and handl
e
r
s
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mutex for the cus
t
om memory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en
K
ibbey
Create a new
t
h
r
ead when reloading the rc
f
ile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
More t
h
r
e
ad cancellati
o
n te
s
ts (more to come) an
d
thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
coup
l
e more
thread cancell
a
tion tests and c
l
e
anups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kib
b
ey
If the
c
lient thread terminates while a pinent
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
K
ibbey
Setup a
c
lean
u
p h
a
ndle
r
in
i
terate_crypto_on
c
e
(
) in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
When encryptin
g
/d
e
crypting, d
o
n't
do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
In cleanup_cb(), do
n
't free cn->name until ev
e
rything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
bb
e
y
Better mutex lockin
g
and un
l
ocking ma
c
r
o
s
.
U
sefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Up
d
a
t
e the
mtime i
n
do_xml_encr
y
pt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypt
o
->inbuf i
s
set
t
o the data to encrypt when
passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Us
e
g
c
r
y_
.
.
.
memory functions i
n
do_
c
ompress(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Return GPG_ERR_ENOA
N
O if the dat
a
file is not a
r
egular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
A couple m
i
nor c
a
che
.
c
cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed pot
e
n
t
ially not fre
e
ing all c
a
che entries
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ibbey
Fi
x
ed s
t
atu
s
messages send with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed tls_init
(
)
n
ot
init
i
alizing
t
h
e
SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
ibb
e
y
Initial
i
ze
l
ibg
c
rypt properly by calling gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Move initTlsParams()
and deinitTlsPa
r
ams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ibbey
Added
o
pt
i
on "tcp_us
e
_crl"
.
When
T
RU
E
, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Se
t
the signal ma
s
k b
e
fore other thread
s
a
re created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Don
'
t
try and
l
i
nk
w
i
t
h -l
r
t o
n
syste
m
s other th
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
a
compile tim
e
error
on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fi
x
ed a compile time warning on
Fr
e
eBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old
< v1
.
11 command
l
ine option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbe
y
Use PTHREAD_MUTEX
_
RECURSIVE not PT
H
RE
A
D_MUTEX_
R
ECURSIV
E
_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed s
o
m
e
c
o
mple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Res
t
ore client->has_l
o
ck in cl
e
anup
_
cl
i
ent()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Us
e
a structu
r
e
in
f
ile_c
a
che_t to hol
d
the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
The c
l
i
e
nt must explicitly se
t
OPT
I
ON
P
INENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
ey
Don't wr
i
te a log message when t
h
e cache
mute
x
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibb
e
y
Really
fix
commit a7
e
1
5
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix f
o
r co
m
mit a7e
1
5
f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Fix
f
or
c
o
mmit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Restart the keepalive
_
t
h
r
e
ad() after receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n
Ki
b
b
e
y
Stop ac
c
epting TCP connect
i
on
s
w
h
en sh
u
tting d
o
wn and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
K
i
bbe
y
If MEM_DEBUG is d
e
f
i
n
e
d then set the
x
.
.
.
de/alloca
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Use
a
n SHA-1
fingerprint rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a se
g
fau
l
t when
T
LS failed neg
o
t
i
ation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the client_msg
_
thread and clien
t
_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Only append unique status
me
s
sages
t
o
th
e
mes
s
age qu
e
ue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
If the current t
h
read
is ca
l
lin
g
send
_
status_
a
ll(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Mak
e
sure the msg mutex is
u
n
l
ocked
b
efore t
r
ying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a mes
s
age qu
e
ue that wo
n
't bloc
k
s
end_s
t
atus_a
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
bey
Po
r
ted
t
o pthre
a
d
.
cac
h
e_mutex
and cn
_
mutex
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will
stop or start
t
he t
c
p_accept_threa
d
()
d
ependin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Ki
b
b
ey
U
pda
t
ed the c
o
pyright
h
eaders fo
r
2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
bbey
Fixed a pine
n
try segf
a
ult
(h
o
pef
u
l
l
y
)
during clea
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
b
b
ey
Allow
other characters in
the filenam
e
whe
n
using GE
T
CONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Mo
v
ed COMMA
N
D
S
to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bb
e
y
Ret
u
r
n GP
G
_
E
RR_NO_VALUE instead of a syntax err
o
r
f
r
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
Ki
b
be
y
Re-a
d
d
.
flags to the new v2 fil
e
heade
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a
memory leak
i
n pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Fixed starting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
W
a
rn about
e
r
r
ors openin
g
a k
e
y_file
w
hile
p
a
rsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Fi
x
e
d cle
a
r_cache() clea
r
ing all
cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
en Kibbey
F
i
xed a
me
m
ory leak create_d
t
d()
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibb
e
y
Fixed as
k
ing for a pass
p
hrase aft
e
r op
e
ning a
new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed clo
s
ing the
wrong FD
in cleanu
p
_crypto()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Ki
b
bey
Fixed SAVE with a passphrase specified in
t
he
c
ommand
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kib
b
ey
C
lose t
h
e cipher handle in
crypto_cleanup
(
);
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbey
F
ixed some c
o
mpile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "disable
_
list_and_dump" configu
r
ation parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When importi
n
g,
c
onve
r
ting an
d
pushing f
i
les in
t
o the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbe
y
Some code rear
r
ange
m
ents
.
Getting
ready to fix fr
e
ein
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbey
S
h
ow th
e
output file
n
a
m
e
a
nd n
o
t
s
t
d
out in the impor
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Ki
b
bey
Fixed a m
e
mory leak in do_cac
h
e
_
pu
s
h(
)
.
Th
e
d
oc
u
ment
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
Kibbey
Handle
S
TATUS_COMPRESS/DEC
O
MPRESS/E
N
CRYPT/DECRYPT
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed the pinentry dialo
g
showin
g
th
e
wrong fi
l
ename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kib
b
ey
Fix
e
d freeing "tcp_wait"
i
n tcp_accept_thr
e
ad(
)
before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Ad
d
e
d co
n
f
igu
r
ation par
a
meter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
K
i
bbey
Check the
r
eturn val
u
e of pth_spawn(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updat
e
d
the doc
s
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
U
s
e send
_
status() from CACHE_
L
OCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Se
t
the thread name fo
r
o
t
her threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Removed the
u
nused fi
l
e header vari
a
bl
e
s
.
T
h
ey can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
A
l
low "GETCONFIG
k
ey" and "GE
T
CON
F
IG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Kibbey
Added
c
ommand VERSION to
r
eturn the versi
o
n
str
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the c
l
ient
FD to no
n
-blocking in the BYE noti
f
ier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Ki
b
b
ey
When
"key_fi
l
e" is specif
i
ed in the con
f
iguration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben
Kib
b
e
y
Return a gboolea
n
from validate_acc
e
ss()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge
branch
'
v2'
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbe
y
Use a t
e
mporary variable in reload_rcfile() in ca
s
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n
Kibb
e
y
WITH_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
R
e
vert "Set
the
client
s
o
cket
f
ile descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix f
o
r commit
8
f85846
.
Show the actual error descr
i
ption
.
commit
|
commitdiff
|
tree
next