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
Create a mutex for the custom memory functions. Fixes list corruption.
2009-01-28
Ben Kibbey
C
r
eate a mu
t
ex for the
c
usto
m
memory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
C
r
eate a new thread wh
e
n reloading the rc
f
i
le
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kib
b
ey
More thread cancellation
t
ests (more to
c
ome) a
n
d
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
c
ouple more thread ca
n
cellation tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
K
ibbey
If
t
he client thre
a
d te
r
m
inates w
h
il
e
a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Setup a cleanup
h
a
ndle
r
in iterate_cryp
t
o_
o
nce() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
W
hen encrypting/de
c
rypting, d
o
n't
do
the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cle
a
nup_cb(
)
, don't free cn->name until every
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Be
t
te
r
m
u
t
ex locking
a
nd
u
nlocking macros
.
Usefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Update
the mt
i
me in do_xml_enc
r
ypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
c
r
y
pto->in
b
uf is set to th
e
dat
a
to
encryp
t
when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use
gcry_
.
.
.
m
emory
f
unctions in do_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
R
e
turn G
P
G_ERR_ENOANO if
t
he data f
i
le
is
not a
r
egu
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
A
c
o
uple minor cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed pote
n
tially not
freeing all
c
ache ent
r
ie
s
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed s
t
a
t
us messages send
w
ith send_status_all(
)
on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init
(
) no
t
initia
l
izing
the SHA-1 hash siz
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initialize libgcrypt pro
p
erly by callin
g
gc
r
y
_
check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Move in
i
tTls
P
a
r
a
m
s
() and deinitTlsParams() to
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Adde
d
optio
n
"
tc
p
_use_crl"
.
When TRUE, ~/
.
pwmd/cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Set
t
he signal
ma
s
k
befo
r
e other th
r
e
a
d
s ar
e
c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Don't try and l
i
nk with
-
lrt on sy
s
t
e
ms
o
ther
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile time
error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Fixed a compile
time warning
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Remov
e
o
ld < v1
.
1
1 comm
a
nd l
i
ne option
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Use PTHREAD_MUT
E
X_RECURS
I
V
E not
P
T
H
READ_M
U
T
EX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fixed som
e
comple
time condition
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Restore cli
e
nt->has_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a struct
u
re
in file_cache
_
t
to hold
t
he file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
T
h
e client
m
ust explic
i
tly set
O
P
T
I
O
N PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don'
t
writ
e
a lo
g
message when the c
a
che mu
t
ex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
Really
fix commit a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix for
commit a7e15
f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix
for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
e
start the
k
e
e
palive_thread() a
f
te
r
re
c
eiv
i
ng
SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accepting
T
CP connections
when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbe
y
If ME
M
_DEBUG is defined then
se
t
the x
.
.
.
de/all
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n
K
i
bb
e
y
Use an SHA-1 fingerpri
n
t r
a
ther
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fi
x
ed a segfault when T
L
S failed negotia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Creat
e
the client_msg_thread
and
client
_
msg
_
s
ender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbe
y
Only
append unique status mess
a
g
es to t
h
e mess
a
ge
q
u
eue
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
If the current thr
e
ad is
calling send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Make sure the ms
g
mutex
i
s unlocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a messa
g
e
qu
e
ue that won't block se
n
d
_
status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben K
i
bbey
Po
r
ted t
o
p
t
h
read
.
c
a
che_
m
utex and cn_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop o
r
s
t
a
rt the tcp_accep
t
_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
Updat
e
d
t
h
e
c
opyrig
h
t h
e
aders for 20
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
B
en
K
ibbe
y
F
ixed a
p
inentry segfault
(hope
f
ul
l
y
) du
r
i
n
g
cleanu
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n Kibbey
Allow
o
ther c
h
aracters in t
h
e file
n
ame when using
GET
C
ONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Moved
COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
b
ey
Return GPG
_
ERR_NO_
V
A
L
U
E
instead of a syntax
err
o
r from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
R
e
-ad
d
.
flags to the new
v
2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fix
e
d a
memory l
e
ak in pinentr
y
_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fixe
d
s
t
arting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kib
b
ey
Warn abou
t
errors openin
g
a ke
y
_file whil
e
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed clear_cache() clearing all cach
e
e
nt
r
ies
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kib
b
ey
Fixed a me
m
ory le
a
k creat
e
_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bb
e
y
F
i
x
e
d asking for
a
p
assphrase af
t
er open
i
ng a new
file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
Kibbey
Fixed clos
i
ng the wrong FD in
cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed SAVE wi
t
h
a
passphras
e
s
p
ec
i
fie
d
in the
c
omman
d
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Ki
b
bey
Cl
o
se the
c
i
pher handle i
n
c
rypto_cl
e
anup();
commit
|
commitdiff
|
tree
2009-01-05
Ben
K
i
bb
e
y
Fixed s
o
me compile-tim
e
warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
be
y
T
h
e "disable_lis
t
_an
d
_dump" c
o
n
figuration p
a
rameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
b
b
ey
When importing, converting and
p
u
shi
n
g files
into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Kibb
e
y
Some
c
od
e
rearrangements
.
G
e
t
t
ing read
y
to fix free
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Ki
b
bey
Show the o
u
tput file
n
ame and
n
ot stdou
t
i
n
the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbe
y
Fixed a mem
o
ry lea
k
i
n
d
o_c
a
che_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
Handle STATUS_COMP
R
ESS
/
DECOMPRE
S
S/ENCRYP
T
/DECRYPT
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbe
y
Fixed th
e
pinentry di
a
log showing t
h
e wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Fixed f
r
eeing
"tcp_wait
"
i
n
tcp_acc
e
pt_thread() be
f
ore
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en Kibbey
Added configuration
parameter
"cipher_s
u
ite
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
bbey
Check t
h
e return v
a
lue of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
K
ibbey
U
p
d
ated the doc
s
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
Kibbey
Use send_statu
s
() from CACH
E
_LO
C
K
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the thread nam
e
for othe
r
threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
Kibbey
Removed
the un
u
s
ed fi
l
e hea
d
e
r
variables
.
T
h
ey can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kib
b
ey
All
o
w
"GETCONFIG key" and
"
GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
B
en
K
ibbey
A
d
ded command VERSION to r
e
turn the version s
t
rin
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 "ke
y
_file" is specified in
the configu
r
ation and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Be
n
Kibbey
Return a
g
b
o
olean from va
l
idate_access
(
)
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge bran
c
h
'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use a te
m
porary var
i
a
ble in reloa
d
_rcfile() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
ey
WITH_GNUTL
S
fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbey
Rev
e
rt "Set the client socket file
d
escriptor to
n
o
n
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix
f
or com
m
i
t
8f85846
.
Show the actual err
o
r description
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n
K
ibbey
Use _S
C
_PAGESIZE a
s
the size a
r
gument t
o
mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Ki
b
bey
Revert
"Fix
e
d a leak
in cac
h
e
_
free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
F
i
x
ed a l
e
ak
in cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid
the file cache to use a GSList (singu
l
ar linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
B
en
K
ibbey
M
oved read_hook()
a
nd wr
i
t
e_hook() to
tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Ki
b
bey
U
s
e log_w
r
i
t
e() in
s
tead o
f
wa
r
n[x] an
d
fprintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
b
ey
Let the "key_file" configuration
p
ar
a
meter work
with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
bey
Revert "Fixed OP
E
N
a
nd SAVE
t
o use the "key
_
file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbe
y
Revert "Added OPTION KE
Y
FILE
.
Setting to 0
w
ill disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Be
n
Kibb
e
y
Added OPTION
K
EYFILE
.
Setti
n
g
to
0 will
d
i
s
able trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Fixed OPEN and SAVE
to
u
se the "key_fi
l
e" if specified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibb
e
y
Let
-
C use a
keyfile with
-k
.
commit
|
commitdiff
|
tree
2008-11-15
Be
n
Kibbey
Fix
e
d
a
c
ou
p
le
of minor memory
leaks
.
commit
|
commitdiff
|
tree
2008-11-15
Ben K
i
bbey
Added
c
onfiguration option
"
t
c
p_wait"
.
Sets the time
.
.
.
commit
|
commitdiff
|
tree
next