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
Use g_get_home_dir() instead.
2009-03-21
Ben Kibbey
Us
e
g_get_home_dir()
i
n
stead
.
commit
|
commitdiff
|
tree
2009-03-20
B
e
n Kibbey
Removed all tcp/
r
emote/GnuTLS support
.
Remote connect
i
ons
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fix tls
.
c compile-time
w
arning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Do
n
t
link
with -lrt or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Removed acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Check for
E
DEADLK in
M
UTEX
_
UNLOCK
.
It can be
ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Wait for
thread TID events which are trigge
r
ed
w
he
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Catch SIGABRT,
b
ut not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Check the ret
u
r
n va
l
ue from pth_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Mino
r
c
l
ea
n
ups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
U
se thread-safe libgcrypt and l
i
b
gpg-error
fun
c
tio
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
D
o
nt
write a
log messa
g
e i
n
MUT
E
X_TRYLOC
K
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibb
e
y
Use MUTEX_TR
Y
LOCK everyw
h
ere STATUS_LOCKED i
s
sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Fixed unlock_file
_
mutex() r
e
leasing th
e
unl
o
cked
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
check t
h
e re
t
urn of pth
_
m
ut
e
x_acquire a
n
d pth_mutex_
r
el
e
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kibbey
squash b
e
fore comm
i
ting to mas
t
e
r
.
th
i
s
is the in
i
tial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben K
i
bbey
Use "git log"
n
ot "git-log
"
in the Makefile 'changel
o
g
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Ad
d
ed OPTION LC_CTYPE an
d
OPTION L
C
_MES
S
AGES
.
Bot
h
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Fixed a typo in t
h
e
p
revious
commit
.
De
s
troy
the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Fixed kee
p
al
i
ve_t
h
r
ead()
t
o use a loca
l
condi
t
ion and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Fi
x
ed abo
r
ting the co
n
nection when
t
he configu
r
e
d
keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Moved c
l
ient_msg_th
r
e
a
d()
and client_msg_sen
d
er_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kib
b
ey
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sending a
sta
t
us
m
essage to send_stat
u
s(), creat
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Remove the
e
xiting client fro
m
the client list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
M
i
nor cleanups
in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbe
y
Lock the
r
cfile_mutex a
t
each keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibb
e
y
Don't lock the
c
n
_
mutex before c
a
n
celling th
e
clie
n
t
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibb
e
y
Fix for the previous commit that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
K
ib
b
ey
Use a local m
u
tex in cli
e
nt_msg_thre
a
d()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
U
s
e a g
o
ffset
r
ather than gsi
z
e
for cry
p
t
o
-
>insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Be
n
Kibbe
y
Fixed status m
e
s
sages t
o
use th
e
new ite
r
ation
type
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n K
i
bbey
Fixed data fi
l
e portability
b
et
w
een v
a
rious system
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
A few mo
r
e pthre
a
d_
t
estc
a
n
cel()'s
.
S
h
o
ul
d
be th
e
last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
T
hread ca
n
cellation tests in
do_compress() and do_decom
p
r
e
ss
(
)
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
Kibbey
Don't send
status messa
g
e
s
to client
s
that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
Fixe
d
a
s
egfau
l
t
w
it
h
the SAVE command when
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
More thread canc
e
latio
n
test
s
and
h
and
l
er
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbey
Creat
e
a m
u
tex f
o
r the cu
s
to
m
memory f
u
nctions
.
Fix
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbe
y
Cr
e
ate
a
new thread when reloading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
More thread cancellation
tests
(
mo
r
e
to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kibbey
A coupl
e
mor
e
t
hread c
a
n
c
e
l
l
atio
n
tests and clea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If t
h
e
client thread termi
n
ates while a p
i
nentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbe
y
Setup a c
l
eanu
p
handler in
i
terate
_
cry
p
to_once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kib
b
ey
When encrypting/de
c
ryp
t
ing, don't do t
h
e
w
hol
e
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In clean
u
p
_
cb(), don't
f
ree
cn-
>
name unt
i
l everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex
l
ocking
and unlocking
ma
c
r
os
.
U
seful
fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Update t
h
e mtime i
n
do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
c
rypt
o
->inbu
f
i
s
set to
the data to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Use gcry_
.
.
.
m
emory
f
un
c
tions in do_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG_
E
RR_ENOANO if th
e
dat
a
file is not a
regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
A couple
m
i
nor cac
h
e
.
c clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
i
bbey
F
i
xed potential
l
y not f
r
ee
i
ng a
l
l cache
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed sta
t
us messa
g
es
send w
i
th send_status_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fix
e
d tl
s
_init() not
i
nitializing the SHA
-
1 ha
s
h size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Initia
l
i
ze libgcry
p
t
p
roper
l
y by cal
l
ing gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Mov
e
initTlsParam
s
(
) and deinitTlsPa
r
ams() to tl
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Added option "t
c
p_use_crl"
.
When
TR
U
E, ~/
.
p
wmd/c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Set the s
i
gnal
m
a
s
k
before other threads are cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Don'
t
try and
l
i
nk wi
t
h -lrt on systems ot
h
er than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
i
xed a compil
e
time
e
rror on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Fixed a
compile tim
e
warning on
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v1
.
11 comm
a
nd line
o
ption -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUTEX_RECURSIVE not PTHREAD_
M
UTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed s
o
me comple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Resto
r
e cl
i
ent->
h
as_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Use
a
struc
t
ure
in file_cache
_
t to hold the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
T
h
e
clie
n
t m
u
st
e
x
p
l
i
citly set OPTION
P
INENTRY if
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Don't write
a
lo
g
mes
s
age
when the cache m
u
tex i
s
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Rea
l
ly f
i
x
co
m
mi
t
a
7
e
15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Revert "Fix
f
or commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
Restart
t
he keepalive_threa
d
(
) after re
c
eiving S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop a
c
cepting
T
CP connections
whe
n
shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
If MEM
_
DEBUG is defin
e
d then
s
et th
e
x
.
.
.
de/alloca
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-1 fingerp
r
i
nt r
a
ther t
h
an MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Fixed a segfau
l
t when TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Cre
a
te the cli
e
nt_msg
_
th
r
e
a
d and client_msg_sender_th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only append un
i
que status mess
a
ges to the
m
es
s
age queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en
K
i
bbey
If the curren
t
thread i
s
calling send
_
sta
t
us_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure the m
s
g mu
t
ex is unlocked be
f
ore tryin
g
to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
C
r
eate a
me
s
s
age que
u
e
that wo
n
't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
Kibb
e
y
Ported to pthread
.
cache_mut
e
x and cn_mutex
a
r
e now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben
K
ibb
e
y
SIGHU
P
w
i
ll s
t
op or
s
tart the tcp_acc
e
pt_thread()
d
ependi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibb
e
y
Update
d
t
he copy
r
i
g
ht
he
a
der
s
for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
b
b
ey
Fixed a
pinentry segfault (hopef
u
ll
y
)
d
u
r
ing cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow ot
h
er characters
i
n
the fil
e
name w
h
en
using G
E
TCONF
I
G
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
M
o
ved C
O
M
M
A
NDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Re
t
urn G
P
G_ERR_NO_V
A
LU
E
instead of
a
syn
t
ax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
flags to the new v2 file head
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbe
y
F
i
xed
a memory leak in pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Fixe
d
s
t
arting up without an rcf
i
le
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn a
b
o
u
t
erro
r
s opening a
k
e
y_file while par
s
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
F
i
xed clea
r
_
c
ach
e
() clearing all cache en
t
ries
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n Kib
b
ey
Fixed a me
m
ory l
e
ak
c
r
e
a
te_dtd(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed
ask
i
ng for
a
p
assp
h
rase aft
e
r
opening a
new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Ki
b
b
ey
F
i
x
ed closing the
w
r
on
g
FD in cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
Fixed
S
A
VE
with a passphrase speci
f
ied in the
c
ommand
.
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbey
Close
t
he c
i
pher h
a
ndle
i
n crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbey
Fixed some
c
o
m
p
ile-time
warnings
.
commit
|
commitdiff
|
tree
next