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
The XFER status message is sent with the LIST, DUMP and XPATH command
2009-04-19
Ben Kibbey
The X
F
ER status m
e
ssage
is sent wit
h
the L
I
ST, DUMP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
Kibbey
Log what socket
t
his i
n
vokation is
l
i
s
t
e
ni
n
g on
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibbey
I
nitialize the
p
in mutex
when co
n
vertin
g
(-
C
)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Require a
u
tomake 2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Removed E
P
WM
D
_FILE_ACCESS
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
Kibbey
Set the
c
l
ien
t
name in the pinentry dial
o
g (OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Ki
b
bey
Minor cleanup
.
Removed cleanup_crypto_handler()
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibb
e
y
No nee
d
to crea
t
e
an extra thread
i
n clien
t
_msg
_
thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
Added
a new status mess
a
ge XFER for u
s
e with the GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Whe
n
an option v
a
lue string is NUL
L
,
r
e
set it to the
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibb
e
y
L
et ISCAC
H
ED check for
f
ile existence
with
a
ccess(
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Wai
t
for the wr
i
te_s
t
atus_t
h
read
(
) to
r
e
turn (or timeout) i
n
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
C
o
mp
a
re only "
<
?xml vers
i
on=" in the dec
r
ypte
d
document
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
M
ake clien
t
_msg_thread() joinable
.
commit
|
commitdiff
|
tree
2009-03-21
Ben
Kibbey
Use g_g
e
t
_home_dir() instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben Kibbey
Re
m
ove
d
a
ll tcp/remote
/
Gn
u
TLS support
.
Remot
e
connections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibbey
Fix t
l
s
.
c compile-time
w
arning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont lin
k
w
i
th -lr
t
or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Removed acinc
l
ude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Che
c
k for E
D
EADLK i
n
M
UTEX
_
UNLOCK
.
I
t
can be ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Wait
for thread TID events which a
r
e
t
r
i
g
g
e
red
wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Catch SIGABRT, but not SI
G
USR2
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibb
e
y
Chec
k
the return va
l
ue
f
r
om pth_spawn(
)
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Minor c
l
eanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Use thread-safe libgcryp
t
a
nd lib
g
pg-er
r
or func
t
ions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibb
e
y
D
o
nt wr
i
te a log message in MUTEX
_
TRYL
O
CK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUTE
X
_TRYLOCK
e
verywhere STATUS_
L
OCKED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fi
x
ed unlock_file
_
mutex()
r
ele
a
sing the unlocked
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
chec
k
the return of pth_mut
e
x_acquire an
d
pth_mute
x
_
release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kibbey
sq
u
a
s
h before
c
ommiti
n
g
to
m
aster
.
this is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kib
b
e
y
Use "git l
o
g" not "git-log
"
in the
Makef
i
le
'
changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Ki
b
b
ey
Add
e
d O
P
T
I
ON
L
C_CTYPE and
O
PTION LC
_
MESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ib
b
ey
Fixed
a
typ
o
i
n
t
h
e
p
re
v
ious co
m
mit
.
Destroy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed keep
a
live_thread() to us
e
a local
c
onditi
o
n
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
Fixed a
b
ortin
g
the connection w
h
en the con
f
igu
r
ed k
e
epalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Move
d
clie
n
t_msg_thre
a
d() and c
l
ient_msg_sender
_
t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbe
y
Cr
e
ated
stat
u
s
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After se
n
ding a status
message
to s
e
n
d
_st
a
tu
s
(
)
, creat
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
b
bey
Remove the
exit
i
ng client
f
ro
m
the client list a
s
soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en K
i
bb
e
y
Minor cleanups
in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
K
i
b
bey
Lock the rcfile_m
u
tex at ea
c
h
keyf
i
leh access
.
commit
|
commitdiff
|
tree
2009-02-06
Be
n
Kibb
e
y
Don't lo
c
k th
e
c
n_mut
e
x before cancelling the cl
i
ent
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kib
b
ey
F
i
x for
t
h
e
p
r
ev
i
o
us commit that wouldn't te
r
minate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
K
ibbey
Use a l
o
cal mutex i
n
client_ms
g
_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
Use
a goffset
rather than gsize for c
r
ypt
o
-
>
insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n Kibbey
Fixed
status messag
e
s to u
s
e the new iteratio
n
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
Fixed data file portability
betwe
e
n
v
a
rious systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Kibbey
A
few more pthrea
d
_te
s
tcancel
(
)'
s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
Kib
b
e
y
Thread cancellation t
e
sts in do_compress() an
d
do_de
c
o
mpress()
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n Ki
b
bey
Don
'
t s
e
nd status messag
e
s to
client
s
that are e
x
iti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
K
ibbey
Fixed a
segfault with th
e
SAVE comma
n
d when used
w
ith
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
ibbey
More thread
c
ancelation tests and handler
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
C
r
ea
t
e a mutex for the
cust
o
m
m
emory
functions
.
F
i
xes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
Create a
n
ew
t
hread when
r
e
l
oa
d
ing the
rc
f
ile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
More thread
cancellation tests (mo
r
e
t
o co
m
e
)
and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kib
b
ey
A couple
m
o
r
e
t
hread
cancellation
tests an
d
cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If t
h
e client thread ter
m
i
n
ates while
a
pi
n
entry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Se
t
up a cleanup
ha
n
dler
i
n
i
t
e
r
ate_crypto_once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Wh
e
n
e
ncrypt
i
ng/decryptin
g
, don't do the
whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
In cle
a
nup_
c
b(),
d
on't fr
e
e cn->nam
e
un
t
il e
v
erything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex locking and unl
o
c
k
ing mac
r
os
.
Use
f
ul
fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update the mtime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
crypto->
i
nbuf
i
s
set to
t
he data
to encrypt when pass
e
d to
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
be
y
U
s
e gcry_
.
.
.
memory function
s
in do_compress(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Return GPG
_
ER
R
_
E
N
OANO if
t
he dat
a
file is not a re
g
ular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A coupl
e
minor cache
.
c
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
Fixed p
o
ten
t
ially not fre
e
ing all c
a
ch
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
s
tatu
s
mes
s
ages
send with send_status_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
F
i
xed t
l
s_init() no
t
i
n
i
tializing the S
H
A-1 hash si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Init
i
alize l
i
bgcrypt proper
l
y by
c
alling gcry_ch
e
ck_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Move
ini
t
TlsParams() and deinitTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Added option "tcp_use_crl
"
.
W
h
en TRUE
,
~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Set the signal
mask befo
r
e other t
h
reads are creat
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Do
n
't try and link wit
h
-
l
rt on systems o
t
her than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed a compile time error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
F
ixed a compile
t
im
e
w
a
rning on
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Remove
o
l
d < v1
.
11 comm
a
n
d line option -
b
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Use PTHREAD_MUTE
X
_
RECURSIVE not
P
THREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Fix
e
d some comple
t
ime c
o
nditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Res
t
ore clie
n
t->has_
l
ock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Us
e
a
str
u
cture in file_cache_t
t
o hold the file
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The client
must expl
i
citly set OPTION PINEN
T
RY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Do
n
't write a log me
s
sa
g
e whe
n
the
ca
c
he m
u
tex is lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix
c
ommit a7e
1
5
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
estart the ke
e
palive_thread() after receivin
g
SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
en
Kibbey
Sto
p
accepting TCP
connect
i
ons when shut
t
ing down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM
_
DEBUG is
define
d
the
n
set
the x
.
.
.
de/allo
c
a
t
o
rs
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Use an SHA-1 fin
g
erprint
rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Fixed
a segfault when TLS fai
l
ed
n
egotiation
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kib
b
ey
Create the cli
e
nt_msg
_
thread and
c
lient_ms
g
_sender_th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Only appe
n
d uni
q
u
e
sta
t
us messages t
o
the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the curre
n
t thread i
s
calling send_status_a
l
l()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
ey
Make sure the msg mutex is unlocked be
f
ore trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Cre
a
te a messa
g
e q
u
e
u
e
t
hat won't block
s
end_
s
t
a
tus
_
all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Port
e
d to pthre
a
d
.
cache
_
mutex and cn_mutex are
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben K
i
bbey
SIGHUP will
s
top or sta
r
t the tcp_acce
p
t_t
h
read()
d
e
p
e
n
ding
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
U
pdat
e
d the
c
op
y
right headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
bbey
Fixed a pinentry segfault (h
o
pefully) durin
g
cleanup
.
.
.
commit
|
commitdiff
|
tree
next