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 a typo in the previous commit. Destroy the cond, not the mutex.
2009-02-07
B
e
n Kibbey
Fixed a typo
in the previou
s
c
ommit
.
Dest
r
oy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed keepa
l
ive_t
h
read(
)
to use
a
lo
c
al condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Fixed a
b
orting th
e
conn
e
ction
w
hen the configured keepaliv
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
be
y
Moved
c
lient_
m
sg
_
th
r
ead()
and clien
t
_msg_send
e
r
_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
C
reated
s
tatus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Af
t
er
s
e
nding a
status m
e
ssage to se
n
d_status(), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Ki
b
bey
Re
m
ove th
e
exiting client from the client list
a
s soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
K
i
bbey
Minor cleanu
p
s in
m
em
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbe
y
Lock the rcfile_mutex a
t
each keyfileh acc
e
ss
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Do
n
't lock th
e
cn
_
mute
x
bef
o
re cancelling t
h
e client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Ki
b
b
ey
F
i
x for th
e
previous
com
m
it that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbe
y
Use a
local mutex
in
c
lie
n
t_ms
g
_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
Ki
b
bey
Use
a
go
f
fset rather than
g
size for crypt
o
->
i
nsi
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
B
en
Kibbey
Fixed statu
s
messages
t
o
use the new iter
a
tion ty
p
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
ibbey
Fixed data fi
l
e portability
b
etwe
e
n various
systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en K
i
bbey
A
f
ew more p
t
hread
_
tes
t
ca
n
cel()'s
.
Should be
th
e
l
ast
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ib
b
ey
Thread c
a
ncellat
i
on te
s
ts
in do_
c
ompres
s
() and do_decompre
s
s(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don
'
t send status me
s
sages to clients t
h
at are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixe
d
a
segfault with the SA
V
E command when u
s
ed with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
Mor
e
thre
a
d cancelation
tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
b
ey
Create a mutex for
t
he custo
m
m
emory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibbey
Create
a new t
h
read when reloadin
g
t
he rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbe
y
More thread cancellation tests (m
o
re to
c
ome) a
n
d th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n
Ki
b
bey
A
c
ou
p
le
m
ore thread
cancell
a
tion tests and cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the client thread t
e
rmin
a
tes while a pinent
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
S
e
t
u
p a
clea
n
up han
d
ler in it
e
r
a
t
e_crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When en
c
ryptin
g
/
decrypti
n
g,
d
on't do
t
he whol
e
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
I
n clean
u
p_c
b
(), don't free cn->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
b
ey
Bett
e
r mutex lockin
g
and un
l
ocking macros
.
Useful
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Update the mtime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
crypto->inbuf is set
to
t
he data to encr
y
pt wh
e
n passed to
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Use gcry
_
.
.
.
memor
y
fun
c
tions in do_
c
o
mpress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Re
t
urn GPG_ERR_ENOANO if the
data
fil
e
is not a re
g
ular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
A
couple minor cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
F
i
x
e
d poten
t
ially
not
f
reeing all c
a
c
he entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed status me
s
sages s
e
nd with send_status
_
all()
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed tls_init()
n
o
t initializing the SHA-1 h
a
s
h
size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
Initialize libgcrypt properly
b
y ca
l
ling gcr
y
_
ch
e
ck_ver
s
ion
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
M
o
ve initTlsParams() and deinit
T
lsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Adde
d
option "tcp_use_
c
rl"
.
When TRUE,
~/
.
pw
m
d/c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
S
e
t the
s
igna
l
mask befor
e
other threads a
r
e crea
t
ed
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don'
t
try
a
nd link wi
t
h -lrt
o
n systems
o
t
her t
h
an
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xed a co
m
p
i
le time e
r
ro
r
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fixed
a
compile time w
a
rn
i
ng on FreeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove o
l
d < v1
.
11 command lin
e
op
t
ion
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Use PTHREA
D
_MUTEX_REC
U
RS
I
VE not PT
H
READ_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
F
ixed some compl
e
time con
d
itional
s
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibb
e
y
Restore cl
i
ent->h
a
s_lock in
cleanup_
c
lien
t
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Use a structure in
file_cache_t to hol
d
the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
The cl
i
ent
m
us
t
explicitly set OPTION PINENTR
Y
if
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Don't w
r
ite a log message when the cache mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Really fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Rev
e
rt "Fix f
o
r commi
t
a
7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
ey
F
i
x for
c
o
mmit a7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Restart
t
he keepalive_thread() af
t
er receiving
S
IGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop acc
e
pting
T
C
P
connections
when shu
t
tin
g
down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBU
G
is def
i
ned then
set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
bey
Use an S
H
A-1
f
inger
p
rin
t
rath
e
r
t
h
an MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a segfault wh
e
n
T
L
S faile
d
ne
g
otiatio
n
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
C
reate t
h
e
c
lie
n
t_msg_thr
e
ad
a
nd client_
m
s
g
_sen
d
er_th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Only append unique
s
ta
t
u
s
messages to the m
e
s
s
age queue
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
K
ibbey
If the
c
urre
n
t thread is calling send
_
status_
a
ll()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
ey
M
a
k
e
sure the msg mutex is unlocked
b
efor
e
trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
Kibbey
Crea
t
e a messag
e
queue that won't
block s
e
nd_statu
s
_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en
K
i
b
b
ey
P
o
r
ted to pthrea
d
.
cache_mutex and cn_mut
e
x are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Be
n
K
i
bbey
SIGHUP will stop or
s
t
a
r
t the tcp_accept_thread()
d
ependi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
bbe
y
Upda
t
ed
t
h
e copyrig
h
t headers
f
or 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
Fixed a
p
inentry segfault (hope
f
ully)
d
uring cle
a
nup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow other character
s
in t
h
e filename whe
n
using GE
T
CONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMANDS to
d
oc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
Ki
b
bey
Return GPG_
E
RR_NO_VA
L
UE instead of
a
syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Re-a
d
d
.
flags
t
o
the n
e
w
v2 fi
l
e
h
eader
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Fixe
d
a
m
emory leak in pine
n
try_it
e
rat
e
()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
F
ix
e
d s
t
ar
t
i
ng
u
p with
o
ut a
n
rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
Ki
b
b
ey
Warn about err
o
r
s
openi
n
g a key
_
file
w
h
i
le parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Fixed clear_cache() clearing all
c
ache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben
K
ibbey
Fixed a memory
l
eak create_d
t
d
()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
Kibbey
Fixed asking fo
r
a
pass
p
h
rase
after opening
a
new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbe
y
Fixed closing
t
he wrong FD in
cleanup_cryp
t
o()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kib
b
e
y
Fixed SAVE with a
p
ass
p
hra
s
e
s
pecified in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Clo
s
e the ci
p
her handle
i
n cry
p
to_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbey
Fix
e
d som
e
compile-time wa
r
n
ing
s
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kibbey
The "disa
b
le_list_an
d
_dump" configuration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Kibb
e
y
Whe
n
importi
n
g
, converting and pushing file
s
into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
S
ome code rearrangements
.
Ge
t
t
ing read
y
to fix
f
reeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Kibbey
Show the outpu
t
fil
e
name a
n
d
n
o
t stdout
in t
h
e import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
K
ib
b
ey
Fixed a memor
y
l
e
ak in do_cache_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
ibb
e
y
Hand
l
e STA
T
US_COM
P
RESS/DEC
O
MPRES
S
/ENCRYP
T
/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed the pinentry dialo
g
sho
w
ing the wrong f
i
le
n
ame
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Fixed
free
i
ng "t
c
p_w
a
it" in tcp_accept_thread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Add
e
d c
o
nfi
g
u
ration par
a
m
eter "
c
iph
e
r_suit
e
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Check the return value of pth
_
spawn
(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the
d
ocs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
Kibbe
y
Use send_status() from CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kibbey
S
e
t
t
he thread name for
o
ther threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Remove
d
the un
u
s
ed fi
l
e
header
v
ariab
l
es
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Allow
"
GETC
O
NFIG key" and "GETCONFIG key_f
i
le"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbe
y
Add
e
d
comm
a
nd
VE
R
S
ION to ret
u
r
n
the
v
e
rsion s
t
ring
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Ki
b
bey
Set the
c
lient FD
to non-bloc
k
ing in the B
Y
E no
t
ifi
e
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
W
h
en "key_fi
l
e" is
specified in t
h
e config
u
ration and
.
.
.
commit
|
commitdiff
|
tree
next