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 K
i
bbey
More thread ca
n
c
e
lation t
e
sts and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbey
Creat
e
a mutex for th
e
cu
s
tom mem
o
ry functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
Creat
e
a
new thread when reloa
d
ing the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread cance
l
lation te
s
ts (more to come) and thr
e
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kibbe
y
A coupl
e
m
ore thread
cancellation tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the
c
lient thread te
r
minates while a pin
e
ntry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a cleanup handler in i
t
erate_cr
y
pto_
o
n
c
e
()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When e
n
crypting/de
c
r
ypt
i
ng, don't
do the whole
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
I
n
c
l
ea
n
up_cb(),
don't free cn
-
>nam
e
un
t
il ev
e
ry
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Be
t
te
r
m
utex lock
i
ng and
un
l
ocking m
a
cros
.
Useful fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
U
p
date the mtime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
K
i
bbey
crypto->inbuf is
set to th
e
data to encry
p
t
whe
n
pass
e
d
t
o
commit
|
commitdiff
|
tree
2009-01-25
B
en
Kib
b
ey
Use g
c
ry
_
.
.
.
memor
y
fun
c
tio
n
s in do_comp
r
ess() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Ret
u
rn GP
G
_ERR_ENOANO if the da
t
a
f
ile is
n
o
t a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple minor c
a
che
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixe
d
potentially no
t
free
i
ng a
l
l cache entri
e
s
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed statu
s
messages
s
e
n
d with send_statu
s
_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixe
d
tl
s
_init() n
o
t
initializing the SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
I
nitialize lib
g
crypt pr
o
p
e
rly by calling gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
M
ove in
i
tTlsParams() and deinitTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Added option
"t
c
p
_use_crl"
.
When TRUE, ~/
.
p
w
md
/
crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the
s
ignal mas
k
bef
o
re other threads are creat
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Do
n
'
t
t
ry and l
i
nk with -
l
rt on system
s
other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fi
x
ed a comp
i
l
e
time error o
n
Fre
e
BS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed a compile time
w
arning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kib
b
ey
Remove old < v1
.
1
1 command
l
ine option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PT
H
R
E
A
D_MU
T
EX_RECURSIVE not PTHREAD_MUTE
X
_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
x
ed som
e
comple tim
e
con
d
itio
n
a
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Restor
e
cli
e
nt->has_
l
ock in c
l
eanu
p
_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a structu
r
e in file_cache_t to h
o
ld
the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
The
client mu
s
t
explicitly set OPTION P
I
N
ENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Don'
t
write a log message when the cache
mute
x
i
s locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Real
l
y
fix commit
a
7
e
15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
bbey
R
e
vert "Fix for
c
o
mmit a7e1
5
f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fi
x
for commit a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kib
b
ey
R
estart the
k
eepal
i
ve_thre
a
d()
after receiving
SIGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop ac
c
ept
i
n
g
TCP conn
e
c
tio
n
s w
h
en shutti
n
g
d
o
wn and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
I
f MEM_DEBUG is define
d
the
n
set the
x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Kibbey
Us
e
a
n
SHA
-
1
f
inger
p
rint rather
t
han MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a segf
a
u
l
t w
h
en TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
K
i
bbey
Crea
t
e
the client_msg_thread a
n
d cli
e
nt_msg_sen
d
er_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Onl
y
append
unique status messa
g
es to the message q
u
eue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
b
e
y
If the current
thre
a
d is calling send_status_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbe
y
Make sure
the m
s
g m
u
t
ex
is unlo
c
k
e
d before
tr
y
ing to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a message que
u
e
t
hat won't block send_s
t
a
t
us_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
Ported to pthread
.
c
a
c
h
e_mu
t
ex
a
nd
c
n
_mutex are n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben
K
ibbey
SIGHUP wil
l
stop or start the tcp_accept_thread() d
e
pending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the
c
opyright he
a
ders for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
i
xed a pine
n
t
ry segfault (hopefu
l
l
y) dur
i
ng cl
e
anup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
All
o
w ot
h
er ch
a
racters in t
h
e
filename
when using GETCO
N
FI
G
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
M
o
ved COMMANDS t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Retu
r
n GPG_ERR_NO_VALUE ins
t
e
ad
o
f a s
y
ntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Ki
b
bey
R
e
-
add
.
flags to the
n
e
w
v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbe
y
Fixed a memory leak in
pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed star
t
ing up w
i
thou
t
an rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibb
e
y
Warn about er
r
or
s
open
i
ng
a
key_fil
e
while
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kib
b
e
y
Fi
x
e
d
clear_cac
h
e
() c
l
earing all cache en
t
ries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben K
i
bbey
Fixed a memory le
a
k creat
e
_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
e
d
aski
n
g
for a passphrase after opening a new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed clo
s
ing the
w
ro
n
g FD in
cleanup_cry
p
to()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed SAVE
wit
h
a passphrase spec
i
f
i
ed in
the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbey
Cl
o
se the cipher
h
a
ndle in
crypto_clean
u
p();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
F
ixed some compi
l
e-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
Th
e
"disable_list_and_dum
p
" co
n
f
i
guration pa
r
am
e
ter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Wh
e
n im
p
orti
n
g, convert
i
ng and pushing files into t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Ki
b
bey
Some
code rearrangements
.
Getting
r
eady to fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben K
i
bbey
Show the outp
u
t f
i
lename and not stdout
i
n the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Be
n
Kibb
e
y
F
i
xe
d
a
m
emory
l
eak in do_cache_push()
.
Th
e
d
o
cument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Hand
l
e
STATUS_COMPRESS/DECOM
P
R
ES
S
/ENCRYP
T
/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
K
i
b
bey
F
i
xed the pine
n
t
ry dialog
show
i
n
g
t
h
e wrong f
i
lename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
F
ixed fre
e
ing
"
t
c
p_wait" in tcp_a
c
cept_thread
(
) before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
K
ibbe
y
Added
configuration
parameter
"cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kibbey
Check t
h
e
return value of
pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben K
i
bbey
Use s
e
nd_status() from CACHE_L
O
CK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben K
i
bb
e
y
S
e
t the thread
name for ot
h
er
threads
too
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Ki
b
bey
Remove
d
the unused file header varia
b
l
e
s
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben K
i
bbey
Allo
w
"GE
T
CONFIG key" and "GETCONFIG k
e
y_
f
ile"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibb
e
y
Ad
d
ed co
m
mand VE
R
SION to
r
eturn th
e
ver
s
i
o
n string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kib
b
ey
Set the client FD to non-block
i
ng in the BYE no
t
i
f
ier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben
K
ibbey
When "ke
y
_file" i
s
sp
e
cif
i
ed in t
h
e
co
n
f
iguration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Return a
gboolean
from validate_
a
ccess()
.
commit
|
commitdiff
|
tree
2008-11-22
Be
n
Kibbe
y
Merg
e
branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
B
en Kib
b
ey
Us
e
a temporary variable i
n
reload_rcfi
l
e() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n
K
i
b
b
ey
WI
T
H_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
B
en
Kibbe
y
Revert
"Set the c
l
ient so
c
ket
f
ile d
e
sc
r
ipt
o
r
t
o non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
Fi
x
for co
m
mit 8f85846
.
S
h
ow the actual err
o
r
description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _
S
C
_
P
AGES
I
ZE as the size argument to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Revert
"
F
ixed a leak in cache_free(
)
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Fixed a
leak
i
n
c
ache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Kibb
e
y
Redid the file c
a
che to use a
GSList (singul
a
r link
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
Moved read_hook(
)
a
n
d write_hook() t
o
tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
Use log_write()
i
nstead of warn[x] and fprint
f
(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Be
n
K
ibbey
Let t
h
e "key_fil
e
"
c
o
n
figu
r
atio
n
p
a
r
ameter work w
i
th
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Rev
e
rt "
F
i
xed OP
E
N and SAVE to use
the "key_f
i
le" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Revert
"
Added OPTION
K
EYFIL
E
.
S
e
tting
t
o 0 wi
l
l disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben K
i
b
b
ey
Ad
d
e
d OPT
I
ON KEY
F
I
LE
.
Sett
i
ng t
o
0 will
disab
l
e trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
en Kibbey
F
i
x
ed
O
PEN and SAV
E
to
us
e
the
"k
e
y_file" if speci
f
i
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
L
et
-
C use a keyf
i
le wit
h
-k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
F
ixed a co
u
ple
o
f minor memory leaks
.
commit
|
commitdiff
|
tree
next