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
Thread cancellation tests in do_compress() and do_decompress().
2009-01-30
Ben
K
ibbey
Thread cance
l
lat
i
o
n
tests in do_comp
r
ess() and d
o
_dec
o
mpress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben K
i
bbey
Don't se
n
d
status m
e
ssages to cli
e
nts
th
a
t are exiti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Kibbey
Fixed a segf
a
ult wi
t
h
the SAVE command when u
s
ed with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
More thread cancelation tests and h
a
n
d
lers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mutex for the custom memor
y
fu
n
ctio
n
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Ki
b
bey
Create a n
e
w thread when reloading the
r
cfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbe
y
More thread ca
n
cellation tests (more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
A couple
mor
e
thread cancella
t
ion
tests and cl
e
a
nups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If
t
he client
t
hrea
d
t
erminates while a
pinen
t
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Setup a cleanup handler
i
n
iterate_c
r
yp
t
o_on
c
e
(
)
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encryp
t
ing/
d
e
c
ry
p
t
ing, don't do
the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(
)
, don't free cn->name un
t
il
ever
y
t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Bette
r
m
u
tex
l
ocking
a
nd u
n
locking
ma
c
ros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Update the mtime in do_xml_
e
ncrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
cryp
t
o
->inbuf is
s
e
t
t
o th
e
d
ata
to
encrypt w
h
en
passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
memory
functions in do_c
o
mpress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG
_
ERR_ENOANO
i
f the data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
A c
o
uple minor ca
c
he
.
c cleanup
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed
p
otentially not freeing all cac
h
e ent
r
i
e
s in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
s
tatus messages
send with sen
d
_
s
tatus_a
l
l()
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fi
x
ed
t
l
s
_init()
n
ot initializing the SHA-1 h
a
sh s
i
ze
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
In
i
tialize lib
g
crypt pro
p
e
r
ly by cal
l
ing gcry_check_ve
r
sion()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move
initTlsParams() and deinitTl
s
Para
m
s
() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
dded option "
t
cp
_
use_cr
l
"
.
W
h
en TRUE,
~
/
.
pwmd
/
crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the
sign
a
l
m
ask
before other threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Don't try and link w
i
t
h -l
r
t on systems othe
r
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a
c
omp
i
le time error
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fix
e
d
a
c
o
mpile time warning
o
n
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
R
emove old
< v1
.
11 command
line
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Use PTHREAD_MU
T
EX
_
RECURSIVE not PT
H
READ_M
U
TEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
i
b
b
ey
Fixed
s
ome comple time condition
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Restore client->h
a
s_lock in cleanup_cl
i
ent(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a
structure in file
_
cache_t to
h
old the f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
T
he cl
i
ent must e
x
plic
i
t
ly s
e
t OPTION
P
I
NENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't wri
t
e a l
o
g
mes
s
ag
e
whe
n
the cache mute
x
i
s locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really
fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Rever
t
"
Fix f
o
r
commit a7e15
f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Fix for comm
i
t
a
7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
b
bey
R
estart the keepalive_thread() af
t
er receiving SI
G
HUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
bey
Stop accepting
T
CP connections when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_D
E
BUG is define
d
then set the
x
.
.
.
de/alloca
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
Use
an
S
H
A-1 fingerprint rather
t
han
MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a
s
egf
a
ul
t
w
hen
T
LS fail
e
d negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
i
bbey
Create
t
he
cli
e
nt_msg_thr
e
ad and c
l
ient
_
msg
_
s
ender_
t
hrea
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
O
nl
y
append unique status messages to t
h
e
message queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
If the current thre
a
d is call
i
ng s
e
nd
_
status
_
all
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kib
b
ey
Make
sure the msg mutex is
unlocked befor
e
trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a mess
a
ge
q
ueue tha
t
wo
n
't bl
o
ck
se
n
d
_
status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported t
o
pthread
.
c
ache_mutex and cn_mutex a
r
e now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP
will
s
t
o
p
or
sta
r
t t
h
e tcp_acc
e
pt_thread
(
) depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
Upd
a
ted the copyright headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibbey
Fixe
d
a pinentry segfault (hopefu
l
l
y
) during c
l
e
anup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
Allow
other
char
a
cters
in the file
n
ame when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
M
oved CO
M
M
A
N
DS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
e
y
Re
t
urn GPG_ERR
_
NO_VALUE ins
t
ead of a syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
R
e
-add
.
flags to
t
h
e new
v2 f
i
le head
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Fixed a memory leak in
p
inentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting up
without an rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
W
a
rn about errors opening a k
e
y_f
i
le
w
hi
l
e
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kib
b
ey
Fixed clea
r
_cache() clearing
a
ll cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fixed a memory leak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Ki
b
be
y
Fixed
a
skin
g
fo
r
a passph
r
as
e
after
o
pening a new fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Ki
b
bey
Fixed closing the wr
o
ng
FD in clea
n
up_c
r
ypt
o
() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d SAVE with a
p
as
s
phrase specified
i
n
t
he command
.
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Kibbey
C
lose the cipher handle in c
r
ypto
_
cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben
Kibbey
Fixed some co
m
pile-
t
im
e
wa
r
n
ings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ibbey
The "disable_list_an
d
_dump" con
f
igur
a
t
ion para
m
eter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Kibbey
When imp
o
rting, co
n
verting and pushing
f
i
le
s
i
nto the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbe
y
S
ome
code rearrangeme
n
t
s
.
Getting ready to f
i
x
f
reeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbe
y
Show th
e
out
p
ut fi
l
ena
m
e
and no
t
std
o
ut in the impo
r
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibb
e
y
Fixed a memor
y
l
ea
k
in do_cache_pu
s
h()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
Kib
b
ey
H
a
n
dle STATUS_COMPRES
S
/D
E
C
OMPRES
S
/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
Fixed the pinentry dialog show
i
ng the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Ki
b
bey
F
ixed free
i
ng "tcp_wait" in tcp_
a
c
c
ep
t
_thread()
bef
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibb
e
y
Adde
d
configuration
paramet
e
r
"
cip
h
er_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
C
h
eck
t
h
e retur
n
value of pth
_
spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
Kibb
e
y
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Ki
b
bey
Use send_status() f
r
o
m
CAC
H
E
_
LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Kibbey
Set
the thread name
f
or other t
h
reads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbe
y
R
e
moved the
unused file header varia
b
les
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbe
y
Allow
"
G
ETCONFIG
k
ey" and "GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
A
d
ded command
V
E
RSION to return the ve
r
s
io
n
str
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the
client FD to non-blocking
i
n
t
he
BYE
n
o
t
i
f
i
er
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kib
b
ey
W
hen "k
e
y_file" is specified in the config
u
ration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Return
a gboolean from
validate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
B
e
n Kibbe
y
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use a temporary
v
ariab
l
e
in reload_rcfile() in cas
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WITH_GNUTLS fi
x
e
s
.
commit
|
commitdiff
|
tree
2008-11-21
Be
n
Kibbey
Revert "Set
t
he client so
c
ket file
descript
o
r
to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fi
x
for c
o
m
mit 8f85846
.
Show the actual error
d
escr
i
ption
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
Use _SC_PAG
E
SIZE as the
size a
r
gument to ml
o
ck()
.
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
Revert "Fixed a leak in cache_free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbey
Fixed a leak in cache
_
free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid the f
i
le cache to
use
a
GSList (singular l
i
nked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
K
ibbey
Moved read_
h
ook() and w
r
ite
_
hook() to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Use log_write() instea
d
o
f
w
a
r
n[x] and
f
printf(
s
tderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
bey
Let t
h
e "key_fi
l
e
"
conf
i
gu
r
ation parameter wor
k
with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Revert "
F
ixed OPEN a
n
d SAVE to use the "key
_
file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Kib
b
ey
Revert "Added OPT
I
ON KEYFIL
E
.
Sett
i
n
g
to 0 w
i
l
l
disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibb
e
y
Added OPT
I
O
N
KEYFI
L
E
.
S
e
tting to 0 will
d
isabl
e
t
r
ying
.
.
.
commit
|
commitdiff
|
tree
next