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 a segfault with the SAVE command when used with pinentry. Broke in
2009-01-29
Ben Kibbey
Fixed a s
e
gfaul
t
with the SAVE comma
n
d when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
K
ibbey
More thread cancel
a
tion tests and ha
n
dl
e
r
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
en K
i
bbey
Creat
e
a m
u
tex for the c
u
stom memory
f
unct
i
ons
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
i
b
b
e
y
Crea
t
e a
ne
w
t
h
read
w
he
n
rel
o
ading the r
c
f
ile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread can
c
e
l
lation
tes
t
s (more to come) and t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kib
b
e
y
A cou
p
le more thread
c
ancellation tests a
n
d
c
leanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
I
f
t
he client thread terminates
w
h
i
le a
pinen
t
ry i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
bey
Se
t
up a cleanup handler
i
n it
e
r
ate_
c
ryp
t
o_once()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
When encrypt
i
ng/de
c
ryptin
g
, don'
t
do the whol
e
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb
(
)
,
d
o
n't f
r
ee cn->name until ev
e
r
y
thin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Better
m
utex
l
ocking and unlocking macros
.
Useful
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update the mtime in do
_
xm
l
_encrypt(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
crypto
-
>inbuf is set to the data t
o
encrypt when passed
t
o
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Use
gcry_
.
.
.
m
e
mory funct
i
ons
in do_compr
e
ss
(
) a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Retu
r
n GPG_ERR_ENOA
N
O if the
d
a
ta fil
e
i
s
n
o
t a r
e
gular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple min
o
r cache
.
c
clea
n
u
p
s
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n K
i
bbey
Fixed pot
e
ntially not
freeing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Fixed status
m
essa
g
es send with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xed
tls
_
i
n
it
(
) not
i
nitializing the SHA-1
hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Initialize libg
c
rypt properly by calling gcry_check_versio
n
()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
M
o
ve
i
nitTls
P
ara
m
s(
)
and d
e
i
n
i
tTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Ad
d
ed opti
o
n "tcp
_
use_crl"
.
When TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set th
e
signal mask before other threads
a
re c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Do
n
't try and lin
k
with
-
l
rt
on s
y
stems ot
h
er than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xed a compile
t
ime error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbe
y
Fixed a c
o
m
p
ile t
i
me w
a
rning on Fr
e
eBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbe
y
Remove old < v1
.
11
c
ommand line
opti
o
n -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use
P
THREA
D
_MUTE
X
_RECURSIVE not PTHREA
D
_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
Fixed some comple time conditional
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
R
esto
r
e client->has_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Use
a
st
r
ucture in file_cache
_
t
to hold th
e
file m
u
t
ex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
The clien
t
mu
s
t explicitly
s
et OPTION PINENTRY
i
f
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't write a
l
og message when
t
he cache mutex is
lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
R
eally
f
ix commit a
7
e15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Revert "
F
ix f
o
r
comm
i
t
a
7e1
5
f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Fix for
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
i
bbey
Resta
r
t the ke
e
palive_thr
e
ad() after rec
e
i
v
ing SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
S
top
a
ccepting TCP connectio
n
s when shutting down a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en K
i
bbe
y
If MEM
_
DEBUG is def
i
ned then set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SH
A
-1 fingerpri
n
t rath
e
r
than M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
F
ixed
a
se
g
fau
l
t whe
n
TLS faile
d
negotiatio
n
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
C
reate the client_msg_thr
e
ad an
d
c
lien
t
_m
s
g_sender_t
h
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Onl
y
ap
p
end unique stat
u
s
m
es
s
ages to the message qu
e
ue
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibb
e
y
If the current
t
hread is calling send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbe
y
Make sure th
e
msg mu
t
ex is
u
n
locked before
t
ryi
n
g
to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Be
n
K
i
b
bey
Create
a
me
s
sage
qu
e
ue that won't block send_status
_
all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n
Kibb
e
y
Ported to pthread
.
cache_mute
x
and cn_mute
x
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
S
IGHUP will stop or start t
h
e t
c
p_
a
cce
p
t_thread() depen
d
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibb
e
y
Update
d
the copyright
h
eaders for
200
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
be
y
Fixed a pinentry seg
f
a
ult (hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en
Kibbey
Allow
o
t
her
charact
e
rs i
n
the
f
i
lename wh
e
n using GETCON
F
I
G
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Mov
e
d COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Return GPG_ERR_NO_VAL
U
E instead o
f
a synt
a
x er
r
o
r
fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
f
l
ags to the new v2 file head
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory leak in pinentr
y
_iterate
(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Fi
x
ed star
t
i
ng up withou
t
a
n rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
W
a
rn ab
o
ut er
r
ors
o
pening a key_file w
h
ile p
a
rsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
i
b
b
ey
Fixed c
l
ear_c
a
c
he(
)
clearing all
c
ache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
F
i
x
e
d a
mem
o
ry leak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bbey
Fixed a
s
ki
n
g for
a passphrase after opening
a
new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed closi
n
g
the wrong FD in cleanup_crypto(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbe
y
Fixed SAV
E
wit
h
a
passph
r
a
se sp
e
cifi
e
d
i
n
th
e
com
m
and
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Ki
b
b
e
y
C
lose
t
he ciphe
r
h
andle in crypto_cleanup()
;
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbey
Fixed some compile-tim
e
warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kibbey
T
h
e "disable_lis
t
_a
n
d
_
dum
p
" configuration
p
a
r
ame
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Wh
e
n importing, converting a
n
d pus
h
ing files
into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
So
m
e code rearr
a
ngem
e
nts
.
Getting r
e
ady to fix
freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
S
how the outp
u
t f
i
lename and not stdout in the i
m
port
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n
K
ibbey
Fixed a memory
l
eak in
do_cache
_
pus
h
(
)
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Han
d
l
e
STATU
S
_CO
M
PRESS/
D
ECOMPR
E
SS/EN
C
RYPT/
D
ECRYPT
in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed
the pinentry dialog show
i
ng
the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
F
i
xed fr
e
eing "tcp_wait"
i
n
tcp_accept_thre
a
d(
)
before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Add
e
d configuration
parameter "cipher_sui
t
e
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Check the re
t
urn value of pth_spawn
(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
Kibbey
Updated
t
he docs
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Ki
b
be
y
Use send_status(
)
from CA
C
HE_
L
O
C
K
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the
thread name f
o
r other thr
e
ads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
R
e
moved the
unu
s
ed file hea
d
e
r
variables
.
They c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibb
e
y
Allow "
G
ETC
O
NFIG key" and
"GETCONFIG
key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Kibbey
Added command
VER
S
IO
N
to re
t
urn the version
s
tring
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
en Kibbe
y
Set th
e
c
l
ient
F
D t
o
non-blocking i
n
the BYE
noti
f
i
er
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kib
b
ey
Whe
n
"key_f
i
l
e"
is
s
pecif
i
ed in the
c
o
nfigu
r
a
t
io
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Be
n
Kib
b
ey
Return a
g
boo
l
ean fro
m
validate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge
b
ranch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Be
n
Kibbey
Use a temporary
variable in reload_rcfile() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WI
T
H_GN
U
TLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben K
i
bbey
R
e
vert "Set the cli
e
nt
socket file descriptor to
n
on
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
e
y
F
ix for commit 8f
8
584
6
.
Show the actual error desc
r
iptio
n
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Us
e
_
SC_PAGESIZE
as
t
he size argum
e
nt to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibb
e
y
Revert "Fixed a l
e
ak in cac
h
e_free(
)
.
"
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
Fixed
a le
a
k in ca
c
he_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid t
h
e file c
a
c
he to use a GSList
(singular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
Moved read_hook(
)
and write_hook()
t
o tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Ki
b
b
e
y
Use log_wr
i
te() instead of warn[
x
] and
f
pr
i
n
t
f(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Le
t
the "k
e
y_f
i
le"
c
onfig
u
ration
paramet
e
r work w
i
th
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbe
y
Rev
e
rt "Fixed O
P
EN and SAVE to use the
"
key
_
f
i
le"
if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
R
e
v
e
rt
"
Added OPTION KEYF
I
LE
.
S
ett
i
ng
t
o 0
w
ill disab
l
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Be
n
Ki
b
b
ey
Added OPTION KEYFILE
.
Setting to 0 will disable trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
Kibbey
F
i
xed OP
E
N
and SAVE to u
s
e
the "key_file" i
f
spec
i
fied
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Let -C
u
se a ke
y
file wi
t
h -k
.
commit
|
commitdiff
|
tree
next