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
Thread cancellation tests in do_compress() and do_decompress().
2009-01-30
Ben Kibbey
Thread
cancellation tests in do_compr
e
ss() and
d
o_deco
m
pres
s
()
.
commit
|
commitdiff
|
tree
2009-01-29
B
en K
i
b
b
e
y
Do
n
't send status messages to clients
that are exi
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Fixed a
s
egf
a
ul
t
with the
S
AV
E
command
w
hen used
wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More thread canc
e
l
a
tion tests
and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibbey
Create a mu
t
ex for the custo
m
memor
y
functio
n
s
.
F
i
xes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibbey
Create
a new
t
hread when
reloading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
B
en K
i
bbey
More
t
h
re
a
d cance
l
latio
n
test
s
(more to come) and t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple more thread cancellati
o
n
t
est
s
and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If t
h
e
c
lie
n
t th
r
ead terminates while a
pinentry i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en K
i
b
bey
Setup a cleanup handler in
i
terate_cry
p
t
o
_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
W
h
en enc
r
ypting
/
de
c
ryp
t
ing, don't d
o
the who
l
e thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb
(
), don't fr
e
e cn->
n
am
e
until eve
r
ything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex locking and u
n
locki
n
g macros
.
U
sefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Upd
a
te the m
t
ime in do_xm
l
_encryp
t
()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
crypt
o
->inbuf is
set to the data to
enc
r
yp
t
w
hen passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Use gcry_
.
.
.
memory functions in do_co
m
p
re
s
s() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Retu
r
n GPG_ER
R
_
E
NOA
N
O if the data
f
ile is no
t
a
regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibb
e
y
A couple minor
c
a
che
.
c clea
n
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed
p
oten
t
ia
l
ly
n
o
t
fre
e
i
n
g
a
ll cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed statu
s
messages se
n
d with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fixed tls_init() not
i
nitializing th
e
SH
A
-1
h
ash
size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initialize libgcryp
t
properl
y
by calling gcry_ch
e
ck_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Move initTlsPa
r
ams() and
d
einitTl
s
Par
a
ms() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Ad
d
ed option
"tcp_
u
se
_
c
rl"
.
Wh
e
n TRUE
,
~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the s
i
g
na
l
mask bef
o
re other threads are cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try and lin
k
with -lrt
on
s
ys
t
em
s
other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
b
ey
Fi
x
ed a compile time
e
r
ror on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Fixed a co
m
pile
t
ime warni
n
g on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove ol
d
< v1
.
11 command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUTEX_R
E
CURSIVE not
P
THREAD
_
MUTEX_RE
C
U
RSI
V
E_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed some comple time conditio
n
als
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Rest
o
re
c
lient->has_lock in cleanup_client
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a
s
tr
u
cture in fil
e
_
c
ache_t to hol
d
the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The client must exp
l
icitly set O
P
TI
O
N PINENTRY if
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
D
o
n't
write a log message w
h
e
n
the cache mu
t
ex i
s
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bb
e
y
Really fix commit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix fo
r
comm
i
t
a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
R
estart
the keepalive_t
h
read() after r
e
ceiving
S
IGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
Stop accepting TCP con
n
ectio
n
s when
s
h
utting
d
own and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
b
be
y
If
M
E
M
_DEBU
G
is defined t
h
en
s
et the x
.
.
.
de/allocat
o
rs
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kib
b
ey
Use an SHA-1 f
i
ngerprint rathe
r
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbe
y
Fixed a s
e
gfault
when TLS failed
n
egotiation
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Create
t
he clie
n
t_msg_
t
h
read
and cl
i
ent_msg
_
sender_thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
ey
Only append
u
nique s
t
a
tu
s
messa
g
es to the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
If t
h
e cu
r
rent thread is calling send_
s
t
a
tus
_
all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure the msg mutex is
unlocke
d
before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Ki
b
bey
Create a m
e
ssa
g
e queue
t
hat
w
o
n
't
block send_stat
u
s_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported to pthrea
d
.
cac
h
e_m
u
tex and c
n
_
m
utex
a
re
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Be
n
K
i
bbey
S
I
G
H
UP
w
i
ll stop
o
r sta
r
t the tcp_a
c
cept
_
thr
e
a
d() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibbey
Updated the copyright hea
d
ers
f
or 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
Fixed a pi
n
entry
segf
a
ult (hopefully) during clea
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow other cha
r
acters in the
filename when using GETCON
F
IG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
M
oved C
O
MMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return
G
PG_ERR_N
O
_VALUE instead of a
syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
f
l
a
g
s
to the
n
ew v2
file head
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory leak in pin
e
ntry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting up
w
i
t
h
o
ut
a
n r
c
f
i
le
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Warn about
error
s
o
p
enin
g
a key_
f
ile while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed cle
a
r_
c
ache(
)
clearing
all
cac
h
e
entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n Kibbey
Fixed a m
e
mory lea
k
crea
t
e_
d
td()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
e
d as
k
ing for a p
a
ssp
h
r
ase afte
r
opening a new
f
ile
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed closi
n
g the wrong FD in cle
a
nup_c
r
ypto
(
) a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed SAV
E
with
a passp
h
rase specifie
d
in
the com
m
and
.
commit
|
commitdiff
|
tree
2009-01-05
Ben
Ki
b
be
y
Clos
e
the cip
h
er handl
e
in crypto_cl
e
anup(
)
;
commit
|
commitdiff
|
tree
2009-01-05
B
e
n
Kibbey
F
i
x
ed som
e
compile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ibbey
The "d
i
s
a
b
le
_
list_and_dump"
c
onfiguration
p
a
rameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kib
b
ey
W
h
e
n
importing,
c
onverting and pushing files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Kibbey
Some code re
a
rrangem
e
n
t
s
.
Getting re
a
dy t
o
fix
freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Sho
w
the
o
utput filename and not std
o
ut in the im
p
ort
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibb
e
y
Fixed a
mem
o
ry leak in d
o
_cach
e
_p
u
sh()
.
The docum
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en
K
ibbey
Handle STATUS_COMP
R
ESS/DECOMPRESS/E
N
CRY
P
T
/
DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kib
b
ey
Fixed the
pinentry dia
l
og showing th
e
wro
n
g filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Fixed free
i
ng "tcp_wait" in tcp_ac
c
ept_thre
a
d() be
f
ore
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
Kibb
e
y
Added conf
i
guration parameter "cipher
_
suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Check the
return
v
alue of pth_sp
a
w
n
()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kib
b
ey
Updated t
h
e docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
K
i
b
b
e
y
Use send_status() from CACHE_
L
O
CK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Se
t
the thread name for o
t
her threads
t
o
o
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
Removed t
h
e unused file
h
eader
v
ari
a
bles
.
T
h
ey ca
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Al
l
ow "GETCONFIG key" and "GETCONFIG ke
y
_
f
ile"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbe
y
Added co
m
man
d
V
E
RSION to return the version strin
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
K
i
bbey
S
e
t
the clien
t
FD t
o
n
on-
b
locking in th
e
BYE
n
o
t
ifi
e
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Kibb
e
y
When "
k
ey_file" is
specifi
e
d in
t
h
e configura
t
ion and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben K
i
bbey
Retur
n
a gboolean from
v
alidate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merg
e
bran
c
h
'v2
'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use a te
m
por
a
r
y va
r
iable in reload_rcfile()
i
n
case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
W
I
T
H_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibb
e
y
Revert
"
Set the
clie
n
t sock
e
t
file descriptor to n
o
n
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for co
m
mit
8
f8
5
846
.
Sho
w
the act
u
al
erro
r
de
s
c
r
i
ption
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ib
b
ey
Use
_
SC_PAGESIZ
E
as the
size argum
e
n
t
to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibb
e
y
R
e
v
ert "Fixed a le
a
k in cache
_
free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Fixe
d
a lea
k
in cach
e
_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid
t
h
e
file cac
h
e
t
o u
s
e a GSList (singul
a
r li
n
ked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
Ki
b
bey
Moved read_hook()
a
nd w
r
ite_h
o
ok()
t
o
t
ls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Use log_write() instead of
w
arn[x] and fprintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n
Kibbey
Let the "key_
f
ile"
configuration para
m
et
e
r work with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Kibbey
Revert "Fixed OP
E
N and SA
V
E t
o
use
th
e
"
k
ey_file" i
f
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbe
y
Revert
"
Added OPTION KEYFILE
.
Setting to 0 will disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Added OPTION
K
E
Y
FILE
.
Setting
t
o 0 will
disab
l
e tryi
n
g
.
.
.
commit
|
commitdiff
|
tree
next