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
Create a mutex for the custom memory functions. Fixes list corruption.
2009-01-28
Ben Kibbey
Create a
mutex fo
r
the custom memo
r
y fun
c
tions
.
Fixe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
Kibb
e
y
C
reate
a
n
ew thread when reloading
the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
ore thread ca
n
cellati
o
n tests (more to c
o
m
e
)
and
th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A co
u
ple m
o
re thr
e
ad cancellation tests
a
nd cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kib
b
ey
If the client th
r
ead t
e
r
m
i
nates while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup
a
cleanup handle
r
in iterate_crypto_once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
When encry
p
tin
g
/decrypting, don't d
o
the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb
(
),
d
o
n
'
t free cn->name
un
t
il ever
y
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Better
m
utex lock
i
n
g
an
d
unloc
k
ing ma
c
ros
.
Us
e
ful
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Update the mtime in d
o
_xml
_
encr
y
pt
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
cr
y
p
t
o->inbuf is set to the
d
ata to encryp
t
wh
e
n pas
s
ed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
m
e
mory
f
u
n
ctions
i
n
d
o_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Retu
r
n GPG_
E
RR_ENOANO if
t
he
d
a
t
a file is n
o
t a r
e
gular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple mi
n
or cache
.
c cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed po
t
entially not freeing all
c
ache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
s
t
atus messages send with send_sta
t
us_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
t
l
s
_init(
)
n
o
t initial
i
zi
n
g t
h
e SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Ini
t
ializ
e
l
ibgcrypt prop
e
rly by ca
l
ling gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move
initTl
s
Params() and
dein
i
tTlsParams() to
t
l
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Added opti
o
n "tcp_
u
se_crl"
.
When TR
U
E, ~/
.
p
wmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Set th
e
s
i
g
n
al mask before
other threads are
c
reate
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Don't
t
ry and li
n
k with
-
lrt o
n
systems other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
i
bbe
y
Fixed a compile tim
e
error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
a
comp
i
le time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old <
v1
.
11 command
line option
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUTEX_RECURS
I
VE not P
T
HREAD
_
MUTEX_RECURSIVE
_
NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed s
o
me comple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
R
estore client-
>
has_l
o
c
k
in cleanup_cl
i
ent()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Us
e
a structure in file_cache_t to hold
the
f
ile mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
The
c
l
ient m
u
s
t explic
i
t
l
y set
OPTION PINENT
R
Y
if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kib
b
ey
Don't write a log mess
a
ge
w
he
n
the cache mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
Really fix commit
a
7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Revert "F
i
x
f
or
c
ommit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bb
e
y
Fix fo
r
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart
t
he keepalive_thread(
)
after receiving
S
I
G
H
UP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accepting TCP
conn
e
ctions when shut
t
i
n
g
do
w
n
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
If MEM_DEB
U
G is de
f
ined then set the x
.
.
.
d
e/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Us
e
an S
H
A-1
f
ingerprint r
a
t
h
e
r than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbe
y
Fixe
d
a se
g
fault when TL
S
failed neg
o
tiatio
n
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbe
y
Create the client_msg_thr
e
ad
a
nd cl
i
ent_ms
g
_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kib
b
ey
Only ap
p
end unique statu
s
mes
s
a
ges to the message que
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
If the c
u
r
r
ent thread is ca
l
li
n
g send_status_al
l
()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make su
r
e the
m
sg mutex is
u
nlocked
b
efore trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
bey
C
reate a
m
es
s
a
ge queue
t
h
a
t
won't
b
lock
send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben K
i
bbey
Po
r
ted to pthread
.
cach
e
_mutex and cn_mute
x
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben
Kibbey
SIGHUP
will stop or start the tcp_accept_thread() depen
d
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
Updated t
h
e co
p
yri
g
ht head
e
rs
for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixed
a
p
i
n
en
t
ry
s
egfault
(hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Allow oth
e
r charac
t
ers i
n
the filenam
e
w
h
en usi
n
g GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Moved COMMANDS t
o
d
oc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return GPG_ERR_NO_VAL
U
E instead of a syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
K
i
bbe
y
Re-add
.
flags
to t
h
e
n
ew v2 file h
e
ade
r
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
F
ixed a m
e
mory leak in pinentry_it
e
rate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed st
a
rting
u
p with
o
ut an rc
f
ile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about errors openin
g
a ke
y
_file while pa
r
sing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed clear_cache() clearing all cache entri
e
s
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n
Kibb
e
y
Fixed a memory le
a
k create_
d
td
(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibbey
F
i
xed
asking for a passph
r
ase aft
e
r o
p
e
ning a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
Fi
x
ed closing the wr
o
ng FD in cleanup_crypt
o
() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
F
ixed SAVE with a passphra
s
e s
p
eci
f
ied in th
e
comman
d
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbe
y
Close th
e
c
ipher
h
andle in
crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some
comp
i
le-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "disable_li
s
t_and_dump
"
config
u
ration pa
r
a
m
eter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Whe
n
importing, c
o
nve
r
ting and
p
ushing
f
i
l
es
i
nto the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Ki
b
bey
Some code rearrange
m
ents
.
Getti
n
g rea
d
y to
fi
x
fre
e
in
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbey
Show the o
u
tput filenam
e
and not
s
tdout in
t
he impo
r
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Kibbey
Fixed a memory
l
eak in do_c
a
che_push()
.
Th
e
document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Handle S
T
ATU
S
_COMPRESS
/
DECOMP
R
ESS/EN
C
RYPT/DE
C
RYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed the pin
e
n
t
ry dialog sho
w
ing the w
r
ong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kibbey
Fixed fr
e
ei
n
g "t
c
p_wait" in
tc
p
_accept_thread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kibbe
y
Added c
o
nfig
u
ration param
e
ter "cipher
_
suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
C
h
eck
t
he return v
a
lue o
f
pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the do
c
s
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Kibbey
U
s
e
s
e
n
d
_
s
tatus()
f
r
om CACH
E
_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben K
i
b
b
ey
Se
t
the t
h
read name for other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Remov
e
d th
e
un
u
se
d
file head
e
r variables
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
en
Kibb
e
y
A
llow "GET
C
ONFIG key"
and
"GETCON
F
I
G
key_
f
ile"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kib
b
ey
Ad
d
ed comm
a
n
d
VER
S
ION t
o
r
e
turn the versio
n
string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
S
e
t the client F
D
t
o
n
on-blocking in th
e
BYE n
o
tifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbe
y
W
hen "key_file" is
specified in the c
o
n
f
i
gu
r
ation and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben
Ki
b
bey
R
eturn a gboo
l
ean from
v
a
l
id
a
te_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Ki
b
b
e
y
Merge br
a
nch
'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
U
s
e a te
m
p
or
a
ry
variable in
relo
a
d
_rcfile() in
c
ase
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WITH_
G
NUTLS
fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
Kibbey
Rever
t
"Set
t
he
c
lient
socket file de
s
crip
t
or to
n
on
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
Kibbey
Fix for
c
o
mmit 8f85846
.
S
h
ow t
h
e actual
err
o
r
description
.
commit
|
commitdiff
|
tree
2008-11-21
Be
n
K
ibbey
Use _SC_PAGES
I
ZE as the size
a
rgum
e
nt to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
K
ibb
e
y
Revert "Fixe
d
a
l
e
ak in c
a
che_free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbey
F
ixed a leak in c
a
che_free()
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
K
i
b
b
ey
R
edid the fil
e
cache
t
o
u
se a GSList
(sing
u
l
a
r linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibb
e
y
Moved read_hook() an
d
w
rite_hoo
k
(
) to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
Kibbey
Use l
o
g
_
write
(
) i
n
stead of warn[x] and fprint
f
(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Let the "ke
y
_file" c
o
nfigu
r
at
i
on paramet
e
r wor
k
with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben
K
ib
b
e
y
R
e
vert "Fixe
d
OPEN and SAV
E
to
u
s
e the "key_file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Revert "Added OPTI
O
N K
E
YFILE
.
Set
t
ing to 0 will
dis
a
ble
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben K
i
bb
e
y
Added OPTION KEYFILE
.
Settin
g
to 0 will disable tr
y
ing
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
Kibbey
Fixed OPEN a
n
d SAVE to
use t
h
e
"key_file" if
s
p
ecified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben K
i
bbey
L
e
t -
C
use a keyfile with -k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Fixe
d
a co
u
pl
e
of minor
m
emory leak
s
.
commit
|
commitdiff
|
tree
2008-11-15
Ben
Ki
b
bey
Added con
f
igurati
o
n
option "
t
cp_
w
ait"
.
Se
t
s the
ti
m
e
.
.
.
commit
|
commitdiff
|
tree
next