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
More thread cancelation tests and handlers.
2009-01-29
Ben Kibbey
More thr
e
ad cancelati
o
n tests a
n
d hand
l
e
rs
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
Create
a
mutex for
the
custom memory
funct
i
ons
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Ki
b
be
y
Creat
e
a new thread when rel
o
ading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbey
Mo
r
e thread can
c
ellation tests (mor
e
to come)
a
n
d thr
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
couple mo
r
e
t
h
read
cancellatio
n
te
s
t
s and cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Ki
b
bey
If the client thread te
r
m
i
nates while a
pine
n
try
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Ki
b
bey
Setup a cleanup hand
l
er in ite
r
ate_crypto_o
n
ce() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encryp
t
ing/de
c
rypting, don't
d
o the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
bey
I
n
cleanup_cb(), do
n
't free cn->n
a
me until every
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
b
ey
Better mute
x
locking and unlocking macros
.
Us
e
ful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
U
pdate t
h
e m
t
i
me
i
n
d
o_xml_en
c
rypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->
i
n
b
u
f i
s
set to
t
he data to
e
ncrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use g
c
ry_
.
.
.
memory
f
unctions in do_compres
s
()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ib
b
e
y
Return
G
P
G_ERR_ENOANO i
f
the data fil
e
is
n
o
t a re
g
ul
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
A coupl
e
minor c
a
che
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed pote
n
t
ia
l
l
y not freeing all cach
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed stat
u
s messages
s
e
n
d
with se
n
d_statu
s
_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
be
y
Fixed tls_init() not
i
nitializing th
e
SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
I
n
itialize libgcryp
t
properly by calling gcry_chec
k
_version
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
M
ove ini
t
TlsParam
s
(
)
an
d
dein
i
tTlsP
a
rams(
)
to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibb
e
y
Added opti
o
n "tcp_
u
se_crl"
.
Whe
n
TRUE, ~/
.
pwm
d
/
crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Set th
e
s
i
gnal mask before other threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bb
e
y
D
on't
t
ry and link with -lrt on
s
yst
e
m
s
oth
e
r than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Fixed a compile time
e
rror on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed
a
compile
t
ime
w
arn
i
n
g on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Remove old < v1
.
11 co
m
mand line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Us
e
PTHREAD_M
U
TEX_RECURSIVE not PT
H
RE
A
D_MUTEX
_
R
ECURS
I
VE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibb
e
y
Fixed some
c
omple t
i
me conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore cl
i
en
t
->has_loc
k
in cleanup
_
client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
U
se
a stru
c
ture in
file_cache_t
t
o
h
old the f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
The client must expl
i
citly set OPT
I
ON PINENTRY
if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
ibbey
Don't write
a
log message when the c
a
che m
u
tex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Really fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix fo
r
commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
F
i
x for co
m
m
i
t
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Rest
a
r
t
t
he
k
eepa
l
ive_t
h
read(
)
after receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop a
c
ce
p
t
i
ng TCP
c
onnecti
o
ns
when shuttin
g
down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBUG is defined then set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
Use a
n
SHA-1 fingerprint rather than MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbe
y
Fixed a
segfault wh
e
n TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Cr
e
ate the
c
lient_ms
g
_threa
d
a
nd clie
n
t_m
s
g_se
n
der_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
On
l
y
append unique statu
s
messages to the message queu
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
b
e
y
I
f
the
c
urrent thread is calli
n
g
send_status_all
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure t
h
e
m
sg mutex is unlocked
b
efore trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create
a
m
e
ssa
g
e qu
e
ue that won't b
l
ock send_status
_
all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibb
e
y
Ported to pthread
.
ca
c
he_mutex and cn_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop or start the tcp_accept_thr
e
ad() de
p
ending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
U
p
dated the copyr
i
ght headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n
K
ibbey
Fixed a pinentry s
e
g
f
ault
(
hopeful
l
y)
d
uring
c
le
a
nup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
Allow other
c
h
aracters in the
f
i
len
a
me when using GETC
O
N
FIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMANDS
t
o doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
Kibbey
Return GPG_ERR
_
NO_VALUE
i
ns
t
ead of a syntax
e
rror from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Re-add
.
fla
g
s to t
h
e new v2
f
il
e
header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
i
xe
d
a
m
emory
l
eak in pine
n
try_iterate
(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
F
i
xed starti
n
g up witho
u
t
an r
c
f
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Warn about errors o
p
e
n
ing a key_file
while
p
arsin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
b
bey
Fixed
clear_cach
e
()
c
l
earing a
l
l ca
c
he en
t
ri
e
s
.
commit
|
commitdiff
|
tree
2009-01-08
B
en Ki
b
bey
F
i
xed a memory lea
k
create
_
dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
i
bb
e
y
Fixed
a
ski
n
g fo
r
a passphrase after op
e
ning a new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed clos
i
ng the wrong FD in c
l
eanup_c
r
ypto() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibb
e
y
Fixed SAVE wi
t
h
a
passphrase specified in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
b
b
ey
C
l
o
s
e
t
h
e cipher ha
n
d
le
i
n
crypto
_
cl
e
anup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
F
i
xed som
e
compile-tim
e
wa
r
nings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
The "disable_list_and_d
u
mp" configurat
i
on
p
a
ramete
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kib
b
ey
W
hen im
p
orting, converti
n
g and push
i
ng files
in
t
o the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
b
b
ey
Some code
rearr
a
n
ge
m
ents
.
Gett
i
ng ready
t
o fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show the
output fil
e
name and not
stdout in the imp
o
rt
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a memory leak
i
n do_cache_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
Handle STA
T
US_
C
OMPRESS/DECOMPRE
S
S/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
ibbey
Fixed the
pinentry
d
i
a
log showi
n
g t
h
e
w
r
o
n
g
filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Fixed freei
n
g "tcp_wa
i
t" i
n
tcp
_
accept_thread() be
f
ore
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
bbey
Added configuratio
n
paramete
r
"
cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
ibbey
C
he
c
k
the return value of pth
_
spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Ki
b
b
e
y
Updated
t
h
e
docs
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
Kibbe
y
U
se s
e
nd
_
s
t
at
u
s() from
C
A
CHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben K
i
bbey
Set the
thread name for
o
ther threa
d
s too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Removed the
un
u
sed file header vari
a
bl
e
s
.
They
c
an
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbe
y
Allow "
G
ETCONFI
G
key
"
and "GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added
comm
a
nd VERSION to return the
v
ersio
n
str
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the c
l
i
ent FD to non-block
i
ng
i
n the BYE notifie
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en K
i
bbey
Whe
n
"key_file
"
i
s
specified in the configuration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Be
n
K
i
bbey
Return a gboolean
from v
a
lidat
e
_
a
c
cess()
.
commit
|
commitdiff
|
tree
2008-11-22
Be
n
K
i
bbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Ki
b
be
y
Use a tempor
a
r
y v
a
riable
i
n
r
elo
a
d_rcfile() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WITH_G
N
UTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Reve
r
t "Set the cl
i
ent socket
fi
l
e desc
r
iptor to n
o
n
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for commit 8f8584
6
.
Show
the actua
l
error descri
p
ti
o
n
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use
_SC_PAGESIZ
E
as the size
argu
m
ent to
m
l
ock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Revert "Fixed a
le
a
k in
c
ache_free
(
)
.
"
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
Fixed a leak i
n
cache_free(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid
t
he file ca
c
he to use
a
GSList (singular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbe
y
M
o
v
e
d read_hook()
a
n
d write_
h
ook() to t
l
s
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbe
y
U
s
e lo
g
_write() instead of
w
arn[x] and
f
p
r
intf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Be
n
Kib
b
ey
L
et the "key_fil
e
"
c
o
n
figuration pa
r
ameter
w
o
rk with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
R
e
vert
"
F
i
xed
OPEN and SAVE t
o
use the "
k
e
y_file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Re
v
e
r
t "Adde
d
OPTION KEYF
I
LE
.
Se
t
ting to
0
will disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Be
n
K
i
bbey
Added OPTI
O
N
KEYFILE
.
Set
t
in
g
to 0 will
disabl
e
t
ry
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n K
i
bbe
y
Fixed OPEN and SAV
E
to use the
"ke
y
_file" if specifi
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n Kibbey
Let -C use a keyfile with -k
.
commit
|
commitdiff
|
tree
2008-11-15
B
e
n Kibbe
y
F
ixed a
couple of
minor me
m
o
r
y leaks
.
commit
|
commitdiff
|
tree
next