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 aborting the connection when the configured keepalive value is set
2009-02-07
Be
n
Kibbey
F
i
xed abo
r
ting the co
n
n
ec
t
i
o
n when the
configur
e
d
keepali
v
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
M
oved client_msg_threa
d
()
and client_m
s
g
_send
e
r_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
C
reated status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
A
fter sending a status
message to
s
end_st
a
tus(),
c
rea
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
bbey
Remove the exiting
c
lient
f
r
om th
e
client list as
so
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Minor clea
n
up
s
in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
L
oc
k
the rcf
i
le_mutex at
e
a
c
h keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Ki
b
bey
Don't l
o
c
k
the cn_mutex before ca
n
celling th
e
clien
t
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix for the p
r
evio
u
s commi
t
that wo
u
ldn't termina
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibb
e
y
Use a local mute
x
in c
l
i
e
nt
_
m
s
g_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Use a goffset rath
e
r than gs
i
z
e
for
cr
y
pto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
b
b
ey
Fix
e
d status messages to use the
n
e
w
i
teration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
F
i
x
e
d data f
i
le p
o
rtability be
t
w
e
en var
i
o
u
s
syste
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kib
b
ey
A f
e
w more
p
thread_testcan
c
el()'
s
.
Sho
u
ld be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Kibbey
Thr
e
ad canc
e
llat
i
on
tests in do_c
o
m
p
r
e
ss() and do_
d
e
c
ompress()
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
Kibbey
Don't s
e
nd status messages to client
s
that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfa
u
lt
w
it
h
the SAVE comma
n
d when used
w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
M
o
re
thread cancela
t
ion
tests
a
n
d hand
l
ers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mutex for
the custom me
m
ory fu
n
c
t
io
n
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n K
i
bbey
Crea
t
e a new thread when reloading
the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
More thread cancellation tests (more to come) an
d
threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple
m
ore thread
c
ancellation tests and cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kibbey
If the client
t
hr
e
a
d termina
t
es whil
e
a
pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Set
u
p a cleanup handler in iterate_crypto_on
c
e() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
When encrypting/decrypting, don'
t
do the
w
hole th
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
In cle
a
nup_cb(), don't
f
ree
c
n->name unt
i
l
everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Better
m
utex locking and unlocking m
a
c
r
os
.
U
s
e
ful
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update t
h
e mtime in d
o
_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ib
b
ey
cry
p
to->inbuf
i
s set t
o
the
data to encry
p
t when
p
a
s
sed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
s
e
gcry_
.
.
.
m
emory f
u
n
ctions in do_com
p
ress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return G
P
G_E
R
R
_ENOAN
O
i
f
t
he da
t
a file is not a
regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbe
y
A coup
l
e
minor
c
a
che
.
c cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
F
i
x
e
d potentially not fre
e
i
n
g
all c
a
ch
e
e
n
tries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed status messages sen
d
with send_status_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init() n
o
t i
n
it
i
alizing the SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Init
i
alize l
i
bgcrypt
p
ro
p
erly by calling gcry_c
h
eck_ve
r
s
ion()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbe
y
Move initTl
s
Par
a
ms() and de
i
nitTlsParam
s
() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Added option
"
t
c
p
_use_cr
l
"
.
When TRUE,
~
/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Set the signal ma
s
k befo
r
e other threads ar
e
created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try and link with -lrt on sy
s
tems ot
h
er than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fi
x
ed a comp
i
le time error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbe
y
Fixed a compile time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Remov
e
old
<
v
1
.
11
c
ommand li
n
e
opt
i
on
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUT
E
X_RECURSIVE not
P
THREAD
_
M
U
T
E
X_RECURSIVE_
N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed some c
o
mple time
c
ondi
t
ionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore
c
lient->
h
as_lock in clean
u
p_c
l
i
e
nt()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a struct
u
r
e in f
i
le_cache_t
t
o hold the
f
ile
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
The client must exp
l
icitly set OPTI
O
N PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
D
on't w
r
ite a log message
w
hen the cache mutex is
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
e
ally fix co
m
mit a7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Rever
t
"Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Fix for c
o
mmit a7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Res
t
a
rt the keepalive_thr
e
ad() after
r
ece
i
v
i
ng SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Sto
p
accepting TCP co
n
nections when shutti
n
g down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBUG
i
s defined then set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Ki
b
bey
Use an SH
A
-
1
fin
g
e
rprint r
a
ther t
h
an MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a seg
f
a
u
lt
w
hen TLS failed
n
e
g
o
t
i
atio
n
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
C
r
e
ate the
client_msg_thread and cli
e
n
t
_m
s
g_se
n
der_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
Only append uniq
u
e status
mess
a
ge
s
t
o the message qu
e
ue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
If the current thread is calling
s
end_status_a
l
l()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
K
i
b
b
ey
Ma
k
e sure
th
e
msg mutex is unlocked befo
r
e
trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
Crea
t
e a message queue that won't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n Kibb
e
y
Ported to p
t
hread
.
cache_mu
t
ex
and
cn_mu
t
ex are
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop or start the tcp
_
accept
_
thr
e
ad(
)
depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n
Kib
b
e
y
Updated the copyright hea
d
ers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n Kibbey
F
i
xe
d
a
pin
e
nt
r
y se
g
fault (
h
opefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbe
y
Allow
o
ther c
h
aracters in the filen
a
m
e
w
h
e
n u
s
ing GET
C
ONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
Mo
v
e
d
C
O
M
M
AN
D
S
to
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Return
G
PG_ERR_NO_V
A
LUE i
n
stead of a sy
n
tax err
o
r from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
i
b
b
e
y
Re
-
a
d
d
.
flags to the new v2 file
h
eader
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a me
m
o
r
y leak i
n
pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting
up without an rcf
i
le
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn
about erro
r
s
o
pening a ke
y
_file while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
F
ixed cl
e
ar_cache(
)
clearing all c
a
c
h
e entr
i
es
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibb
e
y
Fixed a memory leak c
r
eate_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
Fixed a
s
kin
g
f
or a
pas
s
p
hrase after
o
pening
a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bb
e
y
Fixed closing the
w
rong FD in cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
Kib
b
ey
Fixed SAVE with a passp
h
rase spe
c
ified in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbe
y
Cl
o
se the ciph
e
r hand
l
e in crypt
o
_
c
leanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
F
ixe
d
some compile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Kibb
e
y
T
he "disable_l
i
st_and_dump"
configur
a
t
i
on parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When impo
r
ting, co
n
verting and pushing files into
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbey
Some co
d
e
r
ear
r
ang
e
me
n
ts
.
Getting ready to
f
i
x fr
e
eing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbey
Show the
o
u
tput f
i
l
e
nam
e
and not stdout
i
n t
h
e import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
Fixed a memory leak in do_c
a
che_pu
s
h()
.
Th
e
docume
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n K
i
b
b
ey
Handle STATUS_COMPRES
S
/
D
ECOMPRESS/ENCR
Y
PT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed the pinentry dialog showing the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kibbey
Fixed freeing "tcp_wait
"
in tcp_accept_
t
hread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Add
e
d
configura
t
ion
parameter "cipher_suite
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben K
i
bbe
y
Check the re
t
urn value of pth_s
p
awn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Upd
a
t
e
d
the
docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
U
s
e
s
e
nd_statu
s
(
)
fr
o
m CACHE_
L
OCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set
the thre
a
d name for other thre
a
ds too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Re
m
oved the
u
nused file header variables
.
They
c
an
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben K
i
bbey
Allow "
G
ET
C
ON
F
IG key" and "GETCONFI
G
key_fil
e
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
A
d
ded
comma
n
d V
E
RSIO
N
t
o return
the version s
t
ring
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
S
e
t
the client FD to non-blocki
n
g
in the
BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbe
y
Wh
e
n "k
e
y_file" is specified i
n
the config
u
ration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en Kibbey
Return a gboolean from validate_a
c
cess()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
M
erge branc
h
'v2'
commit
|
commitdiff
|
tree
next