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
If the client thread terminates while a pinentry is running, terminate
2009-01-27
Ben Kibbey
I
f the clien
t
thread
te
r
minates while a pinentry
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
S
e
tup a
c
leanu
p
h
andler in iterate_crypto
_
once()
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
When
encrypt
i
ng/de
c
rypti
n
g, don't do the wh
o
le
t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup_cb
(
), do
n
't free cn->n
a
me until eve
r
ything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
K
ibbey
Better mutex locking and
u
nlocking mac
r
os
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
Up
d
ate the mtime i
n
do_xm
l
_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
c
rypto->inbuf i
s
set to the data to
e
n
cry
p
t whe
n
passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
memory functions
in
d
o_co
m
press() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
e
y
R
eturn GPG_ERR_ENOAN
O
if
t
h
e data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
be
y
A
coup
l
e minor cac
h
e
.
c cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fix
e
d potentially not freei
n
g al
l
cache en
t
ries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed status messages send with send_
s
tatus_all()
on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed tls
_
i
nit() not ini
t
ializ
i
ng the SHA-1 hash si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
I
n
i
tialize libg
c
rypt
p
roperly by cal
l
i
ng gcry_check_
v
er
s
i
on()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTl
s
Params() an
d
dein
i
tTl
s
Pa
r
ams
(
)
t
o tl
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
dded optio
n
"tcp_us
e
_cr
l
"
.
W
h
en TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
S
e
t
t
he
signal mask before other t
h
reads are cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ib
b
e
y
Do
n
'
t
try and link wi
t
h
-l
r
t on sy
s
tems other
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
a
compil
e
time
e
rror on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed a
c
ompile ti
m
e
warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Re
m
ove old
<
v1
.
11 command
li
n
e o
p
tion -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use P
T
HREAD_M
U
TEX_RECURSIVE n
o
t PTHRE
A
D_MUTEX_RECURSIVE
_
NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed some comple
time cond
i
tionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restor
e
c
l
ient->has_lock i
n
cleanup_client
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a str
u
ct
u
re in
file_cache_t to ho
l
d
t
he file m
u
t
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
The client mus
t
explicitly set
O
PT
I
ON
P
INENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Don't write a log message when the cache m
u
tex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really f
i
x commit a7e15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
evert "Fix for comm
i
t a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
ibbey
F
i
x fo
r
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restar
t
th
e
k
e
epaliv
e
_th
r
ead()
a
f
ter receiving SIGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n
Kibbey
S
t
op
a
ccepting TC
P
connection
s
whe
n
shuttin
g
down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
i
bbey
If ME
M
_
D
EBUG
is de
f
ined
t
he
n
s
e
t t
h
e
x
.
.
.
d
e/alloc
a
tors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
U
s
e
an SHA-1 fi
n
ge
r
pri
n
t r
a
ther than MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
F
ixed a segfault when TLS failed negotia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Cre
a
te the client_ms
g
_thread
and client_msg_send
e
r_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only append uniq
u
e status messages to
t
he messag
e
queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the c
u
rrent thread
i
s
calling
s
end_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure
t
he m
s
g mutex is unlo
c
ked before trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Cr
e
ate a message queue t
h
at
w
on't bl
o
ck
send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kib
b
ey
P
orted to pthread
.
cache_m
u
tex and c
n
_mutex are
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kib
b
ey
SIGHUP wil
l
stop or start the tcp_accept
_
t
hread
(
) depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
b
bey
U
pdated the co
p
yright h
e
ad
e
rs for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
i
x
e
d a pine
n
try s
e
gfault
(hopefully) dur
i
n
g cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n Kibbey
Allo
w
other char
a
cte
r
s in th
e
f
i
lename
whe
n
us
i
n
g
GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMA
N
DS to do
c
/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return GPG_ERR_
N
O
_
VALUE
i
nstead of
a
syntax e
r
ror from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bb
e
y
R
e
-add
.
fl
a
gs
to
the ne
w
v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
ix
e
d a memory leak in pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Fixed s
t
a
r
ting u
p
withou
t
an rc
f
i
le
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn abo
u
t errors ope
n
ing a key_file w
h
ile
p
arsin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
clear_cac
h
e() clearing all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbe
y
Fixed a
memory leak
create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
xed asking for a
passp
h
rase a
f
ter openi
n
g a new fil
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbe
y
Fixed closing the wrong FD in
cleanup_crypto(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
en
K
ibbey
Fixed
S
AVE with
a passphrase s
p
ecifie
d
i
n t
h
e comman
d
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbe
y
Close the cip
h
er handle in crypto_cle
a
nup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fi
x
ed so
m
e
com
p
ile-time warn
i
ngs
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbey
T
h
e "disabl
e
_
l
ist_and_dump" co
n
figurati
o
n
parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en
Kib
b
ey
When
i
mpor
t
i
n
g, converting and
p
ushin
g
f
i
les
int
o
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Some code
rearrangements
.
Gettin
g
ready to fix f
r
eei
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
Kibbey
Sho
w
the output filename an
d
n
ot
s
t
dout in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
F
i
xed a memory leak in do_cache
_
push()
.
T
h
e
document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
Kibb
e
y
Ha
n
d
l
e
STATUS_COMPR
E
SS/DECOMPRESS/ENCRYPT
/
DEC
R
YPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en
Kibbey
Fixed
the pi
n
e
n
try dialog showi
n
g the wro
n
g filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n Kibbey
Fi
x
e
d f
r
eeing "tcp_wait" in tcp_ac
c
e
pt_thread() befo
r
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en Kib
b
ey
Added con
f
igurati
o
n parameter "
c
ipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
ibbey
Check the return valu
e
of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated
t
h
e docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
K
ibbey
Use send_status() from
C
A
CHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the thread nam
e
for other
t
hreads too
.
commit
|
commitdiff
|
tree
2008-12-18
Be
n
Kibbey
Remo
v
ed the unuse
d
file
h
eader variables
.
They c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbe
y
Allow "GETCONFIG
key" and "GETCONFI
G
key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added c
o
mmand VER
S
ION t
o
retu
r
n
t
h
e
version string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set
t
he c
l
ien
t
F
D
to non-blocking in the
BYE
n
otifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_fil
e
" is specified in th
e
configuration
a
nd
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Return a gboolean fro
m
valida
t
e_
a
cce
s
s()
.
commit
|
commitdiff
|
tree
2008-11-22
Be
n
Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
s
e a
t
empora
r
y vari
a
ble in relo
a
d_rcfile() in cas
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
WITH_
G
NUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbe
y
R
eve
r
t
"
Set the c
l
ient s
o
c
k
et file descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
Fix fo
r
co
m
mit 8f8584
6
.
Show
the actual error d
e
scription
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kib
b
ey
Use _SC_P
A
GESIZE as th
e
si
z
e argum
e
n
t
t
o
mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Kibbey
Reve
r
t "Fixed a
leak in cac
h
e_fr
e
e()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben
Ki
b
bey
F
ixe
d
a
l
e
ak
i
n cache_free
(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid the f
i
le
cache t
o
use a GSList
(singular lin
k
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Moved read
_
hook() and write_h
o
ok() to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
Kibbey
U
s
e log_write() instead of warn[x] and fprintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbe
y
Let the "key_f
i
le" configuratio
n
parame
t
er work with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
en
K
i
bbey
Revert "Fix
e
d OPEN a
n
d SAVE t
o
use the "ke
y
_
fil
e
" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Rev
e
rt "Added
OPTION
K
EY
F
ILE
.
S
etting to 0
w
il
l
disab
l
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Added OPTION KEYFILE
.
Setting to 0
will disable tr
y
ing
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
F
ixed
OPEN and SAVE to use the "ke
y
_file" if speci
f
ied
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Be
n
Kibbey
Let
-C use a keyfile
with -k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben
Kibbey
F
i
xed a couple of
minor memory l
e
aks
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kib
b
e
y
Added c
o
n
f
i
g
u
rat
i
on optio
n
"
t
cp_wa
i
t"
.
S
e
t
s
t
he
time
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Fixed SO_REUSEADDR
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbe
y
Added command line opti
o
n
-k to obtain
the k
e
y
from
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben
K
ibbey
Don't change "disable_list
_
and_dump" after rel
o
ading
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Change
t
h
e version string
to 2
.
0-dev
.
commit
|
commitdiff
|
tree
next