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
A few more pthread_testcancel()'s. Should be the last of them.
2009-01-30
Be
n
Kib
b
e
y
A few more pthread_testc
a
ncel()'
s
.
Should be
t
h
e
l
a
st
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread
c
a
n
c
ella
t
ion te
s
ts in
do_compr
e
s
s() and do_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
i
b
bey
Don't
send statu
s
me
s
sa
g
es to c
l
ients that
a
re exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fi
x
ed a se
g
fault with
th
e
SAVE com
m
and when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbe
y
More thread canc
e
lation tests and hand
l
ers
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
Cr
e
ate a mutex for t
h
e cus
t
om memory
f
unctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kib
b
ey
Create a
new thread when reload
i
ng the rcf
i
le
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
ore thr
e
ad cancellation tests (more to come) and
th
r
e
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A coupl
e
mo
r
e
t
h
r
ead cancellation tests and
c
leanup
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the cli
e
n
t
th
r
ead termi
n
ates wh
i
le a pin
e
nt
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Setup a clea
n
up han
d
ler in
i
terate_cr
y
pto
_
once
(
)
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en
Kibbey
When encrypting/decrypting, do
n
't do the
w
hole
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb(), d
o
n't
f
ree cn->n
a
me until
everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better
m
utex locking
and unlocking macros
.
Useful
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Updat
e
t
h
e mtim
e
in do_
x
ml_encr
y
pt()
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
K
ibbey
cr
y
pto->in
b
uf is
set to the data to
enc
r
ypt when pas
s
ed to
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
U
s
e
gcry_
.
.
.
memo
r
y functions in
d
o
_c
o
mpress() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Return GP
G
_ERR_
E
NOAN
O
if the da
t
a file is no
t
a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
A c
o
uple m
i
nor
c
ache
.
c cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibb
e
y
F
i
x
e
d potentia
l
ly not fre
e
ing all
c
ac
h
e entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed status me
s
sages s
e
n
d
with se
n
d
_status_
a
ll() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ix
e
d tls_init()
n
ot initializing the S
H
A-1 ha
s
h size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
I
n
itia
l
ize libgcrypt
p
r
o
p
erly by calling gcry_ch
e
ck_version()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
M
o
ve initTlsParams
(
) and
deinitTlsPa
r
ams
(
) to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Added option "tcp_use_
c
rl"
.
When
T
RUE,
~
/
.
p
wmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
S
e
t the signal mask before other threads are
c
reated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
bey
Don't
t
r
y
and link with
-
l
r
t on syst
e
ms other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fix
e
d a compile time error on FreeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xed a compile time warning on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Remove old < v1
.
11 com
m
a
nd
l
ine
o
ption
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Use PTHREAD_MUTEX_
R
ECUR
S
I
VE not PTHREAD_MUTE
X
_
R
E
CURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed some com
p
l
e time co
n
d
i
tion
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
R
e
s
t
ore client->has_lo
c
k i
n
c
leanu
p
_client
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kib
b
ey
Use a stru
c
tu
r
e in f
i
le_cache_t to hold the f
i
le mute
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
b
e
y
T
he client
m
u
s
t exp
l
i
c
i
t
l
y
set OPTI
O
N PINEN
T
R
Y
if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibb
e
y
D
o
n
'
t write a log me
s
s
a
ge wh
e
n
the cache mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Rea
l
ly fix co
m
mit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Revert "Fix
f
o
r commit
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fi
x
for commit a7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
e
y
R
e
s
tart
t
h
e keepaliv
e
_th
r
ead() after receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
K
ibbey
Stop
a
c
cep
t
ing
T
CP connections when shutting d
o
wn and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
If MEM_
D
EBUG is defi
n
ed t
h
e
n set the x
.
.
.
de/allocator
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-1
fingerp
r
int rather tha
n
M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbe
y
Fixe
d
a s
e
gfault
w
hen TLS failed
ne
g
otia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the cl
i
ent_msg_thread
a
nd cli
e
nt_msg_sender_
t
hrea
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only ap
p
e
nd unique status mess
a
ges to the
m
essage queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
If
t
he current thread is calli
n
g se
n
d_status_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Make sure the
m
sg mutex
i
s unlocked before trying t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben K
i
bbe
y
Create a mess
a
ge queu
e
tha
t
won't block
s
end_status_
a
ll
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
P
o
r
ted to pth
r
ead
.
cache
_
mutex and cn_mutex are
no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbe
y
SIGHUP
will stop
o
r start the
tcp_accept
_
thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Update
d
the co
p
yr
i
ght headers for
200
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixed
a
pinentry
s
egfault (hopeful
l
y) dur
i
n
g
cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ib
b
ey
Allow ot
h
er ch
a
ract
e
rs
in the filename when u
s
ing GE
T
C
O
NFI
G
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
M
o
ved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Ki
b
bey
Return GP
G
_ERR_
N
O_VALUE instead of a syntax
e
rror
from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kib
b
e
y
Re-add
.
flags to
th
e
new v2 fi
l
e header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fixed a me
m
ory leak
i
n pinentry_iterate
(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
K
i
bbey
Fixed s
t
arting
u
p
with
o
u
t
a
n r
c
file
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kib
b
ey
Warn
about errors openin
g
a
k
ey_file w
h
ile p
a
rsi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed c
l
ea
r
_ca
c
he() clearing
all cache en
t
r
ies
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
F
i
xe
d
a m
e
mor
y
leak create
_
d
td
(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
xed asking fo
r
a passphrase
a
fte
r
opening
a
new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
Fixed
c
losing the wron
g
FD in
cleanup_crypto()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d SA
V
E w
i
th a
p
assphrase sp
e
c
ified in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close
t
he ci
p
h
e
r handle in crypto
_
cleanup(
)
;
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbe
y
Fi
x
ed some compile-time
w
arnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "
d
isable
_
list_and_dump" configurati
o
n parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
bey
When i
m
porti
n
g, converti
n
g and pu
s
hing files int
o
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Kibbey
So
m
e
c
ode rearra
n
g
e
ments
.
Getti
n
g
ready to fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Be
n
K
ibbey
Show the ou
t
put
f
i
lename an
d
n
ot
stdout in t
h
e
import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Be
n
Kibbey
Fixed
a
m
emory
l
eak
i
n do_c
a
che_
p
ush()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibbey
Handle STATUS_COMPRESS/DECOM
P
R
ESS/ENCRYPT/DE
C
R
YPT
in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Ki
b
bey
Fixe
d
th
e
pinentry dialog showing the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
b
bey
F
i
xed fre
e
ing "tcp_wait"
in tcp_accept_
t
h
r
e
a
d() be
f
ore
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n Kibbey
Added co
n
figuration parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Check the return value of pth_spawn
(
)
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kibbe
y
Updated t
h
e docs
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kibbey
U
se send_status() from C
A
CHE_L
O
C
K
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the t
h
read name for other thre
a
ds
t
oo
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Re
m
o
v
e
d
the un
u
sed file header va
r
i
a
bl
e
s
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Be
n
Kibbey
Allow "GETCONFIG key
"
and "GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
B
en
K
ib
b
ey
A
d
ded com
m
and VE
R
SION
t
o re
t
urn the version
s
tring
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Kibbe
y
Set the
c
lient
FD to non-blocking in t
h
e BYE
n
o
t
i
fier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Wh
e
n "key_file" is spec
i
fie
d
in the configuratio
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Ret
u
r
n a g
b
ool
e
an from va
l
idate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Mer
g
e branc
h
'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
se a temporary v
a
riable in reload_rcfile()
i
n case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
WITH_GNUTL
S
fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Reve
r
t
"Set the client so
c
ke
t
fi
l
e descr
i
ptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbe
y
F
i
x f
o
r
c
ommit 8f85846
.
Show the act
u
al er
r
or description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Ki
b
b
ey
Use _
S
C_PA
G
ESIZE
a
s the size argument
t
o
m
lock()
.
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
Rev
e
r
t
"Fixed a leak
in
cac
h
e_fr
e
e()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Kibb
e
y
Fi
x
ed a lea
k
in
c
ache_fr
e
e()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbe
y
R
edid t
h
e fil
e
cache to
use a GSList (singular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbey
Moved read_hook() and write_hook(
)
to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
K
ibbey
U
s
e log_write() inst
e
ad of warn[x] and
f
printf(
s
td
e
r
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Ki
b
bey
Le
t
the "key_file
"
config
u
ratio
n
paramet
e
r work wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
bey
Revert "Fixed OPEN and
S
AVE to u
s
e the "ke
y
_file
"
i
f
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Kibb
e
y
Revert "A
d
ded
O
PTION KEYFILE
.
Setting to 0 will disa
b
le
.
.
.
commit
|
commitdiff
|
tree
next