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
Moved client_msg_thread() and client_msg_sender_thread() to status.c.
2009-02-07
Ben Kib
b
ey
Moved
c
lient_m
s
g
_threa
d
(
)
and
client_ms
g
_
se
n
d
e
r_t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created stat
u
s
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sending a sta
t
us mess
a
g
e
to s
e
nd
_
status(), cr
e
ate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Re
m
ove the exiting c
l
ient from th
e
client l
i
st as
soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor cl
e
anups in m
e
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
en K
i
bbey
Lock the
r
cfile_mutex at each keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
B
e
n
K
i
bbey
Don't
l
oc
k
the cn_mutex
b
efore cancelling th
e
client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kib
b
e
y
Fix for
the previous commit that
would
n
't ter
m
inate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Us
e
a local mutex in c
l
ient_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Be
n
Ki
b
b
ey
Use a gof
f
s
e
t rather than gsi
z
e for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
F
ixed st
a
tus mes
s
ages to us
e
the new itera
t
ion type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed
d
ata file portability bet
w
e
e
n
v
arious systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
i
bbey
A few m
o
re pthread_tes
t
cancel()'s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Threa
d
can
c
e
l
lation tests
i
n
d
o_compress() and do_d
e
comp
r
ess(
)
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Ki
b
be
y
Don't send status mes
s
a
g
es to
c
l
i
ents that are exitin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
ibbey
Fixe
d
a segfault with the SAVE co
m
mand whe
n
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n Kibbey
M
o
re thread
cancelation tests and
h
a
ndle
r
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbey
C
r
e
ate a mutex for th
e
custom
m
emory funct
i
ons
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create
a new thread when reloa
d
ing
the rcfil
e
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbey
Mo
r
e thread cancellatio
n
tests (m
o
re
t
o come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kibbey
A couple more
thread cancella
t
i
on tests and cl
e
anups
.
commit
|
commitdiff
|
tree
2009-01-27
B
en Ki
b
b
ey
If the client thread terminates while a pinent
r
y
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a cleanup ha
n
d
le
r
in i
t
erate_crypto_once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encrypting/dec
r
ypting, don't do the who
l
e thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
I
n
cleanup_cb(), don't f
r
ee cn->name
u
ntil everyt
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mut
e
x locki
n
g
a
nd unlo
c
king
m
acros
.
U
s
eful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
Update
the mtime in do_xml_encry
p
t(
)
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
K
ibbey
crypto->
i
nbuf is set to t
h
e dat
a
to enc
r
ypt whe
n
pa
s
sed to
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
U
s
e gcry_
.
.
.
memory functions in d
o
_compre
s
s()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Return GP
G
_ER
R
_ENOANO i
f
t
h
e
data f
i
le is
n
ot a regul
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
A
c
ouple min
o
r
cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ib
b
ey
Fixed
p
ote
n
tially not fre
e
ing al
l
cache entr
i
es
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fix
e
d status messages s
e
nd wit
h
se
n
d_
s
tatus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tl
s
_init() not in
i
ti
a
l
izing the S
H
A-1 hash s
i
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
I
nitial
i
ze libgcryp
t
proper
l
y
b
y
calling
g
cry_check_versio
n
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Move initTlsParams() a
n
d deinitTlsParams(
)
to t
l
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
A
dde
d
o
p
tion "tcp_use_crl"
.
W
hen TRU
E
, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Se
t
the signal mask be
f
ore
ot
h
er threads
are
c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
D
on't try and link with -
l
rt on
s
y
stems
other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
F
i
xed
a
c
o
mpile time error
o
n
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile ti
m
e
w
arni
n
g o
n
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Remove
ol
d
< v1
.
1
1
c
ommand line o
p
tion
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use PT
H
READ_MUTEX_RECURS
I
V
E not PTHREAD_M
U
TEX_RECURS
I
VE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
b
ey
Fixed some comple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Restore cli
e
nt->has_lock in
c
leanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Use a structure
i
n
file_ca
c
he_t to hold the
f
ile mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
The client must explicitly set
O
PTION PINENTRY
i
f the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Don't write a log message
w
h
en
t
he c
a
che m
u
tex
i
s loc
k
ed
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
Re
a
l
ly fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
b
bey
Revert
"
Fix for comm
i
t
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit a7e15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the
k
e
epalive_th
r
ead() aft
e
r recei
v
i
ng SIGHU
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibb
e
y
S
t
o
p ac
c
epting TCP
c
onn
e
ctions
when shutting dow
n
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
If ME
M
_DEB
U
G is defined then set the x
.
.
.
d
e
/allocat
o
rs
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
U
se an SH
A
-1 fingerpri
n
t rather than
MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Fixed a segf
a
ult whe
n
TLS
failed negotiatio
n
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Create t
h
e
c
lient_msg_th
r
ead and
c
lie
n
t
_
msg
_
se
n
der_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
be
y
Only ap
p
end u
n
ique
s
tatus
messages to the
m
es
s
age que
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the current th
r
ead is calling send_status_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Mak
e
s
u
re the msg m
u
te
x
is un
l
ocked b
e
fore tryin
g
to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Crea
t
e a message q
u
eu
e
that won't block send_
s
tatus_
a
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported to pthread
.
cache_mutex and cn_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
e
n
Ki
b
be
y
SIGHUP will stop or start the
t
cp_acce
p
t
_thread() depen
d
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
Upda
t
ed t
h
e copyri
g
ht headers
f
or 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Fixed a pi
n
ent
r
y s
e
gfault (hopefully)
d
u
ring cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Allow other char
a
cters in
t
he filename when usi
n
g GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Mov
e
d
C
OMMANDS to
d
oc
/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return GPG
_
ERR_NO_VALUE
i
ns
t
e
ad
of a syn
t
ax
error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Re
-
add
.
f
lags
t
o the new v2
f
ile
h
e
a
der
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fi
x
ed a memor
y
l
e
ak in pi
n
e
n
try
_
iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Fixed s
t
a
r
ting up wi
t
h
o
ut an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
Warn about
e
r
r
ors
o
pening a key_file
while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
K
i
bbey
Fixed clear_cac
h
e() clea
r
ing all c
a
c
he entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fixed a
me
m
ory l
e
a
k create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
x
ed asking f
o
r
a pas
s
phra
s
e after op
e
n
ing a n
e
w file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Kibbey
F
i
xed clos
i
ng the wrong
F
D
i
n cleanup_cryp
t
o() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed
S
A
V
E
w
ith a passphrase specifie
d
in
th
e
com
m
and
.
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
b
b
ey
Close
t
he
cipher handle in c
r
ypto_cleanu
p
(
);
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Kibbey
Fixed s
o
me compile-time wa
r
nings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ibbey
The "disabl
e
_list
_
and_dump" configura
t
ion param
e
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When i
m
porting,
c
o
n
verting and pushing files into
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Some code rearrange
m
ents
.
Getting ready to f
i
x
freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
S
how the outpu
t
file
n
ame and not stdout in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Be
n
Kibbey
Fixed
a
m
emory leak
i
n do_cache_p
u
sh()
.
The doc
u
men
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n K
i
bbe
y
Handle STATUS_COMPRESS
/
DECOMPRESS/ENCR
Y
PT/DECRYPT
in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
F
ixed the
p
inentry dialog showing
t
he
wr
o
ng filena
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kib
b
ey
Fixed free
i
ng "tcp_wait" in tcp_acc
e
pt_
t
hread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
A
dde
d
c
o
n
figuration parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibb
e
y
C
heck th
e
return value of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kibb
e
y
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use send_status()
f
r
o
m
CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
K
i
bbe
y
Set the t
h
r
e
ad name fo
r
other
t
hreads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Ki
b
bey
Remove
d
the unused
f
ile header variables
.
The
y
c
an
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
A
l
low "GETCO
N
FIG key" and "GETCONFIG
k
ey_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
A
d
d
e
d command V
E
RSION
t
o r
e
tu
r
n the version st
r
ing
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
ibbey
Set the
c
lient FD to non-blo
c
king in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Whe
n
"
k
ey_fi
l
e" is speci
f
i
ed i
n
the
conf
i
guratio
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
R
e
tur
n
a g
b
o
o
l
ean from validat
e
_access(
)
.
commit
|
commitdiff
|
tree
2008-11-22
B
e
n Kibbey
Merge branch 'v2
'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
Us
e
a
t
em
p
or
a
ry variab
l
e in
r
eload_rcfile(
)
in case
.
.
.
commit
|
commitdiff
|
tree
next