gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's secu


From: Michael
Subject: Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials
Date: Fri, 19 Oct 2007 00:16:21 +0200
User-agent: claws-mail.org

Piotr:
> > I can't figure out how to use it.
> > I started the daemon manually when i wasn't in a gnome-session. I tested it 
> > with a standard gnome-session too. I can't find any 'add key' feature in 
> > gnome-keyring-manager, nor a way to contact the daemon via commandline. 
> > Both manpages are stubs, and the help has only 'Welcome!'. This is version 
> > 2.20.0. 
> > I'm not so sure if the idea is so good finally.
> > 
> > Any hint ? 
> 
> Don't do anything with gnome-keyring-manager ;o) 
> 
> Just try to open connection with CTRL+F (or CTRL+N) in gcmd. As password
> is not stored by gcmd anymore, GNOME authentication manager will ask you
> for that - then entered password can be stored internally by
> authentication manager and reused if necessary.

First try:

(1) Started g.k.d. as user

(2) Checked a remote server where i need a password login via commandline -> 
works

(3) Started gcmd and 'connect'ed to that server

-> gnome-commander[4130]:
segfault at 0000000000000000 rip 00002b3e0c29e98e rsp 00007fffa31dbbe0 error 4

Second try, enabled more debugging:

[MM] Opening connection
[MM] Opening FTP connection
[MM] FTP: Connecting to ftp://address@hidden:21/
(login data obfuscated, for the mailing list)

-> no gkd popup
-> gcmd tries inedfinitely and gets unresponsible=effectively a crash.

strace -p 4203
Process 4203 attached - interrupt to quit
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "address@hidden@\2<\0\256\0"..., 32) = 32
read(3, "address@hidden@\2<\0\256\0"..., 32) = 32
read(3, "address@hidden<\0\256\0"..., 32) = 32
read(3, 0x7fffdb4fccd0, 32)             = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
(and so on)

Dunno if this is log entry is related:
Xlib: unexpected async reply (sequence 0x44ba)!

For completeness i installed a local proftp server and retried as guest user 
(checked before that it works)
 
[MM] Opening connection
[MM] Opening FTP connection
[MM] FTP: Connecting to ftp://address@hidden:21/
Xlib: unexpected async reply (sequence 0xa526)!


This time i straced the keyring daemon:

/usr/local/bin mi: strace -p 4128
Process 4128 attached - interrupt to quit
read(6, 0x7fffe7ab801f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab801f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab801f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN, 
revents=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 5, -1) = 1

(cut more polling, until gcmd connects:)

accept(3, {sa_family=AF_FILE, path="�"}, [14139226814551162882]) = 9
clone(child_stack=0x40800260, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0x408009e0, tls=0x40800950, child_tidptr=0x408009e0) = 4536
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}, 
{fd=3, events=POLLIN}, {fd=6, events=POLLIN, revents=POLLIN}], 5, -1) = 1
futex(0x408009e0, FUTEX_WAIT, 4536, NULL) = 0
close(9)                                = 0
read(6, "\252", 1)                      = 1
read(6, 0x7fffe7ab801f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab801f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab801f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x7fffe7ab800f, 1)              = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN, 
revents=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 5, -1) = 1

...and so on.



... So what ?

(Still rev1219)



 m°





reply via email to

[Prev in Thread] Current Thread [Next in Thread]