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
Use g_get_home_dir() instead.
2009-03-21
Ben Kibbey
Use g_get_home
_
dir
(
) instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben Kibbey
Re
m
oved all t
c
p/remote/GnuTL
S
support
.
R
emot
e
connections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fix tls
.
c compile-time warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Dont l
i
nk
w
i
th
-
l
r
t o
r
-
lpth
r
ead
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
R
emoved acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Che
c
k for EDEADLK in MUTEX_UNL
O
CK
.
It
can
b
e ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Wai
t
f
o
r thread
T
ID ev
e
nt
s
whic
h
ar
e
trigg
e
red when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Catch SIGABRT, but not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbe
y
Check the return value from pth_s
p
awn()
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n K
i
bbey
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Us
e
t
hread-safe l
i
b
gcryp
t
and libgpg-error functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Do
n
t wr
i
te a log me
s
sage in MU
T
EX_
T
R
YLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Use
M
UTEX_
T
RYLOCK e
v
erywhere
STATU
S
_LOCK
E
D is s
e
nt
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
F
i
xed unlock_file_mutex()
r
ele
a
sing the un
l
ocked m
u
tex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
check the
r
eturn of pth
_
m
u
tex
_
a
c
qu
i
re and pth_
m
u
t
ex_r
e
lease
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben
K
ibbey
s
quash b
e
fore co
m
miting to master
.
thi
s
is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kib
b
ey
Use "g
i
t
lo
g
"
n
ot "git-log" in the Makefi
l
e
'
changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Added
OPTIO
N
LC_CTYPE
and
O
PTION LC_MESS
A
GES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibb
e
y
Fixed a typo in the previous commit
.
Destroy the c
o
nd
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbe
y
Fixed k
e
epal
i
v
e_thread
(
)
to use a
l
ocal condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibb
e
y
Fixed aborti
n
g the connection
w
he
n
the co
n
figu
r
e
d
keep
a
live
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Moved clie
n
t_msg_thr
e
ad(
)
a
n
d client_msg_se
n
d
e
r
_
thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
C
r
eated statu
s
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Af
t
er sending a status message to send_status(),
c
reate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
Remove t
h
e
exi
t
ing client from the cl
i
ent list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
Ki
b
bey
Minor cle
a
nups i
n
mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
Kibbe
y
Lock t
h
e rcfile_mu
t
ex at
e
ac
h
keyfi
l
eh access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't lock
t
he cn_mutex before canc
e
ll
i
ng the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
e
n
K
i
bbey
F
i
x
f
or the previous com
m
it tha
t
wouldn't
terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben K
i
bbey
Use a l
o
cal
m
utex in client_msg_th
r
ead()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
i
bbey
Use a goffset rather
t
h
an gsize for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
Fix
e
d statu
s
messages to use
t
he new iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
F
ixed d
a
t
a file portability between various syst
e
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Ki
b
be
y
A few mor
e
pthread
_
testcance
l
()'s
.
S
h
o
uld be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben K
i
bbey
Thread ca
n
cel
l
atio
n
t
es
t
s in do_com
p
res
s
(
)
and do_decompress(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't send status mess
a
ges
t
o
clients that are
e
xiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
Fixed a segfault with t
h
e SAVE c
o
mmand when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
M
ore thread cancelat
i
on tests and hand
l
ers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
C
r
eate a mutex for the custom
memory
f
u
n
ctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
Kibbey
Cr
e
ate
a new thread when reloading th
e
rcfil
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Mor
e
thr
e
ad can
c
ellation
tests (
m
ore to come
)
a
n
d
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
couple m
o
re t
h
read cance
l
lation
tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
en Kibbey
If t
h
e client
t
hread terminates while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
S
etup a cl
e
anup hand
l
e
r in it
e
r
ate_crypto_once() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
When encryp
t
i
n
g
/de
c
rypting, don't do the whole
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In clean
u
p_cb(), don't free cn->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better
mutex locki
n
g and un
l
ocking macros
.
Useful f
o
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibb
e
y
Upda
t
e the mti
m
e in d
o
_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
crypto->
i
nbuf is s
e
t to th
e
data to
e
ncrypt w
h
en passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
U
se gcry_
.
.
.
m
e
mor
y
fun
c
tions in do_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
R
et
u
rn GPG_ERR_ENOANO if
the
d
ata file
i
s no
t
a
regu
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
A couple
minor cache
.
c cleanup
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
ey
Fixed
p
otentially
not
free
i
ng
all ca
c
he entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Fixed sta
t
us messages send with s
e
nd_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Fixed
tls_init(
)
not initializing
th
e
SHA
-
1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
I
n
itialize libgcrypt
p
roperly
by cal
l
ing g
c
ry_
c
h
eck_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
M
o
ve initTlsParams() a
n
d de
i
nitTlsParams()
t
o
t
l
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Add
e
d option "
t
cp_use
_
crl"
.
When TR
U
E, ~
/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Set t
h
e
s
i
g
n
al
m
ask before other thr
e
ads
are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try a
n
d link wi
t
h -lrt
o
n systems other t
h
an
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixe
d
a c
o
mpile time error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed a compile time warning on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Remove old <
v1
.
11
comma
n
d line opt
i
o
n
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PT
H
READ_MUTEX_RECURSI
V
E n
o
t PTHREAD_MUTEX
_
RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed some comple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore c
l
ient->
h
as_lock in cl
e
anup_cl
i
e
n
t()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Use a s
t
ru
c
ture in file_cach
e
_t to hold the file
mute
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
The client must expli
c
i
tly set OPTION PINENTRY if th
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Don't write a log message
w
hen
t
he
cache mut
e
x
is lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
ey
Really f
i
x commi
t
a7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Rev
e
rt "Fix for c
o
mmi
t
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
ey
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the keepa
l
i
v
e
_
threa
d
() af
t
er receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
en
K
ibbe
y
S
t
op accepting TCP
connections
when
shutting
d
o
wn and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBUG is defined then
s
et the x
.
.
.
d
e/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-1
fingerprint ra
t
he
r
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
F
ix
e
d a segfault when TLS f
a
iled neg
o
tiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Cre
a
te the clie
n
t
_msg_thread and cli
e
nt_msg_send
e
r_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Only append unique status messag
e
s
to the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibb
e
y
If the curr
e
nt
thr
e
ad is callin
g
send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
Mak
e
sur
e
the msg mutex
is unloc
k
e
d be
f
ore tryin
g
to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
b
e
y
Create a mess
a
ge queue tha
t
won't block send_status_a
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
b
e
y
Port
e
d t
o
pthread
.
cac
h
e_mute
x
and cn_mute
x
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
e
n
Kibb
e
y
SIGHUP will stop o
r
start the tcp_accept_
t
hread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
Update
d
the copyrig
h
t
h
eaders fo
r
2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
Fi
x
ed a
pinentry segfault (hopefu
l
ly) during
c
l
eanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en
K
i
b
bey
A
l
low other
c
h
aracters in t
h
e filename when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibb
e
y
Mov
e
d COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Return GPG_ERR_NO_VALUE instead of a syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Re-add
.
flags to the new
v2
f
ile header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memo
r
y leak
i
n
p
i
n
entry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Fixed start
i
ng u
p
witho
u
t a
n
rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about errors opening
a
k
ey
_
file
w
hile parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kib
b
ey
Fixed clear_cache() clearing a
l
l
c
ache
entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
F
i
x
e
d
a m
e
mory leak crea
t
e_dt
d
()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed
asking for
a
p
a
ssphrase after opening a new f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed closing t
h
e wrong FD in c
l
eanu
p
_crypto
(
) an
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n
Kibbe
y
Fixed SAVE
w
it
h
a passph
r
ase specified in the comma
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
B
en
K
ibbey
Close
t
h
e cipher handle i
n
c
r
ypto
_
cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed
s
ome compile
-
time warnings
.
commit
|
commitdiff
|
tree
next