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 new thread when reloading the rcfile.
2009-01-28
Ben Kibb
e
y
Create a new thread w
h
e
n re
l
oad
i
ng th
e
r
c
fi
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Mo
r
e thread cancell
a
tio
n
tests
(
more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
c
o
uple
m
ore thread
canc
e
lla
t
ion
tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the cli
e
nt thread termina
t
es wh
i
le a p
i
nentry
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
S
e
tu
p
a c
l
ean
u
p handler
in
iterate_crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Whe
n
encrypting/decr
y
pting, don't do the w
h
ol
e
thi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
In cleanup_cb(), do
n
't fre
e
cn->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Better mutex lock
i
ng and unlocking macros
.
U
s
eful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Update the m
t
ime in do_xml_encry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbe
y
crypto->
i
n
buf i
s
se
t
to the data to en
c
r
ypt when passe
d
to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Use gcr
y
_
.
.
.
memory
functions in do_compress()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Ret
u
rn GPG_ERR_
E
NO
A
NO if
t
he
d
at
a
file is not
a re
g
ular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
couple
m
inor ca
c
he
.
c cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fix
e
d
p
o
t
e
ntially
n
ot fre
e
ing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
F
i
x
ed status messages send
with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
F
ixed tls_init() not ini
t
ializing the SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Ini
t
ialize
libgcr
y
pt pro
p
e
r
ly by call
i
n
g
g
cry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
M
o
ve initTlsParams() and deinitTl
s
Params() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ibbey
Added op
t
i
o
n "tcp_use_
c
r
l"
.
When TRUE,
~
/
.
pwmd/c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set th
e
s
ignal mask bef
o
r
e other
t
hreads are cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Do
n
't try and l
i
n
k
wi
t
h -lrt on s
y
s
te
m
s
other
t
h
an
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fix
e
d
a
compi
l
e time error on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed a com
p
ile time warn
i
n
g
on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove ol
d
< v1
.
11
c
om
m
a
nd line o
p
ti
o
n -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Use PTH
R
EAD_MUTEX_RECURS
I
V
E
not
P
THREAD
_
MUTEX_REC
U
RSI
V
E_NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
Fi
x
ed some compl
e
time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Re
s
tor
e
client
-
>h
a
s_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ibbe
y
U
se
a structu
r
e in file_cac
h
e_t to
h
ol
d
the f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n K
i
bbey
The client must explicitly set
O
PTION P
I
NENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Don't write a
l
og mess
a
ge whe
n
the
c
ache mute
x
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Really
f
ix c
o
mmit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
K
i
b
b
e
y
R
e
v
e
rt "F
i
x f
o
r commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Fix fo
r
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the
k
eepalive_thre
a
d(
)
after receiv
i
ng S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
S
top accepting
T
CP conn
e
ctions when sh
u
ttin
g
down
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
I
f
MEM_D
E
B
U
G is define
d
then s
e
t the x
.
.
.
de/allocator
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Ki
b
bey
Use an S
H
A-1 fi
n
gerprint
r
ather th
a
n MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
F
i
x
e
d
a segfault when TL
S
failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
C
r
e
ate the clien
t
_msg_thread a
n
d
cli
e
n
t
_
msg_se
n
der
_
th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bb
e
y
Only append unique status messag
e
s
t
o
t
h
e
me
s
sage que
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbe
y
I
f
the current thread i
s
calli
n
g sen
d
_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure the msg mutex
i
s unlocked before tryi
n
g
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
K
ibbey
Crea
t
e a message queue that won't
b
lock send_s
t
a
tus_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n K
i
bbey
Ported
t
o pthread
.
cache_
m
utex and
cn_
m
ut
e
x are
n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIG
H
UP will
s
top or start the tc
p
_
a
ccept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Upda
t
ed th
e
copyrigh
t
header
s
for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
en
K
ibbey
Fixed a pinentry segfault
(ho
p
efully) during clea
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Allow other chara
c
ters
in the f
i
lename
when using GETCO
N
F
I
G
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Moved CO
M
MAND
S
to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Return
GPG_ERR_NO_VALUE instead of
a sy
n
tax error
f
rom
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
i
bbey
Re-add
.
flags to
the
ne
w
v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory leak in pinentry_itera
t
e()
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbe
y
F
i
xed startin
g
up wi
t
hout an rcf
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about
erro
r
s opening
a
k
ey_file
while
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed c
l
e
ar_cache(
)
clearing al
l
c
ache
en
t
ries
.
commit
|
commitdiff
|
tree
2009-01-08
Be
n
Kibbey
F
ixed a memory leak c
r
eate_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixe
d
asking for
a
passphrase after
o
pening a ne
w
file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed closing th
e
wrong FD in cleanup
_
cr
y
pto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bbey
Fixed SAVE with
a passphras
e
specified i
n
t
he comma
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
B
en
K
ibbe
y
Close the ci
p
h
e
r handle in cr
y
p
to_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben
K
i
b
b
e
y
F
i
x
ed some
compile-t
i
me warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
The "disable_list
_
and_dum
p
" co
n
fig
u
ration pa
r
ameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bb
e
y
When
i
mp
o
r
ti
n
g, converting and pushin
g
f
iles into
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
bey
Some co
d
e rearrange
m
ents
.
Getti
n
g ready to f
i
x freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show the output filename and not s
t
d
o
u
t in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
K
ibbe
y
Fixed
a
m
e
mory
l
eak in
do_cache_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Han
d
le S
T
ATUS_CO
M
PRESS/DECOMPRESS/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
i
bbey
F
ix
e
d the pinentry di
a
log sho
w
i
ng the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Ki
b
bey
Fixe
d
freeing
"t
c
p
_w
a
it"
in tcp_
a
ccept
_
thread()
b
efore
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Added
c
onfig
u
ration parameter "ciph
e
r
_
sui
t
e"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
C
heck
the ret
u
rn value of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
Kibbe
y
Use send_
s
tatus() from CACHE_L
O
CK
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n
K
i
b
b
e
y
Set the thread name fo
r
other threa
d
s too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
K
ibbey
Removed the unused
f
il
e
header va
r
ia
b
les
.
T
h
ey c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
K
ibbey
A
llow
"
G
E
TCONFIG k
e
y
" and "GETCONFIG
k
ey_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Ad
d
ed command VERSION to
r
e
t
u
r
n the
version string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n K
i
bbe
y
Set the clien
t
FD to no
n
-blockin
g
in the BYE noti
f
i
er
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_file" i
s
s
pecifi
e
d
in
t
he co
n
f
igura
t
ion and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Return
a
gboolean from
validate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
M
e
rge branch 'v
2
'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use a temporary variable in reload_rcfile(
)
in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WITH_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben K
i
b
b
ey
Rev
e
rt "Set
the c
l
ient s
o
cket fi
l
e
descriptor
t
o
non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for commit
8
f8
5
84
6
.
Show the act
u
al error descriptio
n
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
Use _
S
C
_
PAG
E
SIZE as the size
arg
u
me
n
t to mlo
c
k
(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Reve
r
t
"
Fixed a lea
k
in cache_free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbe
y
Fixed a leak in c
a
che_fr
e
e(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
b
bey
Re
d
id the
f
ile cache to
u
se a
GSList (singu
l
a
r
li
n
ked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Moved read
_
h
ook()
a
nd write_hook()
t
o
t
ls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n Kibbey
U
s
e lo
g
_write() in
s
te
a
d of warn[x
]
a
nd fprint
f
(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Be
n
Kibbey
Let the "
k
ey_file" configur
a
tion
parameter w
o
rk with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben K
i
bbey
R
eve
r
t "Fixed OPEN and SAVE t
o
u
s
e the "key_file" i
f
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Re
v
ert "Added OPTION KEYFILE
.
Setting
to 0
w
ill disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n Kibbe
y
Added OPTION KEYF
I
LE
.
S
etting to 0 will disa
b
l
e
tryi
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
K
ibbey
Fixed OPEN
and SAVE to use
the "ke
y
_file"
i
f sp
e
cified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Le
t
-
C
use
a keyfile wit
h
-k
.
commit
|
commitdiff
|
tree
2008-11-15
Be
n
Kibb
e
y
Fixed a couple of minor memory leaks
.
commit
|
commitdiff
|
tree
2008-11-15
B
e
n
Kibbey
Adde
d
configuration
o
p
tio
n
"tc
p
_wa
i
t"
.
Set
s
the ti
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Ki
b
bey
Fixed SO_R
E
USEADDR
.
commit
|
commitdiff
|
tree
next