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
Documented SSH in the header. Also fixed formatting which broke in
2009-04-05
Ben Kibbey
Documente
d
SSH in
t
he h
e
ade
r
.
Also f
i
x
e
d forma
t
ting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Fix
e
d some compile-
t
ime conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
Kibb
e
y
Added a note about calling pwmd_get
_
fds() af
t
er each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Rem
o
ved pwmd_get_fd(
)
and pwmd
_
get_as
y
nc2_f
d
()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kib
b
ey
Fi
x
e
d
PWMD_
O
P
TION_PINENTRY_
T
I
ME
O
U
T
when us
e
d with
p
wmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibb
e
y
Updated the pw
m
c doc
u
mentatio
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Make sur
e
a valid
handle and assu
a
n c
o
nt
e
xt is availa
b
le
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return ASYNC_DONE from
p
w
md_p
r
ocess() when
n
ot in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Determine the
pwmd server versi
o
n in _sock
e
t_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Docume
n
ted
p
inentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
Fixed loca
l
pinentr
y
strings
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Re
n
a
med pw
m
d_get_fd2()
to
pwmd_get_async
2
_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Re
m
oved P
W
MD_OPTION_PINEN
T
RY
.
No longer needed
s
in
c
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
K
i
bbey
Don't do "GETCONFIG data_direct
o
ry" on
a
n SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
i
b
bey
Added pwmd_ope
n
2() and pwmd_save2() which
w
ill use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbe
y
Mo
r
e documentatio
n
s updates and
f
i
xes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Ki
b
bey
p
w
m
d
_
g
et_hostkey() now requires a pwm_
t
handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PIN
E
NTR
Y
con
d
itional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
b
b
ey
Loop ov
e
r
do_save_getpin() when
GPG_ERR_INV_PA
S
SPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Fix
e
d p
w
md_save(
)
whe
n
PWMD_OPTI
O
N_PINENTRY is s
e
t
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The or
d
er of getting th
e
password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben
K
ibbey
Created a doc/
M
akefile
"
doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kib
b
ey
S
e
t a
d
e
f
a
ult timeout
o
f 30 seconds
f
o
r
pwmd_
o
pen_
a
sync2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
en
K
i
bbey
Ren
a
med
p
wmd_password_fn to pwmd_p
a
s
s
phrase_cb_t
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n
Kibbey
Up
d
at
e
d the document
a
tion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Adde
d
P
W
MD_
O
PTI
O
N
_IP
_
VERSI
O
N whic
h
s
h
ould
be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
Fixe
d
--port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A few
m
ino
r
cl
e
a
n
ups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixe
d
zomb
i
e pin
e
ntry processe
s
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fix
e
d pwmd_save_asy
n
c2() w
h
en us
e
d
w
ith an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fixed the --get
-
hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Fix
e
d some compile tim
e
warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few co
m
p
i
le t
i
me conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
When doing a pwmd_open_as
y
n
c
2
(), check
t
h
e
p
a
s
sph
r
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fixed
che
c
king f
o
r
a
n
SSH error in write_h
o
ok() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
Trim any '\r\n' in
t
he
c
ommand before sen
d
i
n
g
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinentry ret
r
ies when used w
i
th
p
wmd_op
e
n_asy
n
c()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
C
h
e
ck for getopt
.
h for systems t
h
at have g
e
top
t
_lo
n
g()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Ki
b
b
e
y
Use ge
t
opt_long()
.
When not
avail
a
ble,
build the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
i
xed
a po
t
e
n
ti
a
l
buffer overflow in do_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Fail if
ass
u
an_
g
et_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed
p
wmd_tc
p
_connect() and pwmd_t
c
p_connect
_
async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Don't du
p
() the assu
a
n
c
tx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Kibbey
F
i
x f
o
r the previous commit which di
d
n't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
xe
d
pwmd_open/save
_
as
y
nc2() whe
n
the fil
e
is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixe
d
using a specified p
a
ss
p
hrase when using pw
m
d_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
bey
Don't c
l
ose the TCP FD when
a
n
a
sync com
m
and
c
o
m
pletes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Fixed a pwmd_tcp_conne
c
t_asyn
c
() segfa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Ad
d
ed pwmd_get_fd2() to ret
u
r
n
the FD
u
sed by pw
m
d_open_as
y
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Rem
o
ved pwmd_terminate_pi
n
en
t
r
y
()
.
T
h
ere i
s
no
n
eed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
Removed pwmd_
o
pen_nb(), p
w
md_sav
e
_nb
(
),
p
w
m
d_ope
n
_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
R
e
s
e
t
the state a
f
ter
c
o
mmand comp
l
e
t
ion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
F
i
x
ed pwmd_get_hostkey
_
async(
)
t
o r
e
set th
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Ki
b
bey
Set the pwmd_proces
s
()
res
u
lt when fi
n
ished
.
Fi
x
es
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pwmd_calloc
(
)
n
o
t
pwmd_malloc() in pwmd_new(
)
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Let pwmd_open_
n
b
(
) use
PWMD
_
OPTION_PINENTR
Y
_
TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Kibbey
Re-add pwmd_pend
i
n
g
_l
i
ne()
.
The difference is
t
h
at
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben K
i
bbey
API ch
a
n
ges:
commit
|
commitdiff
|
tree
2009-03-24
B
en Kibbe
y
#inc
l
ud
e
<stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibb
e
y
Publ
i
c/p
r
i
v
ate symbol cle
a
nup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Us
e
getpwui
d
_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
If username is NU
L
L when passed to pwm
d
_t
c
p_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
WITH_LIBPTH condit
i
o
n
al fixe
s
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Added pwmd_str
e
rror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Fixed pwm->result without
T
CP suppor
t
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Ki
b
bey
Better pwmc argum
e
n
t checking with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
bbey
A
llow -y for pinentry retries even without D
E
BUG
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
--d
i
sable-tcp compile time
f
ix
e
s and other mino
r
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Fixed a typo in pwm
c
.
c preven
t
ing reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd_
p
r
o
c
e
ss() w
o
rk
witho
u
t a
runnin
g
c
o
mmand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Ma
k
e
s
u
r
e
t
he resu
l
t of a pwmd_comm
a
nd() is no
t
NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Ki
b
bey
Rev
e
rt "Let pwmd_pro
c
ess(
)
work
w
hen not ins
i
de a c
o
mmand
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fix
e
d a segfault when after a re
m
ote
c
l
i
ent t
e
rminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Le
t
pwmd
_
p
roce
s
s() w
o
rk
w
hen not inside
a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
F
i
n
alized commit 65d08
5
f
.
Should be back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Compile-time fix for F
r
eeBSD when trying to l
i
nk w
i
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Compile
-
time fix for
--di
s
able-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Updated
pw
m
c
.
c to use
pwmd_setopt
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbe
y
Added PW
M
D_OPTION
_
PINENTRY_TIMEOUT
.
Only useful
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
L
e
t pwmd_se
t
opt() set p
w
m
d
options directly when PWMD_OPTIO
N
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kib
b
e
y
Added pwmc command line options -C and -M
to
set LC_C
T
YPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added PWMD_
O
PTION_PINENTRY_LC_C
T
YPE an
d
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In do_pwmd
_
save(), check for the use
r
supplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Ki
b
bey
Rese
t
p
wm->pid in
p
w
m
d
_terminate_p
i
ne
n
try()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Make sure p
w
md_c
o
mmand_ap() has
a
handle
and comma
n
d
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile time
f
i
x
f
o
r -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Don
'
t try
to xfree the pa
s
sword returned by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Updated the
copyright
header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Added
w
arn_u
n
u
se
d
_result at
t
ribute
to
pwmd_command_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
be
y
Fixe
d
mem
.
c to
use a mutex when a
c
cessing the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added pw
m
d_co
m
mand_ap()
.
This makes pwmd_
c
ommand
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
I messed up
the d
i
rect
o
ry
tree
m
ak
i
ng
i
t hard to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben
Ki
b
bey
Fixed some mem
o
r
y leaks
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
A
d
ded p
w
md_g
e
t_hostkey_as
y
n
c
()
.
Acts like pwmd_
t
c
p
_
connec
t
_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben K
i
bb
e
y
Fixed pwm
d
_t
c
p
_conn
e
ct_async()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
Allow
comment
s
beginning wi
t
h
'
#'
in the kno
w
n
host
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Ki
b
bey
C
hanged the arg
u
ments to p
w
m
d
_tcp_
c
onnect(
)
and
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
Use secure me
m
or
y
functions
.
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
An a
l
ternate way to do
r
emote connec
t
ions
.
This will
.
.
.
commit
|
commitdiff
|
tree
next