repo.or.cz
/
libpwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Make sure a valid handle and assuan context is available before trying
2009-04-04
Ben Kibbey
Mak
e
sure
a
valid handle and a
s
suan context is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Retur
n
A
S
YNC_DONE from pwmd_pr
o
ces
s
() whe
n
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Determi
n
e
the pwmd s
e
rver version in _socket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Documented
p
inentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Fixed
local pin
e
ntr
y
strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Renamed
p
w
m
d_get_fd
2
() to pwmd_get_asy
n
c
2
_fd
(
)
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed PW
M
D_OPTION_PINENTRY
.
No longer nee
d
ed s
i
nce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
D
o
n't do
"GET
C
ONFIG da
t
a
_di
r
ectory" on an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
Added pwmd
_
ope
n
2() and pwmd_save2() which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibb
e
y
Mor
e
documenta
t
ion
s
u
p
dates and fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
w
md_get_hostk
e
y(
)
now require
s
a pwm
_
t hand
l
e
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Ki
b
b
e
y
WI
T
H_PINENTRY c
o
n
ditional f
i
x
es
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
Loop over do_save_ge
t
p
in() when GPG
_
ERR_INV_PASSPHR
A
SE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fi
x
ed
p
wmd_save
(
)
w
he
n
PW
M
D_OPTION_PINENTRY i
s
s
et
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
T
he order of getting the pas
s
word is:
commit
|
commitdiff
|
tree
2009-04-01
Ben
K
ibbey
C
r
ea
t
e
d
a
d
oc/M
a
k
e
fil
e
"do
x
yg
e
n
"
tar
g
e
t to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Se
t
a
d
e
fault tim
e
ou
t
of 30 second
s
f
o
r
p
wmd_
o
p
en_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Renamed pwmd_passw
o
r
d
_
f
n to pwm
d
_p
a
ssphra
s
e_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
U
pdated
t
he d
o
cumen
t
a
tion
.
commit
|
commitdiff
|
tree
2009-03-29
B
en K
i
b
b
ey
Added PW
M
D
_
O
P
T
ION_IP_
V
ERSIO
N
which
s
hould be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibb
e
y
Fixed -
-
port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
A few minor cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fixed zo
m
b
i
e p
i
nentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fix
e
d
pwmd_save_asy
n
c2() when used wit
h
a
n SSH chann
e
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbe
y
Fixed
the --get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Ki
b
bey
F
i
xed
s
o
m
e compile ti
m
e
w
arni
n
gs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
few compile time
c
o
nditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
W
hen d
o
in
g
a pwmd_open_async2(), ch
e
ck
t
he passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed chec
k
ing f
o
r an
SSH
e
rr
o
r in wr
i
te_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
T
rim any '\r\n'
in th
e
c
o
m
m
a
nd before sen
d
ing it
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
F
i
xed
pinentry retries whe
n
u
sed
w
ith pw
m
d_open_asyn
c
()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Ch
e
ck for ge
t
opt
.
h for systems tha
t
have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
U
se getopt_lo
n
g()
.
When not avai
l
a
b
le
,
build the include
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
b
e
y
Fixed
a
poten
t
ial buffer overflow
i
n do_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Fail if assuan_get_active_fds()
does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Renamed pwmd_
t
cp_connect() and pwmd
_
tcp_con
n
ect_a
s
y
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
be
y
Don
'
t dup() the assuan ctx
F
D
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
F
i
x for the previous co
m
mit which didn'
t
co
n
sider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Fixed pwmd_ope
n
/save_a
s
ync2() when the fil
e
is
cac
h
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Fi
x
e
d usi
n
g a spec
i
fied pas
s
p
hr
a
se when using pwmd_o
p
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close the
TCP
F
D
when an a
s
ync co
m
mand completes
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n
Kibbey
Fixed a
pw
m
d_tcp
_
c
o
nnect_async() seg
f
ault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Ad
d
ed p
w
md_
g
et_fd2() to return the FD used by pwmd
_
open_a
s
yn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Removed pwmd_terminate_pi
n
entry()
.
There
i
s
no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Ki
b
bey
Re
m
oved pwmd_open_n
b
(), pwmd
_
save_nb
(
), pwmd_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
Reset the s
t
at
e
afte
r
command
c
om
p
le
t
ion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwmd_get
_
hostkey
_
asy
n
c() to r
e
set the
s
t
a
te
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
Set the
pwmd_proce
s
s()
res
u
lt when finish
e
d
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
pwmd_
c
a
lloc()
n
o
t pwmd
_
mall
o
c() in pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
Let pwmd_open_nb() us
e
PWMD_OP
T
I
ON_PINENTRY_TIME
O
U
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbe
y
Re-add
p
w
md_pend
i
ng_line()
.
The
d
ifference is tha
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
A
P
I changes
:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kib
b
ey
#inc
l
ude <stdar
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/
p
riv
a
te symbo
l
cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Use
ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use g
e
tpwuid_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
b
e
y
If user
n
am
e
is NU
L
L whe
n
passe
d
t
o
p
wm
d
_tc
p
_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
WITH_L
I
BPTH condit
i
onal fixes
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibb
e
y
Added p
w
md_strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Fix
e
d pwm->result without TCP s
u
p
port
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
b
bey
B
e
tter
p
w
mc arg
u
m
ent c
h
ecking with tcp opti
o
ns
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Al
l
o
w
-y for pinentry ret
r
ies even
without DE
B
UG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
--
d
i
s
ab
l
e-tcp compile ti
m
e fixes and o
t
her mino
r
cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a typo
i
n p
w
mc
.
c preventin
g
reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let
p
wm
d
_proc
e
ss() work without a ru
n
n
ing
c
omman
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Make sure the result of
a pwmd_c
o
mmand()
i
s
no
t
NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Revert "L
e
t p
w
m
d
_p
r
ocess() work when not i
n
s
ide a co
m
mand
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
F
i
x
e
d
a
segfault w
h
en after a remote client ter
m
inat
e
s
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Let pwmd_pr
o
cess() work
w
h
e
n
n
o
t inside a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Finalized
commit
65
d
0
8
5
f
.
Should be
back to no
r
mal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
C
ompile
-
t
ime fix fo
r
FreeBSD when trying
t
o
link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Compile-time fix
f
or --disable-n
l
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
U
p
d
a
t
ed pwm
c
.
c
to use pwmd_se
t
opt(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD_OPTIO
N
_
PI
N
EN
T
R
Y
_
T
IME
O
UT
.
On
l
y
use
f
ul w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Le
t
pwmd_setopt() se
t
pwmd opt
i
ons directl
y
w
h
en PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbe
y
Added pwmc command li
n
e optio
n
s -
C
and
-
M
t
o
set LC_
C
T
Y
PE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD_OP
T
ION_
P
INE
N
TRY_LC_CT
Y
PE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
I
n d
o
_pwmd_save(), check for the
u
se
r
supplie
d
password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
Kibb
e
y
R
e
set
pwm->pid
i
n
p
w
md_terminate_pinentry(
)
.
commit
|
commitdiff
|
tree
2009-03-14
B
en
K
i
bbey
Make sur
e
pwmd_command_ap
(
) has a
handl
e
and command
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Compile time fix for -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kib
b
ey
Do
n
't try to xfree the password return
e
d by
a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Up
d
a
ted th
e
copyright heade
r
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
warn_unu
s
ed_result attribut
e
to pwm
d
_command_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed mem
.
c to
u
s
e a mutex when acces
s
ing the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added pwmd_
c
ommand_ap
(
)
.
This makes pwmd_
c
o
mmand()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I messed up the directory tree making it
hard to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbe
y
Fixed
s
ome memory leaks
.
commit
|
commitdiff
|
tree
2009-03-13
B
e
n Kibbey
Ad
d
ed pwmd_get_hostkey_a
s
y
n
c()
.
A
cts like pw
m
d_tcp_connect_
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Be
n
Kibbey
Fixed pwmd
_
tcp_connect_async()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben
Kibbey
Allow
comments b
e
ginning w
i
th '#' in the
k
no
w
n h
o
st
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
Changed the arguments to pwmd_t
c
p_con
n
ect() and
commit
|
commitdiff
|
tree
2009-03-11
Ben Ki
b
bey
Use secur
e
memory
f
u
ncti
o
n
s
.
commit
|
commitdiff
|
tree
2009-03-11
Ben
K
i
b
b
ey
An alternate way to do
remote connec
t
i
o
ns
.
T
h
is
w
ill
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Be
n
Kibbey
Added
p
wmd_co
m
mand_ap()
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibbey
Added d
o
c/ and src/
.
commit
|
commitdiff
|
tree
2008-12-13
B
en
Kibbey
F
ixe
d
'
make dis
t
chec
k
'
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
Kibbey
Use
the new p
w
md VERSION c
o
mmand to det
e
r
m
ine valid
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbe
y
Prefix
a
ll libass
u
an symbo
l
s with _pwmd_ to preve
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
en K
i
bbey
Make libassuan
a
convenience l
i
brary
to fix libtool
.
.
.
commit
|
commitdiff
|
tree
next