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
Fix for the previous commit that wouldn't terminate the client if a
2009-02-05
B
en Kibbey
Fix for the p
r
evious commit
that wouldn't t
e
rm
i
nate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben K
i
bbey
Use a loca
l
mutex in client_ms
g
_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
U
s
e a goffset r
a
ther
t
han gsize
for cry
p
t
o
->i
n
size
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
Fixe
d
status mess
a
g
es to use the new i
t
eration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
F
ixed dat
a
fi
l
e porta
b
ility b
e
t
w
e
e
n various systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en Kibbe
y
A few m
o
re p
t
hread_t
e
s
t
c
ancel()'s
.
S
h
ould
b
e
the las
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibb
e
y
Thr
e
a
d
cancellatio
n
tests
in do_compress
(
) and d
o
_decomp
r
es
s
()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
Don't send status messages to clien
t
s that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed
a
segfault with the SAVE command whe
n
u
sed with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Kibb
e
y
More th
r
ead cancelat
i
on t
e
sts and h
a
ndl
e
rs
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mute
x
for
the custom m
e
mo
r
y
f
unctions
.
Fixe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a
n
ew thread w
h
en
reloading
the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
More thread cancellation
t
ests (more to come
)
and thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbe
y
A cou
p
le more threa
d
cancellat
i
on tests
and cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the clie
n
t thread te
r
minates while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a cl
e
anu
p
handler
i
n it
e
rate_crypto
_
o
nce() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encrypting/dec
r
y
pting, don
'
t do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
I
n
clean
u
p
_cb(), don'
t
free cn->name
until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Bet
t
er
mutex locking and
u
n
locking macros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbe
y
U
p
date the mtime in do_xml_encrypt
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbu
f
is set to the data
t
o
enc
r
y
pt w
h
en passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Use gcry_
.
.
.
memory functio
n
s in do_com
p
ress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
R
e
t
urn
GPG_ERR_ENOAN
O
i
f the da
t
a fil
e
is n
o
t a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple minor cache
.
c clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
F
ixed potentially n
o
t f
r
eeing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
F
i
xed statu
s
m
essages send with send_statu
s
_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init()
n
o
t initiali
z
ing t
h
e SHA-1 ha
s
h size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
In
i
tialize libgcryp
t
prope
r
ly by
c
alli
n
g gcry_check_versio
n
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Move initTlsParams() and d
e
init
T
ls
P
arams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Added option
"
tc
p
_
use_crl"
.
When
T
RUE,
~
/
.
pwmd/c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the s
i
gnal mas
k
b
e
fore ot
h
er threa
d
s are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
bey
Don
'
t try and l
i
nk with -lrt on systems
o
t
h
er than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed
a
com
p
ile time error
o
n FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixe
d
a compile
tim
e
warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remo
v
e
old < v1
.
11 command line option
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bbey
Use PTHREAD_MUTEX_RE
C
U
R
SIVE not P
T
HR
E
AD_MUTEX_RECU
R
SIVE_N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed som
e
comple ti
m
e conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore client->has_lock i
n
clean
u
p_clien
t
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a
s
tructure in file_cache_t t
o
hold the file
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
The client must explicitly set O
P
TION PINENTRY if
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't wri
t
e a lo
g
mes
s
ag
e
when the ca
c
he mutex is
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kibbey
Really fix
c
o
mmi
t
a7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Revert "Fix f
o
r co
m
mit a7e15
f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
en K
i
b
bey
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the
keepalive_thread
(
) aft
e
r
r
eceiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
Stop acce
p
tin
g
TCP co
n
nections when shutting do
w
n and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
K
i
bbey
I
f
MEM
_
DEB
U
G is defined then set
the x
.
.
.
de/
a
l
lo
c
at
o
rs
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an S
H
A-1 fin
g
e
rprint rather t
h
a
n
M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
F
ixed a s
e
g
f
a
ult when TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
C
r
e
ate the cli
e
nt
_
msg_thread
a
nd client_
m
sg_s
e
nder_thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Only append un
i
que status m
e
s
s
age
s
to the
m
essa
g
e queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
If the current thr
e
ad i
s
calling s
e
n
d
_
status_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Make
s
ure
t
he msg
mutex is unlocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n Kibb
e
y
Cr
e
at
e
a messag
e
q
ueue that won't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbe
y
Ported to p
t
hread
.
cache_mutex and c
n
_mutex ar
e
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbe
y
S
IGHUP will stop or start th
e
tcp_accept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
U
p
d
a
ted th
e
copyright header
s
for 20
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
F
ixed a pinentry segfault
(hop
e
fu
l
ly)
du
r
ing
cl
e
a
n
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibb
e
y
All
o
w
o
t
h
e
r ch
a
racter
s
in the filename when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COM
M
A
N
DS to
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return GPG_
E
RR_NO_VALUE instead of a syntax er
r
or from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re
-
add
.
f
l
a
gs to th
e
new v2 file he
a
d
er
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a
memory le
a
k in pin
e
n
t
r
y_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
st
a
rting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Warn about errors opening
a
key_fil
e
while
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fi
x
ed clear_
c
ache() clearing all c
a
c
he
e
n
t
ries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben
Kib
b
ey
Fixed
a
m
emo
r
y le
a
k
c
reate_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Ki
b
bey
Fixed aski
n
g for a passphrase af
t
er openin
g
a ne
w
file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibb
e
y
Fi
x
ed closin
g
th
e
wrong FD
i
n
c
leanup_
c
rypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixe
d
S
A
V
E with a passphrase specified i
n
the com
m
a
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the
cipher hand
l
e in crypto_cleanup(
)
;
commit
|
commitdiff
|
tree
2009-01-05
Ben Ki
b
b
ey
Fi
x
ed s
o
me compile-time warni
n
g
s
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "d
i
sable_list_and_dump" confi
g
ura
t
ion pa
r
ameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When importing
,
c
onverting and push
i
ng f
i
les into
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n
Kibbey
S
ome code rearrangements
.
Ge
t
ting ready to fi
x
freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Sho
w
the
output filename and not st
d
out
in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
Fixed a me
m
ory
leak in do_cac
h
e_pus
h
()
.
The doc
u
ment
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n Ki
b
bey
Handle STATUS_COMPRESS/
D
ECOMPRESS/ENCRY
P
T/DECR
Y
PT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n
Kibbey
Fixed the pinentry di
a
log showing the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
bbey
F
ixed freeing "tcp_wait"
i
n
tcp_accep
t
_t
h
r
ead() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbe
y
Added configuratio
n
para
m
eter
"cipher
_
s
u
ite"
.
commit
|
commitdiff
|
tree
2008-12-20
B
en K
i
bb
e
y
Check the return val
u
e of
pth_s
p
a
wn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kib
b
ey
Updated
t
he
d
ocs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibb
e
y
U
s
e send
_
status
(
) fr
o
m CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
K
i
b
bey
Set the thread name for other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben K
i
bbey
Removed the
u
nused fi
l
e he
a
der variables
.
Th
e
y can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Allow "GETCONFIG key" and
"
GETCONFIG key_fil
e
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kib
b
e
y
Ad
d
ed
c
o
m
mand VERSION to return
t
he
v
ersion
s
tring
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
S
et the c
l
ient FD to non-blocki
n
g in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_file" is spe
c
i
fied in the configuratio
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en Kibbey
Retur
n
a gboo
l
ean from
va
l
i
date_acce
s
s()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kib
b
ey
Merge bran
c
h 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use
a
tempor
a
ry va
r
ia
b
le in reload_rc
f
i
l
e
() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben K
i
bbey
WITH_GNUTLS fixe
s
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
R
evert "Set the
clie
n
t
socket fi
l
e desc
r
ipt
o
r
to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbey
Fix for commit 8f85846
.
Show the actu
a
l error
description
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
Use _SC_PAG
E
SIZE as the siz
e
a
rgume
n
t to mlo
c
k()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
R
e
v
ert "Fixed a leak
i
n cach
e
_free(
)
.
"
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Kibbey
Fi
x
e
d a
lea
k
in cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid the file
c
ache to
use a G
S
List (singular linked
.
.
.
commit
|
commitdiff
|
tree
next