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
Fixed status messages to use the new iteration type.
2009-02-03
Ben Kibbey
Fixed stat
u
s messag
e
s to us
e
t
h
e new iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
B
en Kibbey
Fixed
data f
i
le po
r
tability bet
w
een vari
o
us systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
i
bbe
y
A few more pthread_t
e
stcancel()'s
.
Should b
e
the
last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kib
b
ey
T
h
read cancellation tests in do_co
m
press() and do_d
e
compress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't send status me
s
sages to clients that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Kibbey
Fixed a segfault with
t
he
S
AVE command whe
n
used wit
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
More thread
cancelation tests and ha
n
dler
s
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mu
t
ex for the cu
s
tom
memory functio
n
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a
new
thread when reloading the rcfil
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
M
o
re
t
hrea
d
cancel
l
a
t
ion tests (more to
come)
a
nd thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A cou
p
l
e
more thread
cancella
t
i
on tes
t
s and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
If th
e
clien
t
th
r
ead te
r
m
i
nat
e
s whi
l
e a pinentry
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a cl
e
anu
p
handler
in iterate
_
cr
y
pto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
W
h
en encr
y
pting
/
de
c
rypting, d
o
n'
t
do the whole t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
I
n cle
a
nup_
c
b(), don't
f
ree
cn->na
m
e
until every
t
hi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
B
etter mutex
l
ocki
n
g and unlocking macros
.
Usefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Up
d
ate th
e
mtime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbu
f
is s
e
t to the dat
a
to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
bey
Use gcry_
.
.
.
memory
functions in do
_
compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
Return GPG_ERR_ENOANO if t
h
e
data file is
n
ot a reg
u
lar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
A
c
oup
l
e minor cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fi
x
e
d
poten
t
ially no
t
f
r
e
e
ing all cache e
n
tries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
Fix
e
d
sta
t
us
me
s
sages sen
d
with send_s
t
atus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibb
e
y
Fixed tls_init() not init
i
alizing the S
H
A-1 h
a
s
h
si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initial
i
ze libgcrypt
properly by calling gcr
y
_
chec
k
_vers
i
on()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Move initTlsParam
s
() a
n
d
deinitTlsPar
a
ms(
)
to
t
ls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Add
e
d option "tc
p
_use_crl"
.
When TRUE
,
~/
.
pwm
d
/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Set the signa
l
mask befo
r
e other thr
e
a
d
s are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Don't try and
l
ink with -lrt
on systems other
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bbey
Fix
e
d
a co
m
pi
l
e time error on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed
a
comp
i
le ti
m
e warning on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
Remov
e
old < v1
.
11 command lin
e
option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
bey
Use PTHR
E
AD_MU
T
EX_RECURSIVE not PTHREAD_MUTEX_RE
C
URSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
F
ixed some com
p
l
e
time co
n
dit
i
ona
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
Restore client->has_lock in cl
e
anup_cl
i
en
t
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use
a
structur
e
in f
i
le_cache
_
t to h
o
ld the fil
e
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
T
h
e client must exp
l
icitly se
t
O
P
TION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Ki
b
b
ey
D
on't write a log message whe
n
th
e
cache mutex i
s
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Real
l
y fix co
m
m
i
t a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Revert "Fix for commit a
7
e
15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Fix for commit
a
7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbe
y
Resta
r
t the keepalive_thread() after rece
i
ving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbe
y
S
top acce
p
ting TCP connections when sh
u
t
ti
n
g down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBUG is
defined then set the x
.
.
.
de/alloca
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbe
y
Use an SHA-1 fingerprint rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Fix
e
d a segfault whe
n
TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Ki
b
bey
Create the
client
_
msg_thread and c
l
ien
t
_msg
_
s
ende
r
_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
On
l
y
appen
d
uni
q
ue
s
t
a
tus messages to
the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en K
i
b
b
ey
If the
current thread is calling send_status_all
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kib
b
ey
Mak
e
su
r
e
t
he
msg mutex
i
s unlocke
d
bef
o
re trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a me
s
sag
e
qu
e
ue
t
hat won
'
t b
l
ock send_
s
tatus_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
P
ort
e
d to
p
thread
.
cache_mutex an
d
cn_mutex are no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben
K
ibbey
S
I
G
HUP wi
l
l stop
o
r start
t
he t
c
p_a
c
cept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
Updated the copyright he
a
ders
for
2
009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixe
d
a pinentry segfault (hopef
u
lly
)
during
c
leanu
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n Kibbey
Al
l
ow othe
r
characte
r
s
in the
filename whe
n
u
s
i
ng GETCONFI
G
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMA
N
D
S
t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Ret
u
rn
G
P
G
_
ERR_NO_
V
A
L
UE instead of a syn
t
ax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
flags to
the new v
2
file
h
eader
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a
me
m
ory leak in pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
W
arn about errors opening a
ke
y
_file while
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed cl
e
ar_cach
e
(
)
c
l
earing all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
en Kibbey
F
ixed a me
m
ory leak
c
rea
t
e_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
x
e
d asking for a passphras
e
after
o
peni
n
g a
n
ew
f
il
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
xed closing the
wrong FD in
c
l
eanup_crypto
(
) and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Ki
b
bey
Fixed
S
AVE
w
ith a passphrase specified in
the co
m
mand
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close
the
cip
h
er han
d
le
in
crypto_clean
u
p();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some compil
e
-t
i
me
w
ar
n
i
ngs
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
T
h
e "disable_list_and_dump" configuration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ibbey
When importing, con
v
erti
n
g and pushing
fi
l
es into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
bey
Some code rea
r
rang
e
me
n
t
s
.
Getting read
y
t
o fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show the out
p
ut f
i
l
ename
a
n
d
not s
t
dout i
n
the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbey
Fixe
d
a
memory
l
e
ak in
d
o
_c
a
c
h
e_push()
.
The docume
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kib
b
ey
Handle STATUS_COMPR
E
SS
/
DECOMPR
E
SS/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
e
n
K
i
b
bey
F
ixed the pinentry dialog showing the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en Kibbey
Fi
x
ed freeing
"
tcp_wai
t
" in tcp_accept_thre
a
d() be
f
ore
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben K
i
bbey
Adde
d
configuration parame
t
er "ciph
e
r_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibb
e
y
Check the return val
u
e of pth_sp
a
wn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use send
_
status() f
r
om
CACHE_
L
O
C
K
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbe
y
S
e
t the thr
e
ad name for other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
B
en
K
i
bbey
Removed the un
u
s
e
d file
h
eader
variables
.
The
y
ca
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
A
llow "GETCON
F
IG key
"
and "GETCONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Ki
b
bey
A
d
d
e
d com
m
a
n
d VERSION to retu
r
n
t
he ver
s
io
n
string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the c
l
ient FD t
o
non-
b
lo
c
k
i
n
g
i
n the
B
YE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Ki
b
bey
When
"
key_f
i
le" is
specifie
d
in the
configuration
a
nd
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Ki
b
bey
Retu
r
n a g
b
oolean from
v
al
i
date_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kib
b
ey
Merge branch
'v
2
'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
s
e
a tempor
a
ry
v
a
r
iable in reloa
d
_rc
f
ile(
)
in ca
s
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WI
T
H_GNUT
L
S fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Revert "Set the client socket
file descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for comm
i
t 8f8
5
846
.
Show the actual error description
.
commit
|
commitdiff
|
tree
2008-11-21
B
en Kib
b
ey
Use _SC_PAGESIZE as the size argumen
t
t
o mlock(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
K
i
bbey
R
e
vert
"
Fixed a le
a
k in cache_f
r
ee()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Ki
b
bey
Fix
e
d a leak i
n
c
a
ch
e
_f
r
e
e()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid the file cache to use a GSList (singular
l
i
nked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
B
en
K
i
bbey
Move
d
read_hoo
k
() and write_
h
ook()
to t
l
s
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Use log_write() instea
d
o
f
warn[x] and fprin
t
f
(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Let
t
he "key_fil
e
" config
u
r
a
tion par
a
m
e
ter
w
o
r
k
wit
h
.
.
.
commit
|
commitdiff
|
tree
next