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
Use a pth_msgport_t for message passing. Also wait for an PTH_EVENT_MSG
2009-04-21
Ben Kibbey
Use a pt
h
_msgport
_
t for messag
e
passing
.
Also
w
ait
.
.
.
commit
|
commitdiff
|
tree
2009-04-21
Ben Kibbey
k
e
epalive_thread() c
l
eanu
p
.
Also fixes
a
segfault when
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Fixed
a
libxml2
w
a
r
ning whe
n
conv
e
rting
a data f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbe
y
F
ixed "G
E
TCON
F
IG <filename>
ITE
R
ATIONS" after "OP
T
I
O
N
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Chan
g
ed how "GETCONFIG I
T
ERAT
I
ONS"
w
o
rks
.
If the
r
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbey
F
lu
s
h the data
buff
e
r b
e
fore sendin
g
the
f
inal
X
FER
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbey
C
h
ange
d
the file header aga
i
n
.
commit
|
commitdiff
|
tree
2009-04-19
B
en Kibb
e
y
Fixe
d
a memo
r
y lea
k
i
n
do_assuan_command()
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
K
i
bbey
Fixed "xfer
_
progress=0"
.
commit
|
commitdiff
|
tree
2009-04-19
B
en Kibbey
Adde
d
co
n
f
igurati
o
n pa
r
ameter "xfe
r
_progress" to spec
i
fy
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibbey
When doing an
INQ
U
IRE,
app
e
nd an e
v
e
n
t
t
o wait for
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibbey
All
c
omman
d
s
that send
d
ata
use do_assuan_
c
ommand(
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
T
he XFER status messa
g
e is sent wit
h
the
L
IST, DUMP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Log what
s
ocket this invokat
i
on is
listeni
n
g on
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibb
e
y
Initialize the
pin
mutex when
c
o
nverting
(
-C
)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbe
y
Require
a
utoma
k
e
2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
B
en K
i
b
bey
Removed EPWMD_
F
ILE_ACCESS
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Set the
client name in the
pinentry dialog (OP
T
I
ON
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
B
e
n Kibbey
M
i
nor
c
leanup
.
Remove
d
cleanup_crypto
_
handler
(
)
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
Kibbey
No need to create an extra thread
i
n clie
n
t_msg_thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Added a new
s
ta
t
us message XFE
R
f
o
r use with
the
G
ET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Kibbey
When an option val
u
e
s
tring is NULL,
r
eset it
to th
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
b
e
y
Let
ISCACHED check for file existence
with acc
e
ss(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben
K
i
bbey
Wait fo
r
t
h
e writ
e
_status_thre
a
d()
t
o return (or timeout) in
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Compare only "<?xml ve
r
sio
n
=" in the decrypted docume
n
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kib
b
ey
Make client_msg_thread()
joinable
.
commit
|
commitdiff
|
tree
2009-03-21
B
en
K
ibbey
Use g
_
get
_
home_di
r
()
instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben Kibb
e
y
Remov
e
d all
t
cp/remote/G
n
uTLS s
u
pport
.
Remo
t
e conn
e
ctio
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Fi
x
tls
.
c
c
ompile-time warning
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Dont l
i
nk with
-lrt or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibbey
Re
m
ov
e
d aci
n
clude
.
m
4
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Chec
k
f
or EDEADLK in MU
T
EX_UNLOCK
.
It
c
a
n be
i
g
nored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Wait for thread TID e
v
e
nts whi
c
h
are tr
i
ggered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Catc
h
SIGABRT, but not SI
G
U
S
R2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
bbey
Check t
h
e re
t
urn
v
alu
e
f
rom
p
th
_
spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbe
y
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Ki
b
bey
Use thread-safe
l
ib
g
crypt and libgpg-error functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Do
n
t wr
i
t
e a log messa
g
e
in
M
UTEX_TRYL
O
C
K
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
b
b
ey
Use MUTEX_TR
Y
LOC
K
e
ver
y
w
h
ere
S
TATUS_LOCKED is
s
ent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fixe
d
u
n
lo
c
k_file_mutex() rele
a
s
ing the un
l
o
cked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
c
h
e
c
k the
return
of pt
h
_mut
e
x_acquire and pth_mutex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
B
en
K
ibb
e
y
squas
h
be
f
or
e
c
o
mmit
i
ng to m
a
ster
.
this is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Be
n
Kibbey
Use "gi
t
log" n
o
t "git-log"
i
n
the Makefile 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
K
i
bbey
Added OPTION
LC_CTYPE and OPTI
O
N LC_
M
ESSAGES
.
Bot
h
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed a typo in
the prev
i
o
us com
m
it
.
D
e
stro
y
t
he co
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Fixed keepalive_th
r
ead() t
o
use a local
conditi
o
n and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Fixed
aborting the co
n
nection whe
n
t
h
e
config
u
red
k
eepa
l
ive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved client_m
s
g_thread() and
c
lient_msg_sender_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
b
ey
Created sta
t
us
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sendi
n
g a s
t
at
u
s message t
o
send_stat
u
s(
)
,
create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
b
bey
Remove the exiting clie
n
t
f
r
om the client li
s
t as so
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
b
bey
Minor cl
e
anups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
K
i
b
be
y
Lock the rc
f
i
l
e_m
u
tex at each ke
y
fileh
access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't lock the cn_mutex be
f
ore can
c
elling the c
l
i
e
nt
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
F
i
x
for
t
he
p
revious comm
i
t that
wou
l
dn'
t
t
erminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use
a
local mutex
i
n client_msg_th
r
ead()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goffset ra
t
her t
h
an
g
size for crypto->in
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
e
y
Fixed status
messages to use
t
he
n
e
w
iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
bbey
Fixe
d
data file p
o
rtability b
e
twee
n
various systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en Kibbey
A
few more pthr
e
ad_te
s
tcancel()'s
.
Should
b
e the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en Kibbey
Thread cancella
t
ion tes
t
s
in do_compress() and do_decomp
r
ess()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't
s
e
nd sta
t
u
s
m
e
ssages to cl
i
en
t
s that are e
x
iting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfa
u
lt wi
t
h
t
he SAVE
c
ommand w
h
en
u
sed wit
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Kibbey
More thre
a
d c
a
n
c
el
a
tion tests and h
a
ndlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
Create a mutex
f
or the custom
m
emo
r
y fun
c
t
ion
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
Kibbey
C
r
eate a n
e
w threa
d
when relo
a
din
g
the r
c
file
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbey
More
thread cancella
t
ion tests (more to com
e
)
and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
K
ibbe
y
A couple m
o
r
e thread canc
e
ll
a
tion t
e
sts
and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If
the cli
e
nt thread terminates
w
h
ile a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
e
y
Setup
a clean
u
p handler in
iterate_crypto_onc
e
() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encrypting/d
e
c
rypting, don't
d
o
the
whol
e
t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
I
n clea
n
up_cb(),
don'
t
free cn-
>
name
u
n
t
i
l every
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Better mutex lo
c
king
a
nd unlocking macros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Upda
t
e the mtime in
do_xml_encrypt(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
cr
y
pto-
>
inbuf
i
s set to the data to en
c
ryp
t
w
h
en passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Use gc
r
y_
.
.
.
me
m
ory func
t
ion
s
in d
o
_compre
s
s()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return
GP
G
_ERR
_
E
NOA
N
O
i
f the data file is not
a
re
g
u
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Ki
b
bey
A couple minor ca
c
he
.
c
c
lea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kib
b
e
y
Fixed
potentially n
o
t free
i
ng all cache
e
ntries
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed statu
s
me
s
sages s
e
nd
with s
e
n
d_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed tls_init() not initializing the
S
HA-1
h
as
h
size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
I
n
itialize libgcr
y
p
t
properly by calling gcry_check_versi
o
n()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Mo
v
e
initTlsParams()
a
n
d deinit
T
l
s
Params
(
) to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Added opt
i
on "tcp_
u
se_
c
rl"
.
When TRUE, ~/
.
p
wmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set
t
he signal mask before o
t
her th
r
eads are cre
a
ted
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
ibbey
D
o
n'
t
try and
l
ink wit
h
-
lrt on systems other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a com
p
ile time
error on FreeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed a compile ti
m
e w
a
rning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
R
emo
v
e
old < v1
.
11 command line
o
pti
o
n
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
U
s
e PTHREAD_MUTEX_RECUR
S
I
V
E
n
ot
PT
H
R
EAD_MUTEX_RECURSIVE_
N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
i
xed some
comple t
i
me
co
n
dit
i
onals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Restore clien
t
->has_loc
k
in cleanup
_
c
l
i
ent()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Use
a
structure in file_
c
ache_t
t
o
ho
l
d
t
he file mu
t
ex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Th
e
c
l
ient must e
x
plic
i
tly s
e
t
OPTION
PINENTRY if
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Don't
w
r
ite
a
l
o
g me
s
sag
e
when th
e
cache mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Re
a
lly
f
ix c
o
m
mit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en K
i
b
bey
Rev
e
rt "
F
ix for commit a7
e
15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix
f
o
r
commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en
Kibbey
Resta
r
t the keepalive_thread()
after receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop
a
c
c
epting TCP con
n
ections w
h
e
n
shutting
d
own and
.
.
.
commit
|
commitdiff
|
tree
next