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
Set the file descriptor to non-blocking in pwmd when debugging async
2009-04-08
Ben Kibbey
S
e
t the file de
s
criptor to non-blocking in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link
w
i
th -lrt on
Lin
u
x x86_64
boxes
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Added GPG_
E
RROR_CFLAGS to the pwmc Makefil
e
dep
e
ndencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zer
o
leng
t
h is
a
success f
r
om
read_hook() an
d
write_hook
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
Kibbey
Fixed
re
a
d_hoo
k
() and write_hook() ove
r
an SSH c
h
ann
e
l
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
e
y
Commit 1b59e7d contained a ty
p
o
that didn't rea
l
ly
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
Fixe
d
pwmd_
c
ommand_ap()
c
orrup
t
ing the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fix
e
d
o
ption --nam
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
The 'ch
a
ngelog' t
a
rget now
o
n
l
y gen
e
r
a
tes changes f
r
om
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Mi
n
o
r
documenta
t
io
n
cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Documented S
S
H i
n
the
h
eade
r
.
Also fi
x
e
d
fo
r
matti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed some com
p
ile-time conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Adde
d
a note about calling pw
m
d
_
ge
t
_fd
s
(
)
a
f
t
e
r e
a
ch
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Remo
v
ed pwmd_get_fd() and pwm
d
_
g
e
t_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
F
i
xed PWMD
_
O
PTI
O
N_PINENTRY_
T
IMEOUT when us
e
d with p
w
md_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updated the p
w
mc docume
n
tatio
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Mak
e
sure
a valid handle and a
s
s
u
a
n contex
t
is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
en Kibbey
Return A
S
YNC_DONE fro
m
pwmd_p
r
o
c
ess()
w
h
en not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Ki
b
bey
D
ete
r
mine the pwm
d
server
versi
o
n in _socket_conn
e
ct
_
finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Documented pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fixed lo
c
al pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Renamed
p
wm
d
_get_fd2() to pwmd_get_asy
n
c2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
B
en
K
ibbey
Remov
e
d PWMD_OPTION
_
PI
N
ENTRY
.
No longer needed s
i
nce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Don't do "GETCONF
I
G data
_
dir
e
ctory" on an SSH
c
o
nn
e
ction
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Added pwmd_o
p
en2() and pwmd_save2(
)
which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
More documentations updates and
f
ixe
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
wmd_get_ho
s
tkey() now
requi
r
es a pwm_t h
a
nd
l
e
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
WITH_P
I
NENTRY
c
o
n
ditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over do_save_getpin() wh
e
n GPG_
E
R
R_I
N
V_PAS
S
PHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fixed pwmd_sav
e
() w
h
en PWMD_OPT
I
ON_PINENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
T
h
e order of getting the
password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a doc/Makefile
"doxygen" targ
e
t to ge
n
erat
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
en Kibbey
Se
t
a default timeout of 30 seconds for
p
wmd_
o
pen_
a
s
y
nc2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbey
Rena
m
ed pw
m
d_password_fn to pwmd_passphrase_cb_t
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibb
e
y
Updated
t
h
e
documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_
O
PTION_IP_V
E
RSION whi
c
h should be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixed -
-
po
r
t
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few minor cle
a
nups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed
z
ombie
pi
n
entry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed pwm
d
_save_asy
n
c2() when u
s
ed w
i
th an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
F
ixed the --get-hostkey
o
ption
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed some
c
ompile time
war
n
i
ngs
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
A few c
o
mpile time conditiona
l
fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
When doing a pwmd_o
p
en_async2(), ch
e
ck t
h
e passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
K
ibbe
y
Fixed checking
for an SSH error in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim any '\r\n' in t
h
e command before se
n
ding
i
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fix
e
d p
i
n
e
ntr
y
retr
i
es w
h
en us
e
d with pwmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
C
h
eck for getopt
.
h
f
or
system
s
that have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
Use getopt_long()
.
When
no
t
available, bu
i
ld the
i
n
c
luded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixed a potential buff
e
r
overflow
in d
o
_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fa
i
l if
assuan_get
_
ac
t
ive_fds() doe
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Re
n
am
e
d
pwmd_tcp_
c
onnect() and
pwmd_tcp_connect_
a
sync
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don'
t
dup() th
e
assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
F
i
x for the previ
o
u
s
commit which di
d
n't co
n
s
i
der a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_
o
pen/sa
v
e_async
2
() when
t
h
e
file i
s
cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
xed using a
specifie
d
p
a
s
s
p
hrase when using pwm
d
_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Don't close th
e
TCP
F
D when an asyn
c
c
omm
a
nd com
p
letes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Ki
b
b
e
y
F
i
xed a
pw
m
d_t
c
p
_connect_async() s
e
gfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added
p
wmd_get_
f
d2()
to re
t
urn the FD
u
sed by pwmd
_
o
p
en_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Re
m
ove
d
pwmd_
t
erminate_pi
n
entry()
.
The
r
e is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Re
m
oved pwmd_open_nb(), pwmd_sav
e
_n
b
(),
pwmd_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Ki
b
bey
Reset the state after command
completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibb
e
y
Fixed pw
m
d
_get_ho
s
t
key_asyn
c
(
) to
r
eset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
S
e
t the
p
wmd_
p
rocess() result when finish
e
d
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
p
w
md_c
a
lloc()
n
ot pwmd_malloc() in pwmd
_
new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
L
et pwmd_
o
pe
n
_nb
(
) use
P
WMD_OPTION_PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Ki
b
bey
R
e-add pwmd_pending_l
i
ne()
.
The differe
n
ce is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben K
i
bbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
b
b
e
y
Public
/
p
rivate
s
ymbol clea
n
up
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use ttyn
a
me_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use getp
w
uid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
If username is NUL
L
when
p
a
s
sed to pwmd_t
c
p
_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WITH_LIB
P
TH c
o
nd
i
ti
o
nal fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Added pwm
d
_
s
trerr
o
r_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->resul
t
without
T
CP support
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Better pwmc ar
g
umen
t
che
c
king with tcp option
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Allow -y for pinentry retries even
w
i
t
hou
t
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
--disable-tcp c
o
mpile
time fixes an
d
other minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a typo in p
w
m
c
.
c
pre
v
entin
g
reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kib
b
ey
Let pw
m
d_process() w
o
rk without a r
u
n
n
i
n
g command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Make sure the result of a pwmd_command()
i
s
n
ot NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Revert "
L
et
p
wmd_proc
e
ss() work when no
t
inside a co
m
ma
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed a segfault when after a
r
emo
t
e client term
i
nat
e
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Let
p
wmd_proce
s
s
() w
o
rk when
not inside a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fi
n
alized commit 65d085f
.
S
ho
u
l
d
be back
to n
o
rm
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
b
ey
Compile-time
f
i
x
for FreeBSD when trying to l
i
nk
w
ith
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Com
p
ile-time fi
x
fo
r
-
-disa
b
l
e
-nl
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Updated pwmc
.
c to use pwm
d
_s
e
topt()
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbe
y
Added PWM
D
_OP
T
I
ON_PINENTRY_TI
M
EOUT
.
Only
useful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Le
t
pwmd_setop
t
(
)
set pwm
d
options dir
e
ctly
when PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added pwmc command
line opti
o
ns
-
C and
-
M
to s
e
t LC_CTY
P
E
and
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Added PWMD
_
OPTION_PINE
N
T
R
Y_L
C
_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
In do_pwmd_sav
e
(), check for the use
r
su
p
plied passw
o
rd
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Reset pwm->pid in p
w
md_terminate_pinentr
y
()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make sure pwmd_c
o
mman
d
_ap() h
a
s
a
handl
e
a
n
d c
o
m
mand
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n K
i
bbey
Co
m
p
i
le time fix for -DM
E
M
_
DEB
U
G
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n K
i
bbey
Don't try to xfree the passwor
d
returne
d
b
y
a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Ki
b
bey
Updated th
e
copyright header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added wa
r
n_unused
_
r
e
su
l
t attribute to pwmd_c
o
mmand
_
ap()
.
commit
|
commitdiff
|
tree
next