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
Minor documentation cleanups.
2009-04-05
Ben Kibbey
Mi
n
o
r
documentation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
b
bey
Documented SS
H
in the
h
ead
e
r
.
Also fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixe
d
some compile-time
co
n
ditionals
.
A
g
ain
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a note
a
bout calli
n
g pwmd_get_fds() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibbe
y
Remov
e
d
pw
m
d_ge
t
_fd() an
d
pwmd_get_async2_
f
d
(
)
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_OP
T
ION_PINENTRY_TIMEOUT when u
s
ed with pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
B
en Kibbey
Upd
a
ted
t
he
pwmc docume
n
ta
t
ion
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Ki
b
bey
Make sure a val
i
d
handle and as
s
ua
n
context i
s
avai
l
able
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibbey
Return ASYNC_DONE from pwmd_pr
o
c
e
ss() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Deter
m
ine the pwmd server version
in _soc
k
et_c
o
nnect_f
i
n
a
liz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Docum
e
nted
p
i
n
entry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Fixed local
pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
e
y
Ren
a
med pwmd_g
e
t_fd2() to pwmd_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Removed PWMD_OPTI
O
N_
P
I
NENTRY
.
No longer needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
D
on't do
"
GETCONFIG data_di
r
ectory" on an SSH
c
onn
e
cti
o
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added pwmd
_
open2() and pwm
d
_save2() which
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
Mo
r
e documentat
i
ons updates an
d
fixe
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_get_
h
os
t
key() now requires a pwm_t handle
.
T
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kib
b
ey
W
ITH_P
I
NE
N
TRY co
n
ditional
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
be
y
Loop
o
ve
r
do_sav
e
_getpin() when GPG_
E
R
R_
I
NV_PA
S
SPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
F
ixed pwmd_sa
v
e() wh
e
n PW
M
D_OPTIO
N
_PINENTRY is
set
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kib
b
ey
T
h
e order of
g
etting
the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a doc/Makefile
"
doxyge
n
" target t
o
generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbey
Set a defaul
t
timeout
o
f 30 secon
d
s for pwmd_open_as
y
nc2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
Renamed pwmd_password_fn to pwm
d
_
p
assphr
a
se_cb_t
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbe
y
Up
d
ate
d
the doc
u
mentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbe
y
Added PWMD
_
OP
T
ION_I
P
_
V
E
RSIO
N
which should
b
e
set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
ed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A few
m
ino
r
cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie
p
inent
r
y proc
e
sses
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Ki
b
bey
Fixed pwmd_save_asy
n
c2()
w
he
n
use
d
w
i
t
h
an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fixed
t
h
e --get-hostkey
opti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbe
y
Fixed some compile time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
A few c
o
mpil
e
time conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
bbey
W
h
e
n
d
o
ing a pwmd_
o
pen_asyn
c
2()
,
check the p
a
ssphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Fixed checki
n
g fo
r
an
S
S
H er
r
or
i
n
w
r
i
t
e_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Trim any '\r\n' in the co
m
mand
b
efo
r
e
sendin
g
it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
i
xed
pinentry retries
when us
e
d with p
w
md_ope
n
_
async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
bbey
Check for ge
t
opt
.
h for systems that have
g
etopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use getopt_lon
g
()
.
W
h
en no
t
available, build the
includ
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed a
potenti
a
l
b
u
ffer overfl
o
w
in
d
o_nb_c
o
mmand()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
K
ibbey
F
ail if assuan_g
e
t
_active_
f
d
s
() does
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n K
i
bbey
R
enamed
p
w
m
d
_
tcp_connect() an
d
p
w
md_tcp_connect_
a
sync
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
D
o
n't d
u
p
(
) the assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for the previous c
o
m
m
it whi
c
h
didn't c
o
nsider
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
xed pwmd_open/save_async2() when the fi
l
e is c
a
ched
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix
e
d using
a
s
pecif
i
ed
pass
p
hras
e
w
hen
u
sing pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close the TCP FD
w
hen
an async command completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixed a pwmd_t
c
p
_
co
n
nect
_
async()
s
e
g
fa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Add
e
d pwmd_g
e
t_fd2() to
r
eturn the
FD used
b
y pwmd_open_
a
syn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Rem
o
ve
d
pwmd_te
r
minate_pinent
r
y()
.
The
r
e
is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
R
e
m
oved p
w
md_open_nb(), pwmd_save
_
nb(),
p
w
m
d
_open_
n
b
_
fi
n
a
liz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbey
R
e
set the state after command com
p
le
t
i
o
n
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibb
e
y
F
i
xed
pwmd_get_h
o
stkey_as
y
nc(
)
to r
e
s
e
t
the
state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ib
b
ey
Set th
e
p
w
md_pr
o
cess() result when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pw
m
d_
c
alloc
(
) not pwmd_malloc() in pw
m
d_
n
ew()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
Let pwmd
_
open_nb
(
) use
P
WM
D
_O
P
TIO
N
_P
I
NENTRY_TIM
E
OUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
ibbey
Re-add pwmd_pendin
g
_line()
.
The diff
e
rence
i
s
t
h
a
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
Kibbe
y
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
ib
b
ey
#include <st
d
arg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/private sym
b
o
l
cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Us
e
ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
K
i
b
b
e
y
Use
g
etp
w
uid_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
If use
r
name is N
U
LL when passed to pwmd_tc
p
_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
WITH_L
I
B
PTH c
o
n
d
i
tion
a
l fixes
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibb
e
y
Added pwmd
_
strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Fixed pwm->result without TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Better
p
wmc
ar
g
u
ment checking
w
ith tcp
options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Allow
-
y
for pinentr
y
retries
even without DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
K
i
bbey
-
-disa
b
le-tcp compil
e
ti
m
e fixes and other min
o
r cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixe
d
a typo
i
n pwm
c
.
c preventing reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
L
e
t pwmd_
p
rocess() work without a
r
u
n
n
ing co
m
m
and
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
Make sure the r
e
s
u
l
t
of a
pwmd_command() is
no
t
NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbe
y
Re
v
ert "Let pwm
d
_
p
r
o
cess()
wo
r
k
when
not insid
e
a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en
K
ibbey
Fixed
a
segfault when
after a remote cl
i
ent
terminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwm
d
_p
r
ocess() work when not inside a comm
a
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Finalized c
o
mmit
65d085f
.
Sho
u
ld be bac
k
to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Compile-time fix for FreeBSD when
t
r
ying to link w
i
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Compile-t
i
me fix for --di
s
a
b
l
e-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated
p
wmc
.
c to use pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD_OPT
I
ON_PIN
E
NTRY_TIMEOUT
.
Only useful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
e
y
Let pw
m
d_
s
etopt() set p
w
md options directly whe
n
P
WMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
A
dded pwmc co
m
mand line options -C and -M
t
o
s
e
t LC_CTYPE
and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Ad
d
ed PWMD_OPTIO
N
_
P
INENTRY_LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In
do_pwmd_sa
v
e(), check for
t
he user supplied p
a
s
sword
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
i
bbey
Reset pwm->pid in pwmd_ter
m
inate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
ibbey
M
ake sure pwmd_co
m
man
d
_
ap()
h
as a handle and command
.
commit
|
commitdiff
|
tree
2009-03-14
B
en
K
i
bbey
Com
p
i
le ti
m
e fix for -DMEM_DE
B
UG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Don't try to
xfree the pa
s
sword ret
u
rned by a
u
ser
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated the
c
opyright h
e
ader
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Added
w
arn_unused_res
u
lt attr
i
b
u
te to pwmd_com
m
and_a
p
()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
F
i
xed mem
.
c
to
u
se a mutex w
h
e
n access
i
ng the memo
r
y
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Added pwmd_co
m
mand_ap()
.
This
m
a
k
e
s
p
wmd_comman
d
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
b
ey
I messed
u
p
the directory tree making it
h
ard to p
u
ll
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbe
y
Fixed some
me
m
or
y
leaks
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbe
y
A
dded p
w
md_get_hostkey_async
(
)
.
Acts like pwmd_tcp_conne
c
t_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
Fixed pwm
d
_tcp_connect_async()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
Allow c
o
mment
s
beginning with '#'
in
t
he know
n
host
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Be
n
K
i
bb
e
y
C
ha
n
ged the arguments to pwm
d
_tc
p
_conn
e
ct() and
commit
|
commitdiff
|
tree
2009-03-11
Be
n
K
ibbey
U
se secure mem
o
ry functions
.
commit
|
commitdiff
|
tree
next