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 keepalive_thread() to use a local condition and mutex.
2009-02-07
Ben Ki
b
bey
Fi
x
ed keepalive_th
r
ead() to use a local conditi
o
n an
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Fixed aborting th
e
c
o
nnection when the configu
r
ed
k
ee
p
alive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved client
_
msg_thre
a
d(
)
and c
l
ien
t
_msg
_
s
e
nder_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kib
b
ey
After s
e
ndi
n
g a status message to send_status(
)
, c
r
e
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
R
e
move the
exi
t
ing client from the clien
t
list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor cl
e
anu
p
s in
m
e
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
e
n Kibbey
L
o
c
k the rcfile_mutex a
t
each keyf
i
le
h
access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
D
on't lock the
cn_mutex bef
o
re
c
a
n
celling t
h
e
clie
n
t
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix
for the previous commit that wou
l
dn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Ki
b
bey
Use
a local mutex in
client_msg
_
thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use
a
goffset r
a
ther than gsize for
c
rypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed status me
s
sag
e
s
to
u
se the new i
t
eration typ
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fi
x
e
d
d
ata file portability between
v
a
r
ious systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en
K
ibbey
A few
more pthread_testcancel()'s
.
S
hould
be t
h
e l
a
st
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n K
i
b
b
ey
T
hread cancell
a
tion te
s
ts in do
_
compress()
and do_dec
o
m
p
ress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
Don't sen
d
status mes
s
ages to
clients th
a
t
a
r
e exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfault with the SAVE command
when used
w
i
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
M
ore t
h
read c
a
nc
e
lati
o
n tes
t
s
and handler
s
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
K
i
bbey
Create a mutex
f
or
t
he custom
m
emory funct
i
ons
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en K
i
bbey
Cr
e
ate a ne
w
t
h
read when relo
a
ding the r
c
file
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
More t
h
rea
d
cancell
a
tion te
s
ts (more to
come
)
a
n
d thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple more thread canc
e
llation
t
ests and
c
leanup
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben K
i
bbey
If th
e
client threa
d
termina
t
es while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
S
e
t
u
p a
cleanup handler
in
i
terat
e
_crypt
o
_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
W
hen
encrypting/decryptin
g
, don'
t
do
the
w
h
ol
e
t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
In cleanu
p
_cb(), don't free cn->name unt
i
l
everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better
mutex locking and u
n
l
o
c
k
i
n
g
m
acro
s
.
U
seful
f
o
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Updat
e
the mtime i
n
do_
x
ml_
e
ncrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
crypto->inbuf is set to the da
t
a
t
o
e
ncrypt when
passed to
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
U
s
e gcry_
.
.
.
mem
o
ry funct
i
ons
in do_comp
r
ess() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Return GPG_ERR_ENOAN
O
if
the data fi
l
e is
no
t
a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
A co
u
pl
e
minor cache
.
c clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed p
o
t
e
n
tially not freeing
al
l
cach
e
entri
e
s in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixe
d
status
m
e
s
sages sen
d
with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fixed tls_init() not
initializ
i
ng t
h
e
S
HA-1 h
a
sh size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Init
i
alize libgcrypt pr
o
perly b
y
calling gcry
_
check_versio
n
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTlsParams()
a
n
d
d
einitTlsParams() to
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Add
e
d option "tcp_use
_
crl"
.
When
TR
U
E, ~/
.
p
w
md
/
crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set th
e
signal mask
b
efore other thre
a
ds a
r
e
created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try
a
nd link w
i
th
-lrt
on
s
y
stems
oth
e
r
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ib
b
ey
Fix
e
d
a compile time error on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed
a
compi
l
e time warning
on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v
1
.
11 command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
U
s
e
PTHR
E
AD_MUTEX_R
E
C
U
RSIVE
n
ot PTHREAD_MUTEX_RE
C
URSIVE_N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed som
e
com
p
le time co
n
ditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
Restore cli
e
nt->has_lock in cleanup_c
l
i
ent()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
U
se a
stru
c
t
ure i
n
fil
e
_cache_t to hold
t
he file m
u
tex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
The client mu
s
t e
x
pl
i
citly set
OPTION PINENTRY
i
f the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
ibbey
D
o
n't write a log
message
w
hen th
e
cache mutex
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
a
lly f
i
x co
m
mit
a7
e
15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix for
comm
i
t a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben
Ki
b
bey
Fix for comm
i
t
a
7
e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the keepalive_thread() after receiving SI
G
HUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibb
e
y
Stop accepting TCP con
n
ections
w
hen shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
bbey
If MEM_DE
B
UG is de
f
ined then set th
e
x
.
.
.
de/al
l
ocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Us
e
an SH
A
-
1 f
i
nger
p
rint r
a
ther than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Ki
b
be
y
Fixed a segfault
w
he
n
TL
S
fai
l
ed nego
t
i
at
i
on
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
e
y
C
r
ea
t
e the cli
e
nt
_
msg_thread and
c
lient_m
s
g_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Only
a
pp
e
nd unique status messag
e
s
t
o
the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
If the current thread is
c
alli
n
g send_st
a
tus_a
l
l
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure
the m
s
g mu
t
ex i
s
unlocked befor
e
t
r
y
i
ng to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
K
i
bbey
Create
a
messag
e
qu
e
ue that won't blo
c
k send_status_
a
ll
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben K
i
bbey
Ported t
o
pthread
.
cache_mutex and c
n
_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP w
i
l
l
stop or start the tcp_
a
ccept_thread()
depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the copyright headers for
2
009
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
Fixed a
p
inentry segfa
u
l
t
(
hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ib
b
ey
A
l
l
o
w othe
r
charac
t
ers in the filename when
using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Moved COMMA
N
DS
t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
R
e
t
urn GPG_ERR_N
O
_VA
L
UE
i
n
ste
a
d of a syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
flags to the new
v
2 file
h
ea
d
er
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Fixed a
m
e
m
ory lea
k
in p
i
n
e
ntry_itera
t
e()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fix
e
d s
t
arting up with
o
ut an
r
cfile
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
War
n
ab
o
ut err
o
rs o
p
eni
n
g a
k
ey
_
file whil
e
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fix
e
d cle
a
r_c
a
che() cleari
n
g a
l
l cach
e
entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
en Kibbey
Fixed a memory leak create_
d
td
(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed asking
f
o
r a pass
p
hrase after opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed closi
n
g t
h
e w
r
ong FD in
cleanup_cr
y
pto()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibbey
Fixe
d
SAVE wit
h
a p
a
ss
p
hrase specifi
e
d in the co
m
m
a
nd
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close
t
he cipher
h
andle in crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Be
n
Kibb
e
y
Fix
e
d some compile-time warning
s
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
T
h
e "d
i
sab
l
e_list_and_dump"
configurati
o
n parame
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Whe
n
impo
r
t
i
ng, con
v
erti
n
g an
d
pushing
f
iles into th
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Som
e
c
o
d
e rearrangeme
n
ts
.
Gett
i
ng
r
eady
to
fix free
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Kibbey
Sho
w
t
he output filename and not std
o
ut in th
e
import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
F
i
xed a memory
l
ea
k
i
n
d
o_cache_push()
.
The d
o
c
ument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibb
e
y
Handle STATUS_
C
O
M
PRESS/DECOMPRESS/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
F
ixe
d
the pinentry dialog show
i
n
g
the w
r
ong filena
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n Kibbey
Fixed freein
g
"tcp_
w
ait" in
tcp_acce
p
t_thread() bef
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en Kibbey
Added co
n
f
i
guration p
a
ra
m
eter
"
cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Ki
b
bey
C
heck th
e
r
eturn value of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
B
en
K
ibbey
Update
d
the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use se
n
d_status() from
CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben K
i
bbey
Set
t
h
e thread name for othe
r
th
r
eads too
.
commit
|
commitdiff
|
tree
2008-12-18
B
en
Kibbey
Removed the unused fi
l
e h
e
ader variables
.
They
can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
A
llow
"GETCONFIG key" and "GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added command VE
R
SION
to return the
v
e
r
sion
string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
Kibbey
Set t
h
e
c
lient FD to non-blocking in the B
Y
E
notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben K
i
bbey
When "key_file" is specified in
t
h
e configurat
i
on and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en
Ki
b
bey
Retu
r
n a gboolean fro
m
validate_acce
s
s
(
)
.
commit
|
commitdiff
|
tree
next