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
Zero length is a success from read_hook() and write_hook().
2009-04-08
Ben
Kibbey
Ze
r
o leng
t
h i
s
a
su
c
cess
f
r
om rea
d
_h
o
ok() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kibbey
F
i
x
ed read_hook() and write_hoo
k
() over
a
n SSH cha
n
n
e
l
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1
b
5
9
e7d cont
a
i
n
ed
a
t
y
po
that didn
'
t really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
Kibbey
Fixed pwmd_command_ap() corrupting the argum
e
n
t
list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
F
ixed
option --na
m
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
The 'c
h
an
g
elog' target now on
l
y generat
e
s changes fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor doc
u
ment
a
tion cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documente
d
SS
H
in the header
.
Als
o
fixed forma
t
ting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
Fixed some compile-tim
e
conditionals
.
A
g
ai
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a note abo
u
t
calling pwmd_get_fds() aft
e
r
ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
Kibbe
y
Removed
p
wmd_g
e
t_fd() and pwmd
_
ge
t
_async2_fd()
.
Th
e
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fix
e
d PWMD_OPTION_PINENTRY_TI
M
EOUT when u
s
ed with
p
wmd
_
open2
(
)
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
U
p
dat
e
d the pwmc docum
e
ntation
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
M
ake
su
r
e
a
valid han
d
le and assuan con
t
ext is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return
ASYNC_DONE from pwmd_process() when no
t
in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Determine the pwmd
s
e
rver version in _socket_conne
c
t_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Doc
u
mented pine
n
try
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fixed local pinentry strin
g
s
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Renamed pwmd_
g
et_fd2() t
o
p
w
md_get_asyn
c
2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Remo
v
e
d
PWMD_OPTION_PINENTRY
.
No longer ne
e
de
d
since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Don't do "GETCONFIG data_directory" on
an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
A
d
ded pwmd_open2() and p
w
m
d_save2
(
) which will u
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
More do
c
umen
t
ations updates a
n
d fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
wmd_g
e
t_hos
t
key(
)
now requires a pwm_t
han
d
le
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
WITH_PINEN
T
RY conditio
n
al fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop ov
e
r
d
o_s
a
v
e_g
e
tpi
n
() w
h
en GPG_ERR_
I
NV_PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
F
i
xed pwmd_save(
)
when PWMD
_
O
PTI
O
N_PINE
N
T
RY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The or
d
er of getting the passwor
d
is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Crea
t
e
d
a doc/Makefi
l
e
"
do
x
yg
e
n
" target
t
o generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a def
a
ult tim
e
out of 30 seconds
for
p
wmd_open_
a
sync2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
Kibbe
y
Renamed pwmd_password_fn
t
o p
w
md_passphrase_c
b
_
t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
U
pdated the documentat
i
on
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Added PWMD_OPTI
O
N_IP_VERSI
O
N which should be
set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
e
d --por
t
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
A
few minor
clea
n
ups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fix
e
d zombie p
i
nentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixe
d
pwmd_save_
a
sync
2
() when used
with an SSH cha
n
nel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
Fixed the --get
-
hostk
e
y o
p
tion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
Fi
x
ed some compile tim
e
warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
A few compile
t
ime conditional
fi
x
es
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing a pwmd_open
_
a
sync2(
)
, check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibb
e
y
Fixed checking for an
SSH error in write_
h
oo
k
() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Trim
a
ny '\r\n' in the command be
f
ore
sen
d
in
g
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Fixed pinentry
retries when used wi
t
h pwmd_open
_
as
y
nc()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Chec
k
for g
e
to
p
t
.
h for
s
ystems tha
t
have
getopt_l
o
ng()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use geto
p
t_long()
.
W
hen not
a
v
a
ilable,
b
ui
l
d
the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixe
d
a po
t
ential buffe
r
overflow
i
n do
_
nb_
c
o
m
mand()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
Fail if assuan_get_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Renamed pwmd_t
c
p_c
o
nnect() a
n
d
pwmd_tcp_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Do
n
't dup() the assua
n
ct
x
FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibb
e
y
Fix for the previous
commit which
d
idn't
c
onsider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
Kibbey
Fixe
d
pwmd_o
p
e
n/
s
ave_async2() when the file is cach
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
ibbey
F
ix
e
d
u
sing
a specified passphrase
when using pw
m
d_op
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
D
o
n
'
t c
l
ose the TC
P
FD w
h
e
n an async command comp
l
etes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
F
i
xed
a
pwmd_tcp_connect_async
(
) segf
a
u
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added pwm
d
_ge
t
_fd2(
)
to return the FD used by pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Remo
v
ed pwmd_term
i
nate_pine
n
try()
.
Ther
e
is
n
o need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_open_nb(
)
, pwmd_save_nb
(
),
p
wmd_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbe
y
Reset the state
a
ft
e
r comm
a
nd completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
Fixed p
w
md_get_hostkey_
a
s
ync() to r
e
set
t
h
e
s
tate
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pw
m
d_
p
roce
s
s() result
w
hen finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibb
e
y
p
w
md_calloc() not pwm
d
_malloc() in pwmd_
n
ew()
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbe
y
Let pwmd_open_nb() use PWM
D
_OPTION_
P
I
NENTRY_TIME
O
U
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
Re
-
a
d
d pwmd_pe
n
ding_line()
.
T
h
e
d
ifference is tha
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Ki
b
bey
A
P
I ch
a
nges:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
#inclu
d
e <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Publ
i
c/p
r
ivate sym
b
ol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Use t
t
yname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Us
e
g
e
t
pwuid_
r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
If
username is NULL when pa
s
sed
t
o pwmd_tc
p
_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
WITH_L
I
B
P
TH condi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
A
d
ded pwmd_strerror_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Ki
b
bey
Fixed pwm
-
>
r
e
sult without TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kib
b
e
y
Better pwmc arg
u
ment che
c
k
ing
w
ith tc
p
o
p
tions
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
All
o
w -y f
o
r pi
n
entry retries e
v
en without
D
EBUG
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
--
d
is
a
ble-tcp c
o
mpil
e
time fixes and other minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a t
y
po in
p
wmc
.
c
prevent
i
ng reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd_pr
o
cess() work without a running
c
ommand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Make sure the
r
e
su
l
t of
a
p
wmd_com
m
and() is not
N
ULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
R
e
v
e
rt "Let pwmd_process() work when no
t
i
n
si
d
e a c
o
mm
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Fixed a seg
f
ault when after a
r
emote c
l
i
ent termin
a
t
e
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Let pwmd_process()
w
ork when not i
n
s
i
d
e a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Finalized commit 65
d
085f
.
Should be bac
k
to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
ibbey
C
o
mpile-time fix for FreeBS
D
when trying to
l
i
nk with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile-time
f
ix for --disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bbey
U
p
dated
p
wmc
.
c to use pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Added
P
WMD_OPTIO
N
_
P
I
NEN
T
RY_
T
IMEOUT
.
On
l
y useful
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_seto
p
t
() se
t
pwmd o
p
tion
s
directly when PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
b
bey
A
d
ded
p
wmc
c
om
m
and l
i
ne
opt
i
on
s
-C and -M
to
set
L
C_CT
Y
PE a
n
d
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kib
b
ey
A
d
ded PWMD_OPTION_PINENT
R
Y_LC
_
CTYPE
a
nd
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In
d
o_
p
w
md_save(), chec
k
for
t
he u
s
er supplie
d
password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Reset p
w
m->pid in pwmd_terminate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make sure pwmd_comm
a
nd
_
a
p
()
has a handle
and comman
d
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compi
l
e time fix
f
or -DMEM_DEB
U
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Don
'
t t
r
y to xfree the password retur
n
ed b
y
a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Updated the copyright header
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
ibbey
A
dded warn_unused_
r
esult
a
ttribute to
p
wmd_co
m
m
a
nd_ap(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fi
x
ed mem
.
c to use a
m
ute
x
when
accessing the
memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
p
w
md_command_ap()
.
This makes pwmd_com
m
a
nd()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
b
bey
I
m
esse
d
up the directory tr
e
e
making it hard to pull
.
.
.
commit
|
commitdiff
|
tree
next