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
Ben K
i
bbey
Fi
x
ed abo
r
ting t
h
e co
n
n
e
ction
w
hen the configu
r
ed ke
e
palive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n K
i
b
b
e
y
M
o
ved client_msg_thr
e
ad() and cl
i
ent_msg_sende
r
_
th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Creat
e
d
s
t
atus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Af
t
er
sending a
s
tatus messa
g
e to send_stat
u
s(
)
, create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Rem
o
ve
the
exiting cli
e
nt from the cli
e
nt list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbe
y
Minor clea
n
u
p
s
i
n
m
em
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben K
i
bbey
L
o
ck the rcfile_mutex at ea
c
h keyfileh
a
ccess
.
commit
|
commitdiff
|
tree
2009-02-06
B
en Kibbey
Don't lock the cn_mutex b
e
fore ca
n
celling th
e
client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
en Kibbey
Fix for the previous commit that
w
ouldn't
t
ermin
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Us
e
a lo
c
al mut
e
x in client_msg
_
thread(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
ibbey
Use
a gof
f
s
e
t rather than
gsize for crypt
o
->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
F
ixed status m
e
ssages to
u
se the n
e
w
ite
r
ation type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
Fixed data
f
i
le portability
be
t
ween
var
i
ous syst
e
ms
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ibbey
A f
e
w more pthread_tes
t
c
a
ncel()'s
.
Should
b
e the
l
ast
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Threa
d
cancellation tests
in
d
o_compress() and do_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
ib
b
ey
Don't send status messages to clients that are exi
t
in
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbe
y
F
i
xed a segfault
w
ith the S
A
VE command w
h
en use
d
with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Mor
e
thread cancelation tests
a
nd handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
C
r
eate a
m
utex fo
r
the custom mem
o
r
y f
u
nctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
Create a new thread w
h
e
n reloadin
g
th
e
rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbe
y
Mor
e
thread can
c
ellat
i
o
n
te
s
ts (more
to co
m
e)
a
nd thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
A couple mo
r
e
t
hread cancellatio
n
tes
t
s
a
n
d
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kibbe
y
I
f the
c
li
e
nt thr
e
ad terminat
e
s whil
e
a pinentr
y
is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Set
u
p
a cleanup
h
andler in iterate_crypto_once() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
When encrypting/
d
ecrypting, don't do the whole
t
hi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanu
p
_cb
(
),
don't free cn->name u
n
til everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better
m
utex
l
ocking and unlocking
macros
.
Usefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbe
y
Update
the mtime
i
n
do_xml_encrypt
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbuf is set to the data to enc
r
ypt
w
hen passed
to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
m
emory funct
i
ons in do_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Retur
n
GPG_ERR_ENOANO if the data file is
n
o
t
a regul
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
c
o
u
ple minor ca
c
he
.
c clea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n K
i
b
bey
Fixed potentially not f
r
ee
i
n
g
a
l
l cache ent
r
i
e
s in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed status
message
s
send with send_st
a
tus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fi
x
e
d
tls_ini
t
() n
o
t initia
l
i
z
ing the SHA
-
1 hash siz
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Init
i
alize lib
g
c
ry
p
t
p
roperly by
calling gcry_ch
e
ck_version
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Move initTlsParams() and d
e
initTl
s
Params()
t
o
t
ls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Added option
"tcp
_
use_crl"
.
Wh
e
n
TRUE, ~/
.
pwm
d
/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibb
e
y
Set the
signal mask before othe
r
threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Don't try
and link w
i
th -lrt on
s
ystems ot
h
er than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibb
e
y
Fixed a
c
ompile
t
i
me error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed a compile
time warni
n
g on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Remo
v
e old
<
v
1
.
11 c
o
mma
n
d line
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Use PTHREA
D
_
MUTEX_RECURSI
V
E
not PTH
R
EAD_MUT
E
X_REC
U
RSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed
some co
m
ple time con
d
it
i
o
nals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Restor
e
client->
h
as_lock
i
n
cleanup_c
l
i
ent()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Use
a str
u
c
t
u
re i
n
file_cache_t to hold
the fi
l
e
mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
The
c
l
i
ent must explici
t
ly set OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Don't write a log message wh
e
n the cach
e
mutex is lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Ki
b
be
y
Reall
y
fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
e
vert "Fix for
c
ommit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
e
y
Fi
x
for
c
om
m
it a7e15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
s
tar
t
t
h
e kee
p
aliv
e
_thread(
)
af
t
e
r
receiv
i
ng SIGHU
P
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
Stop accepting TCP connect
i
ons when shutting
d
own and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If
M
E
M
_
DEBUG
is define
d
then
s
et
t
he
x
.
.
.
de/al
l
oca
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
U
s
e an SHA-1 f
i
nge
r
print rather th
a
n MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed
a segfault when T
L
S
fai
l
ed negotiat
i
on
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Create th
e
client_ms
g
_
thread an
d
client_
m
sg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Ki
b
bey
Only append uni
q
ue
s
tatus me
s
sages to the messa
g
e queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Ki
b
b
ey
If the cu
r
re
n
t thread is
c
alling send_
s
t
a
t
us_all
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sur
e
the ms
g
m
u
tex i
s
unlocked before tryi
n
g to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
Kibbey
Crea
t
e a message q
u
eue that won't
b
l
o
ck s
e
nd_
s
tatu
s
_
a
ll
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibb
e
y
P
orted to pth
r
e
a
d
.
cache_mutex and
cn_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
en Ki
b
bey
SIGH
U
P will stop or start the tcp_accept
_
thread
(
) depe
n
ding
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
bbey
Update
d
the copyri
g
ht headers for 2
0
09
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
ixe
d
a pinent
r
y
segfault (hop
e
f
u
ll
y
) during clea
n
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Al
l
o
w ot
h
er chara
c
ters in
t
h
e filenam
e
when
using GETCONFI
G
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMANDS to
d
o
c/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re
t
ur
n
GPG_ER
R
_NO_
V
A
L
U
E instead of
a
syntax error f
r
om
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en K
i
bbey
R
e
-add
.
fl
a
gs to the ne
w
v2 fi
l
e header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory le
a
k in pinentry_iterat
e
()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
ixed starti
n
g up wi
t
hout an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
War
n
a
b
out erro
r
s
o
pening a key_file while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fix
e
d cle
a
r_cache() cle
a
ring all cache entr
i
es
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fixed a m
e
mory leak
c
reate_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixe
d
asking for a p
a
ssphrase afte
r
o
p
ening a new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbe
y
F
i
xed closing the
wrong FD
in cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
en
Kibbey
Fixed SAVE with
a pa
s
s
p
hrase specified in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bb
e
y
Close
t
he cipher handle
i
n cryp
t
o_cle
a
n
up();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some compile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
T
he
"disa
b
le_
l
ist_and_
d
ump" configuratio
n
parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When importing, converting and pushi
n
g file
s
into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Kibbey
Some code rearrang
e
ment
s
.
Get
t
ing rea
d
y to fix
f
reeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Ki
b
bey
Show the output filename and not stdout in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Kibbey
Fixed a memo
r
y leak in do_cache_pus
h
()
.
T
he document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en Kibbey
Handle S
T
ATU
S
_COMPRESS/DEC
O
M
P
RESS/
E
NC
R
Y
P
T
/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n
Ki
b
bey
Fixed t
h
e pinentry di
a
log showing the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n Kibbey
Fixed freei
n
g "tcp_wait"
in tcp_acce
p
t_
t
hre
a
d() bef
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kibbey
Added co
n
fig
u
r
a
tion parame
t
er "cipher_
s
uite
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben K
i
bbey
Chec
k
t
he re
t
ur
n
v
a
lue of pth_s
p
awn
(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kib
b
e
y
Updated the do
c
s
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Ki
b
bey
Use send_status()
f
rom CACHE_L
O
CK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbe
y
Set t
h
e th
r
ead name fo
r
othe
r
threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Be
n
Kibbey
Removed the
u
nuse
d
file he
a
d
e
r va
r
iables
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
Allow "GETCONFIG key" and
"GET
C
O
N
FI
G
key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added command
VER
S
I
ON to return the ve
r
sion string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibbe
y
Se
t
the
c
lien
t
FD
t
o
non-bloc
k
ing i
n
t
h
e BYE
notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Be
n
Kibbey
When "key_file" is
specified in t
h
e configuration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Return a gboolean fr
o
m validate_ac
c
ess
(
)
.
commit
|
commitdiff
|
tree
2008-11-22
Ben
Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
next