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
Version 2.6.
2009-04-18
Be
n
Kibbey
Minor cl
e
anup
.
Removed clean
u
p_
c
ry
p
to_ha
n
dler(
)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kib
b
ey
No ne
e
d
to create an
e
xtra
t
hread in client_m
s
g
_
threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbey
A
dded a new status
m
e
ss
a
ge
XFER
for use with the GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Wh
e
n an
option
value strin
g
i
s
NULL
,
reset it to the
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Let IS
C
ACHED check for
fi
l
e e
x
istence
w
ith acc
e
ss(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Ki
b
bey
Wait for the write_status_thread()
t
o
r
et
u
r
n
(or timeout) in
commit
|
commitdiff
|
tree
2009-03-21
B
e
n Kibbey
Compare only "
<
?xml ve
r
sion="
i
n t
h
e
decry
p
ted document
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Mak
e
c
l
ien
t
_msg_thread
(
)
joinable
.
commit
|
commitdiff
|
tree
2009-03-21
Be
n
Kibbey
Use g_get_hom
e
_
d
i
r() instead
.
commit
|
commitdiff
|
tree
2009-03-20
Be
n
Kibbey
Removed a
l
l tcp/r
e
mote/GnuTLS suppor
t
.
Remot
e
connections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Fix tls
.
c comp
i
le-t
i
me warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Do
n
t
li
n
k w
i
th -lrt or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbe
y
Removed
acincl
u
de
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Ch
e
c
k for
EDE
A
DLK
i
n MUTEX_UN
L
OCK
.
I
t c
a
n be ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wai
t
f
o
r thread TID event
s
which are triggered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibb
e
y
Catch S
I
G
ABRT, but not
S
I
G
USR2
.
commit
|
commitdiff
|
tree
2009-03-08
B
en
Kibbey
Che
c
k
the
return value from
p
t
h_sp
a
wn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Minor
c
lean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Use thread-
s
afe l
i
b
gcry
p
t an
d
libgpg-e
r
ror functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Don
t
write a lo
g
message in MUTEX_TR
Y
LOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kib
b
ey
Use
MUTEX
_
TRYLOCK
e
very
w
he
r
e
STATUS_LOCKED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibbey
Fix
e
d
unlock_file_mutex() r
e
lea
s
ing th
e
unloc
k
e
d
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kib
b
ey
check
t
he retur
n
o
f pth_
m
utex_ac
q
uire and pth_mutex_rel
e
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kibbey
squas
h
befo
r
e commiting to mas
t
er
.
this is the
i
n
i
tial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
Kibbey
Use
"g
i
t
log" not "git-log" in the Makefile 'chang
e
log
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
en Kib
b
ey
Adde
d
OPTION LC_CTY
P
E
and OPTION LC_MESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Fixed
a typo i
n
the previous commit
.
Destr
o
y
th
e
cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
K
i
b
bey
Fixed ke
e
palive_t
h
read() to
use a local c
o
n
d
iti
o
n and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Fixed aborting the connec
t
ion when the
c
onfigured keep
a
live
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Moved client_msg_thread() and client_
m
s
g
_
sender
_
thr
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Created
s
ta
t
us
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After
s
ending
a stat
u
s
mes
s
age
to se
n
d_
s
ta
t
us(), c
r
e
ate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
K
ibb
e
y
Remove the exi
t
ing client
f
rom
t
he client list a
s
soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
e
y
Mi
n
or cleanups
i
n m
e
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibb
e
y
Lock
th
e
r
c
file_mutex at each keyfile
h
access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
Kibbey
Don't lock the
cn_
m
utex befo
r
e cancelling the cli
e
nt
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
Fi
x
for the
p
revi
o
us c
o
mmit that w
o
u
l
dn't termin
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
Use a local
mutex in client_msg_threa
d
()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goffset rather th
a
n gsize f
o
r crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fi
x
ed status
m
essages to use the new iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed dat
a
file portabilit
y
between
v
ar
i
o
u
s
systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibbey
A fe
w
more pthrea
d
_testcancel()'s
.
Should be
the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread cance
l
lation tests in do_comp
r
ess() and do_
d
ecompress()
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Kibbey
Do
n
'
t
s
e
n
d status m
e
s
sages to clients that ar
e
exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben K
i
b
be
y
Fixed
a
segfault with the SAVE command when us
e
d wit
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More
thread cancelation tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
C
reate a
mutex fo
r
t
h
e cus
t
om memory functions
.
F
ixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
K
i
bbey
Create
a ne
w
thre
a
d when reloading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kib
b
e
y
More thread cancellatio
n
tests
(
more to
c
ome
)
and threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple
more thread cancellat
i
on tests and cl
e
anups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the cli
e
n
t thread terminates whil
e
a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
K
i
b
bey
Setup a cleanup handler
i
n it
e
rate_crypto_once
(
) in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When enc
r
ypting/
d
ecrypting, don't do the w
h
o
l
e thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
In c
l
ean
u
p_cb(
)
,
d
on
'
t free
cn->name until everythin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Better mute
x
locking and unlocking macros
.
Useful
f
o
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Upda
t
e
the mti
m
e in do_xml
_
e
n
crypt
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ib
b
e
y
c
rypto->inbuf is
s
et to t
h
e
d
ata to
e
ncrypt w
h
en passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Us
e
gcry_
.
.
.
m
emory functio
n
s i
n
do_
c
ompress()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
R
e
tur
n
GPG_ERR_ENOANO if the data
f
ile is not a
regul
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A c
o
uple minor c
a
che
.
c
cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xed potentially not fr
e
ein
g
all cache
e
ntries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fi
x
ed status
mess
a
ges send with send_
s
tatus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
x
ed tls_in
i
t
() not i
n
itializing the S
H
A
-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
I
n
i
t
ial
i
z
e
li
b
gcr
y
pt
pr
o
perly by
c
a
l
ling gcry_check_vers
i
on()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
M
ove initTlsPar
a
ms(
)
a
n
d deinit
T
lsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Added
o
pti
o
n "tcp_u
s
e
_
crl"
.
W
hen
TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
S
e
t
t
he
s
ignal mask
b
efo
r
e ot
h
er threads are c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't
t
ry an
d
link wi
t
h
-lrt
o
n sys
t
ems other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
Fixed
a
compile tim
e
e
r
ror on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile
t
ime wa
r
ning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Remove old
< v1
.
11 comm
a
nd
lin
e
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MU
T
EX_REC
U
RSIVE not P
T
HREAD_MUT
E
X_RECURSIVE
_
N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed some comple
t
ime c
o
n
d
itio
n
als
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
Re
s
t
o
r
e
client->has_lock
i
n
c
leanup_clie
n
t()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
be
y
Us
e
a struct
u
re in fi
l
e_
c
ache_t to hold the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
The client mu
s
t explicitl
y
set O
P
TION PINENTRY
i
f the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't
w
r
ite a log me
s
sa
g
e when th
e
c
ache
mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
e
a
l
ly fi
x
commit a7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix for co
m
mit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix
fo
r
co
m
m
i
t a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
R
e
s
ta
r
t the ke
e
p
aliv
e
_thread
(
) after re
c
eiving S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
Stop accepting T
C
P
c
o
nnections
w
he
n
shutting down
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If ME
M
_DE
B
UG is d
e
fined then s
e
t
t
he
x
.
.
.
de/allocat
o
rs
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
Use an SHA-1 f
i
ngerprint
rather t
h
an
M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Fi
x
ed a
s
egf
a
u
l
t
w
hen TLS failed n
e
gotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Create
the client_msg_thread and client_msg_sender
_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
O
n
ly append unique statu
s
messages to the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the
c
urrent thread is cal
l
i
n
g s
e
nd_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Ma
k
e sur
e
the ms
g
mutex is unlocked bef
o
re tryi
n
g
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibb
e
y
Cr
e
a
te
a
me
s
sage queue
t
hat w
o
n't b
l
ock send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
Kibbey
Ported to pthread
.
cache_mutex and cn_mutex ar
e
no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SI
G
H
UP will
s
t
op or s
t
art the tcp_
a
ccept_thre
a
d
() dep
e
n
d
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kib
b
ey
U
pdat
e
d th
e
copyr
i
ght headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibbey
Fixe
d
a
pinentr
y
se
g
f
a
ult
(
hopeful
l
y) during
clean
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
be
y
Al
l
ow
o
ther characters
i
n
the filen
a
me when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
b
b
ey
Moved COMMA
N
DS to d
o
c/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Re
t
u
r
n GPG
_
ERR_
N
O_VALUE
i
nstead of
a
syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Re-add
.
flags to
the new v2 file heade
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fi
x
ed a memory l
e
a
k
in pinent
r
y_
i
terate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting up wi
t
hout an rcfil
e
.
commit
|
commitdiff
|
tree
next