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
Removed EPWMD_FILE_ACCESS.
2009-04-18
Be
n
Kibbey
Remo
v
ed EPWMD_FILE_ACC
E
SS
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kib
b
ey
S
et th
e
cl
i
ent na
m
e in the pinentry dia
l
og (OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Minor cleanup
.
Rem
o
ved cl
e
a
n
up_crypto_
h
andler()
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
No need t
o
create an extra thread in cli
e
nt
_
msg_thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Added a
new
s
t
atus me
s
sage XFER for use with
t
h
e
GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
When an o
p
tio
n
valu
e
string is NULL, res
e
t it t
o
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Kibbey
L
e
t ISCACHED che
c
k for file
e
x
i
s
tence with access(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben
K
i
bbey
Wait for the w
r
i
te_status_thr
e
ad() to
return (or timeout)
i
n
commit
|
commitdiff
|
tree
2009-03-21
Ben
Kibb
e
y
C
omp
a
re onl
y
"<?xml version
=
" i
n
the dec
r
ypted do
c
ument
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Make cl
i
ent_msg_t
h
read() joinable
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
U
s
e g_
g
et_
h
ome_dir
(
)
instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben Ki
b
bey
Remove
d
all tcp/remote/GnuTLS
su
p
port
.
Remote
c
o
n
nections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Fix tls
.
c
c
ompi
l
e-
t
ime warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
D
ont link wi
t
h -lrt or
-lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Removed acincl
u
d
e
.
m
4
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibbe
y
Check for ED
E
AD
L
K in MU
T
EX_UNLOCK
.
It ca
n
be ignore
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Wait for thread TID even
t
s
w
h
i
ch are tri
g
gered
when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
e
y
Catch
SIGABRT, bu
t
not
S
IGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Check the return value from pth_spawn
(
)
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibbey
Minor
c
leanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
b
e
y
Use t
h
rea
d
-safe l
i
bgc
r
y
p
t and lib
g
pg-error function
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Dont wr
i
t
e
a log message in MUTEX_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUT
E
X_TR
Y
L
O
CK
everywhe
r
e STATUS_LOC
K
ED
is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fix
e
d unlock_file_mutex() r
e
leasing the
unlock
e
d mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
check the r
e
turn
of
p
th_mutex_acquire and pth_mutex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben
Kibbey
squash befor
e
c
omm
i
tin
g
to master
.
t
his is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Be
n
Kib
b
ey
Us
e
"git log" not "git-log" in the M
a
kefile 'chang
e
l
o
g
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
e
n
Kibbey
Adde
d
OPTION LC_CT
Y
PE and OPTION LC_M
E
S
SAGES
.
B
o
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixe
d
a typo in the
pr
e
vious co
m
mit
.
D
estroy
t
h
e
c
ond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Fixed keepalive
_
thread()
to use a
l
ocal condition
and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
Kibb
e
y
Fixed abo
r
ting
t
he connection wh
e
n
the co
n
figured k
e
epalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved
c
l
i
ent_msg_thread(
)
a
n
d client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Creat
e
d status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
A
f
ter sending a
s
tatus messag
e
to sen
d
_s
t
a
t
us(), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
K
i
bbey
Remove the
exi
t
ing clien
t
from the client
list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Ki
b
bey
Minor
c
lean
u
ps in
m
em
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
L
ock the r
c
f
i
l
e_mutex a
t
each keyfileh
a
cc
e
ss
.
commit
|
commitdiff
|
tree
2009-02-06
Be
n
K
ibbey
Don't lock the cn_mu
t
ex before cancellin
g
the
c
lient
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
K
i
bbey
Fix for the previou
s
comm
i
t that would
n
't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
U
se
a
loc
a
l mutex in client_
m
s
g
_thre
a
d()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goffs
e
t
r
ather than g
s
ize for cr
y
pt
o
->i
n
size
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n
Kibbey
Fixed
s
tatus me
s
sage
s
to use the
n
ew
it
e
rat
i
on typ
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
F
i
xe
d
data fi
l
e
p
o
r
tability between vari
o
us syst
e
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Ki
b
bey
A f
e
w more pthread_testcanc
e
l()
'
s
.
S
hould be the la
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread cancellation test
s
in do_compress() and do_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don
'
t send status messages to clients that
ar
e
exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
K
i
b
bey
Fixed
a
s
e
gfault w
i
t
h
th
e
SAVE command
w
hen used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
M
or
e
thread ca
n
cela
t
ion tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbe
y
Create a mutex for
t
h
e
custom
memory
f
unctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbey
Create a new threa
d
when r
e
load
i
ng the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
More
th
r
ead
cancellation tests
(more to
com
e
) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
coupl
e
more thread cancell
a
ti
o
n t
e
sts and cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
If the cli
e
nt
t
hrea
d
terminate
s
whi
l
e
a pinen
t
r
y
is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Setup a cleanup handler in iterate_crypto_o
n
ce() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
When en
c
rypting/decryptin
g
, d
o
n
'
t do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
bey
I
n cleanup_cb
(
)
,
don
'
t
free
c
n->na
m
e u
n
ti
l
everythi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Better mutex locking a
n
d un
l
oc
k
ing macr
o
s
.
Useful f
o
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
bey
Update
t
h
e
m
t
ime in
d
o_
x
ml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
c
r
ypto->in
b
uf is set to
t
he dat
a
t
o encrypt wh
e
n pa
s
sed
to
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbe
y
Use gcry
_
.
.
.
me
m
ory functions in d
o
_c
o
mp
r
ess() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Retu
r
n
GPG_ERR_ENO
A
N
O
i
f the data
f
i
le is
n
ot
a re
g
ular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
coupl
e
m
in
o
r cache
.
c
cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
F
i
xed potentia
l
ly not freeing all
cache
e
ntries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed status
messages
send
wit
h
sen
d
_
stat
u
s_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
b
ey
Fix
e
d tls_ini
t
() not initi
a
l
izi
n
g
th
e
S
H
A-
1
hash siz
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Initialize libgcrypt prope
r
ly by c
a
lling gcry_check_ve
r
sion()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibb
e
y
Move initTls
P
arams() a
n
d deinitTlsParams() to tl
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Add
e
d optio
n
"tcp_use_
c
rl"
.
When TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
S
e
t
t
he si
g
n
a
l
mask
b
ef
o
re other threads
ar
e
created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
Do
n
't try
a
n
d link w
i
th
-
l
r
t o
n
systems other th
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fi
x
ed a com
p
ile time
e
r
ror
on Free
B
SD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed a
c
ompile ti
m
e
warning on Free
B
SD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibb
e
y
R
emove old < v1
.
1
1 command line o
p
ti
o
n -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use P
T
HREAD_MUTEX_RECURSIVE not PTHREAD_MUTE
X
_RECURS
I
VE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixe
d
some co
m
ple t
i
me conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Resto
r
e client->
h
as_lock in c
l
eanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Use a
s
tructure in file_cache_t to hold th
e
file
mu
t
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kib
b
ey
The client must explicitly set OPT
I
ON PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Ki
b
bey
Don't write a l
o
g message
w
hen the
cache m
u
te
x
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kib
b
ey
Really fix
commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Reve
r
t "Fix for
commit a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
F
i
x for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
s
tart the keepalive
_
t
hread()
a
f
ter receiving SIGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Ki
b
be
y
St
o
p accepting
TCP
co
n
n
e
ct
i
ons
w
h
e
n shutting
down a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
I
f
MEM_DEBU
G
i
s defined
then
s
e
t
t
he
x
.
.
.
de/al
l
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Kib
b
ey
U
s
e
an SHA
-
1 fingerprint rather than
MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbe
y
Fixed a segfa
u
lt wh
e
n TLS failed
n
e
gotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Cr
e
ate the clie
n
t_msg_t
h
read an
d
clien
t
_msg
_
sende
r
_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
b
b
ey
Only append
u
nique stat
u
s mes
s
ages to t
h
e
message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the c
u
rre
n
t threa
d
is calling se
n
d_status_al
l
()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
K
ibbey
Make
su
r
e the m
s
g
mut
e
x is unlocked b
e
fore
trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a mess
a
ge queue that won't b
l
oc
k
send_statu
s
_
all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
Kib
b
ey
Po
r
ted to pthread
.
cach
e
_mutex and c
n
_
mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP wil
l
st
o
p or start the tc
p
_
a
ccept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n Kibbey
Upd
a
ted the co
p
y
right
hea
d
ers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
F
i
x
e
d
a
p
i
n
entr
y
segfault (hopefully) during cle
a
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Allow other
c
haracters
i
n the file
n
ame when using
GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kib
b
ey
Moved COMMANDS
t
o doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en K
i
b
b
ey
Return GP
G
_ERR_NO_V
A
LUE in
s
tead of a syntax erro
r
from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Re-add
.
flags to t
h
e
n
ew
v
2 file hea
d
er
.
commit
|
commitdiff
|
tree
next