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
Lock the rcfile_mutex at each keyfileh access.
2009-02-06
Ben Kibbe
y
Lock the rcfi
l
e_mutex at each keyfileh ac
c
ess
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don
'
t
lock the
c
n_mutex
b
e
for
e
cancel
l
ing the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix for the previ
o
us com
m
i
t
that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben K
i
bbey
Use a local mu
t
e
x
in client_ms
g
_
t
h
read()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
i
bbey
Use
a
goff
s
et rather tha
n
gsize for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
b
e
y
Fixe
d
st
a
tus messages to use the ne
w
i
t
eration ty
p
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed data file portability between vario
u
s
syste
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en Kibbey
A
f
e
w
m
ore
pt
h
read
_
testcancel()'s
.
Should be the l
a
st
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en K
i
bbey
Thre
a
d
cancellation tests in do_comp
r
ess
(
) and do_decompr
e
ss()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don
'
t sen
d
status messag
e
s to clients that are e
x
iti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
Fixed a segfault with t
h
e SAV
E
command
w
hen used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Mor
e
thre
a
d cancelation tests and hand
l
e
rs
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
Create a mu
t
ex f
o
r the
cu
s
tom memory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Crea
t
e a new
t
hre
a
d wh
e
n reloading
the rcf
i
le
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbe
y
M
ore th
r
ead cancellation
t
ests
(more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Ki
b
bey
A couple
more
thre
a
d
cancella
t
io
n
tests and
cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the
client thread terminates while a pine
n
try is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup
a
cle
a
nup han
d
ler in iterate_crypto_once
(
) in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
K
ibbey
W
hen encrypting
/
dec
r
ypting, don't d
o
the w
h
ole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(), don't fre
e
cn->
n
ame until
e
verythi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex lock
i
ng a
n
d
unl
o
cking macros
.
U
se
f
ul for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Update the mtime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kib
b
ey
crypto->inbuf
is set to the data to encrypt whe
n
pas
s
ed
to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Use gcry_
.
.
.
memory fu
n
ctio
n
s in do_compress()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Return GPG
_
ERR_ENOANO if th
e
da
t
a
fi
l
e is
not a regu
l
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
A couple minor c
a
che
.
c cleanup
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed potent
i
ally
n
o
t
freeing all
c
ac
h
e
ent
r
ies in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fix
e
d status messag
e
s send
w
ith send_stat
u
s_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed tls_ini
t
(
)
no
t
initi
a
lizing the SHA-1 ha
s
h siz
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
Initi
a
li
z
e libgcrypt prop
e
rly by callin
g
gcry_check_v
e
rsion()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTlsPa
r
am
s
() and deinit
T
l
sP
a
rams()
to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Added option "tc
p
_use_crl"
.
When T
R
UE, ~/
.
pw
m
d/
c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
S
et
t
h
e
sig
n
al
m
ask before
other
t
hre
a
ds are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don
'
t t
r
y and link with -
l
r
t on systems
othe
r
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
bey
Fixed
a c
o
mpile
t
i
m
e err
o
r on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
i
bb
e
y
Fi
x
e
d
a
compile time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Rem
o
v
e
ol
d
< v1
.
11 comm
a
n
d line
option
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Us
e
PTHREAD_MUTEX_RECURS
I
VE not PTHREAD_
M
U
T
EX_RECU
R
S
IVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed so
m
e comple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kib
b
e
y
Restor
e
client->has_loc
k
in
cleanup_clie
n
t()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Use a struc
t
ure
i
n fi
l
e_cache_t to
hold t
h
e f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
T
h
e client must
explicitly
s
et
O
PTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbe
y
Don'
t
write
a
log message when t
h
e ca
c
he mu
t
ex is
l
o
cke
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
R
e
a
l
l
y fix
commi
t
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
evert "Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
bbey
Fix
f
o
r commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Restart the keepali
v
e_thr
e
a
d
(
)
after rece
i
ving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
en
Kibbey
Stop acceptin
g
TCP co
n
necti
o
ns
w
hen shutting do
w
n a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
If
M
EM_DEBUG is
def
i
ned t
h
en set the x
.
.
.
de/al
l
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use
a
n SH
A
-1
fingerpr
i
nt rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a segfault when TLS fa
i
l
e
d
negotiati
o
n
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
Create the client_msg_threa
d
and client
_
msg_s
e
nder_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
O
n
ly append
unique st
a
tus messages t
o
the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kib
b
ey
If the current
t
hread is cal
l
ing
s
end_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Ki
b
be
y
Make sure t
h
e m
s
g mutex
is unlocke
d
before tr
y
ing to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create
a
message queu
e
that won'
t
block send_statu
s
_
all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbe
y
Por
t
ed to pthr
e
ad
.
c
a
che_m
u
tex and cn_mutex
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop or
start the tcp_accept_thread() dep
e
n
d
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the
c
op
y
right
h
eaders for 2
0
09
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fi
x
e
d
a
p
i
nentr
y
seg
f
ault
(hopefully
)
during cl
e
anup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
b
b
ey
A
l
low other char
a
cters in
t
he f
i
lename when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kib
b
e
y
Move
d
C
O
MMANDS
t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return
GPG_ERR_NO_
V
AL
U
E instead of a syntax
error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Re-add
.
flags t
o
t
h
e
new v
2
file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory leak in pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting
up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn abo
u
t
errors opening a key_f
i
le whi
l
e par
s
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
i
xed cle
a
r_cache() c
l
earing all
cac
h
e entrie
s
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n
Kibbey
Fixed a memory leak c
r
ea
t
e
_d
t
d()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d a
s
king for
a
passphrase after opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
K
i
bbey
Fixed
clos
i
ng the
w
rong
F
D in cl
e
a
n
u
p
_
c
rypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
ed SAVE with a pas
s
phr
a
se specifie
d
i
n the co
m
m
a
nd
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Ki
b
be
y
Close th
e
cipher han
d
le in crypto_cleanup()
;
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
b
b
ey
Fixed some compile-time
warni
n
gs
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbe
y
Th
e
"disabl
e
_list_and_dump" configu
r
ati
o
n param
e
ter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Whe
n
importing, co
n
verting and pus
h
i
ng file
s
in
t
o the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n
Kibbey
Some code rearrangement
s
.
G
e
ttin
g
ready to fix fr
e
eing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben K
i
b
b
ey
Show the output filename and not std
o
ut
i
n the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
F
i
xed a memory le
a
k in do_cache_pus
h
(
)
.
The doc
u
ment
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
ibbey
Ha
n
dle STATUS_COMPRESS/DECOMPRESS/ENCRYPT/DECRY
P
T in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fi
x
ed the pine
n
t
ry
dia
l
og showing the wrong
filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en
K
i
b
bey
Fixed freei
n
g "tcp_wait" i
n
tcp_accep
t
_thread() bef
o
r
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en Ki
b
be
y
Added conf
i
guration parameter
"cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
Kibb
e
y
Ch
e
c
k
t
he retu
r
n
value of pth_s
p
a
wn()
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n
Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
B
en
K
ibbey
Use send_status() f
r
om CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
S
e
t
the thr
e
ad name for
other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
Kibbey
Remove
d
the unus
e
d file head
e
r variables
.
Th
e
y can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibb
e
y
Allow "GETCONFI
G
key" and "GETCONF
I
G key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n
Kibbey
Adde
d
command VERSION to return the
version strin
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
en Kibbey
Se
t
the client FD to non-blocking
in the BYE
n
otifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_file"
i
s specifi
e
d
i
n the configuratio
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Ret
u
rn
a
g
bool
e
an from
validat
e
_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge bran
c
h
'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbey
Use a t
e
m
p
o
rar
y
va
r
iable
in re
l
oad_rcfile(
)
in c
a
se
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbey
WITH_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
Revert "Set the cli
e
nt socket file descri
p
tor to no
n
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix
f
o
r commit 8f8
5
846
.
S
ho
w
t
he actual error description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _SC_PAG
E
S
I
ZE as the
s
ize argument to mloc
k
(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
R
e
vert "Fixed a leak in cache_fre
e
()
.
"
commit
|
commitdiff
|
tree
next