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
Remove the exiting client from the client list as soon as possible so
2009-02-07
Ben Kibbey
R
emove the exiting c
l
ient fr
o
m the client
l
ist as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbe
y
Minor
c
leanups in
mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Lock t
h
e
r
cfi
l
e_mut
e
x at each ke
y
fileh acc
e
s
s
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Ki
b
bey
Don'
t
l
o
c
k the
cn_mutex before cancelling the cli
e
nt
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben K
i
bbey
Fix for the previous
c
o
m
mit t
h
at wou
l
dn't terminat
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a loca
l
mutex in cl
i
ent_
m
sg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
Use a goffset rather t
h
a
n gsize for crypto
-
>insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed status me
s
sages to use
th
e
ne
w
iteration
t
ype
.
commit
|
commitdiff
|
tree
2009-02-03
B
en Ki
b
bey
Fixed d
a
t
a
f
il
e
portability between va
r
io
u
s
s
y
stems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibbey
A few
m
ore pth
r
e
ad_testcancel(
)
'
s
.
Should b
e
the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibbey
Threa
d
cancella
t
i
o
n
t
es
t
s in
d
o
_
compre
s
s
(
) and do_decompre
s
s()
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Kibbey
D
on'
t
se
n
d status messages to clie
n
t
s that are
exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
K
i
b
bey
F
ixed a segf
a
ul
t
with the SAVE command when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More thread
cancelation tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
K
i
bb
e
y
Cre
a
te a mutex
f
or the cu
s
tom mem
o
r
y
function
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en
K
ibb
e
y
Create a new thread when rel
o
ad
i
n
g
the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
Kib
b
ey
Mor
e
thread cancellatio
n
test
s
(m
o
re to c
o
me) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple more
t
hread cancella
t
ion tests a
n
d clea
n
u
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben K
i
bbey
If th
e
client thread t
e
r
minates w
h
ile a
p
inentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibb
e
y
Se
t
up a
c
leanup handler in iterate_crypt
o
_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Wh
e
n
e
n
crypting/de
c
ryptin
g
,
don't do the w
h
ole t
h
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb()
,
d
o
n't free c
n
->name until ev
e
rything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Better mutex locking an
d
unlocking macros
.
Usefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Upd
a
t
e the m
t
ime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
cr
y
pto
-
>i
n
buf is set
t
o the dat
a
to en
c
ry
p
t
when
p
assed to
commit
|
commitdiff
|
tree
2009-01-25
B
en Ki
b
bey
Use gcry_
.
.
.
memory functions
in do_com
p
ress() an
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Return GPG
_
ERR_E
N
OANO if the data file
is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
A couple
m
inor
c
ache
.
c c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed pot
e
ntially
n
ot freeing all cache entri
e
s in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Fixed status messages send with send_status_all()
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed tls_in
i
t
() not initializing
t
he
S
HA-
1
h
a
s
h
si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
Ini
t
ialize libgcrypt proper
l
y by call
i
n
g gcr
y
_check_version
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
Mo
v
e ini
t
Tls
P
ara
m
s() and deinitTls
P
ara
m
s() to
t
ls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Added option "tcp_use_cr
l
"
.
Whe
n
T
RUE, ~/
.
pwmd
/
crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the signal mask before other threads ar
e
cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Don'
t
try and link
with -l
r
t on syste
m
s other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixe
d
a com
p
ile
t
ime
er
r
or on
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed
a
compile time
w
arning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Remove old < v1
.
11 command line op
t
ion -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUT
E
X_RECURSIV
E
not PTHREA
D
_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
F
i
x
ed so
m
e comp
l
e t
i
m
e
condition
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
Re
s
t
o
re client-
>
h
as_lock in
cle
a
nup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Use a st
r
ucture in fi
l
e_cache_t to hold the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
The client mus
t
exp
l
icitly set OPTION PINENTR
Y
i
f t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
D
o
n't write a log messag
e
when the cac
h
e mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Really
f
ix commit a7e1
5
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix for commit
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
F
ix for commit a
7
e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
R
estart the keepalive_thre
a
d() after
receiving SIGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kib
b
ey
Stop
accepting TCP connections
wh
e
n shutt
i
ng down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
bb
e
y
If MEM_DEBUG is defined then se
t
the
x
.
.
.
de
/
allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-
1
fin
g
erprint
r
ather
t
han MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Fixed a
segf
a
ult when TLS fail
e
d negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Creat
e
the cli
e
nt_msg_thread and client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
Only append unique sta
t
us message
s
to t
h
e me
s
sa
g
e
q
u
eue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
b
bey
If the cu
r
rent thr
e
ad is ca
l
ling
s
end_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Ki
b
bey
Make sure
t
h
e msg mutex
is
u
nlocke
d
before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Cre
a
te
a
me
s
sage
q
ueue
th
a
t
won't
b
lock send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
Kibbey
Po
r
ted to pth
r
e
a
d
.
cac
h
e
_
mutex and
cn_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
e
n Kib
b
ey
SIGHU
P
will
stop
o
r start
the
t
c
p
_accept_t
h
read() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
Up
d
ated the
c
opy
r
ight
headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
Fixed a pinentry segfault (hopef
u
lly) durin
g
cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
b
bey
All
o
w
o
the
r
c
h
aracters in th
e
filenam
e
when using GETC
O
NFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Mo
v
ed COMM
A
N
D
S
to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return GP
G
_
E
RR_NO_VALUE instead of a syntax er
r
or fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ib
b
ey
Re-add
.
flags t
o
t
h
e
n
e
w
v2 file
header
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Fixed a
m
emor
y
leak
in
p
inent
r
y_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
K
ibbey
Fixed
s
tarting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
W
arn about
errors opening a key
_
file
while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Ki
b
b
e
y
Fixed clear_
c
ache() clearing all ca
c
he entri
e
s
.
commit
|
commitdiff
|
tree
2009-01-08
Ben
K
ibbey
Fixed
a memory l
e
a
k cr
e
ate
_
d
t
d()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
F
ixed a
s
kin
g
for a passphrase af
t
er ope
n
ing
a
new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Ki
b
bey
Fixed
c
losi
n
g the
wrong FD i
n
c
l
e
a
nup_crypt
o
() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
x
ed S
A
VE with a passphrase spec
i
fied in the command
.
commit
|
commitdiff
|
tree
2009-01-05
B
en Ki
b
bey
Close t
h
e c
i
pher h
a
ndle
in crypto
_
c
l
e
anup();
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Ki
b
bey
F
i
xed som
e
c
ompile-time warnin
g
s
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbey
T
he "disa
b
le_list
_
and_dump" configuration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
When importing
,
conv
e
rt
i
ng and
p
u
shing fil
e
s in
t
o the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
b
e
y
S
ome c
o
de
r
ea
r
rangeme
n
ts
.
Getting
ready
t
o fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
S
h
o
w
th
e
output file
n
ame a
n
d not stdout
in the i
m
po
r
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a memory
l
eak in do_
c
ache
_
push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en Kibbey
H
andle STATUS_C
O
MP
R
ESS/DECOMPRESS/ENCR
Y
PT
/
DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibb
e
y
F
i
xed the pinentry dial
o
g
s
howing the wrong filena
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
F
i
xe
d
freeing "tcp_wai
t
" in tcp_accept_threa
d
() befor
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
ibb
e
y
Adde
d
co
n
f
i
gurat
i
on parameter "cipher_
s
uite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibb
e
y
Check the return
v
alue
o
f pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Up
d
at
e
d
t
h
e do
c
s
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n
K
ibbey
Use send_st
a
tus() f
r
o
m CA
C
H
E
_
LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set th
e
thread name for other threads t
o
o
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibb
e
y
Removed the unu
s
ed file hea
d
er variables
.
T
h
e
y can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Be
n
Kibbey
Allow "GETCONFIG
key"
a
nd "GETCONFIG ke
y
_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Ki
b
bey
Added
command VERSION to ret
u
rn th
e
version
s
tring
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the client FD
to no
n
-blocking
i
n t
h
e
B
YE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_f
i
le
"
is specified i
n
the c
o
nfiguration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Be
n
Kibbey
Return a gboolean fro
m
validate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
B
e
n Kibbey
M
erge
b
ranch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbey
Use a
t
emporary variable in reload_rcfile() in c
a
se
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
WITH_GNU
T
LS fi
x
es
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
Revert "Set the cl
i
ent soc
k
et file descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for commit
8
f
85846
.
Show
t
h
e actual erro
r
d
escrip
t
io
n
.
commit
|
commitdiff
|
tree
next