Dr. Gary E. RAFE
2008-03-23 20:04:05 UTC
My wife is a long-time pine(1) user,
and I've ported versions of UW-pine for her
on various platforms over the years.
The last was pine-4.64 with the Chappa combined patches
on a Mac G4 running 10.4.x.
I was made aware recently of the new Alpine project,
and built binaries of it on the same Mac G4, running
currently 10.4.11.
The first version was built with the local disk password
file (I know, ill advised), which worked perfectly with
the local password file from the older Pine-4.64 binary.
The second version enabled the local password cache,
which in this case, uses the native Mac OS X Keychain.
This appeared to build without complaint, and the binary
executes as it should.
The trouble is that passwords don't appear to be saved
(in ~/Library/Keychains/), thus are not applied when needed
subsequently (in our case, when sending messages through an
authenticated SMTP service).
Relevant entries from .pinedebug follow:
14:32:52.038577
q_status_message(Stop "Preserve passwords?" prompts by deleting Alpine Keychain entry)
14:32:52.038789
imap_set_passwd
14:32:52.038885
imap_set_passwd: user=MyUsername altflag=1
14:32:52.038985
imap_set_passwd: host=smtp.abc.xyz
14:32:52.039173
imap_set_passwd: passwd="MyPassword"
14:32:52.039259
write_passfile
14:32:52.078985
write_passfile: SecKeychainAddGenericPassword returned rc=-25308
The return code of SecKeychainAddGenericPassword indicates
that "Interaction with the Security Server is not allowed".
Are we missing some prior setup, outside of alpine(1)
(say, with security(1) and the Security.framework)
to make this work correctly ?
Security(1) reports that a default keychain is enabled,
and has entries from other Internet applications.
Suggestions and/or pointers to solutions are appreciated.
--
Dr Gary E RAFE: drgerlists at gmail dot com
and I've ported versions of UW-pine for her
on various platforms over the years.
The last was pine-4.64 with the Chappa combined patches
on a Mac G4 running 10.4.x.
I was made aware recently of the new Alpine project,
and built binaries of it on the same Mac G4, running
currently 10.4.11.
The first version was built with the local disk password
file (I know, ill advised), which worked perfectly with
the local password file from the older Pine-4.64 binary.
The second version enabled the local password cache,
which in this case, uses the native Mac OS X Keychain.
This appeared to build without complaint, and the binary
executes as it should.
The trouble is that passwords don't appear to be saved
(in ~/Library/Keychains/), thus are not applied when needed
subsequently (in our case, when sending messages through an
authenticated SMTP service).
Relevant entries from .pinedebug follow:
14:32:52.038577
q_status_message(Stop "Preserve passwords?" prompts by deleting Alpine Keychain entry)
14:32:52.038789
imap_set_passwd
14:32:52.038885
imap_set_passwd: user=MyUsername altflag=1
14:32:52.038985
imap_set_passwd: host=smtp.abc.xyz
14:32:52.039173
imap_set_passwd: passwd="MyPassword"
14:32:52.039259
write_passfile
14:32:52.078985
write_passfile: SecKeychainAddGenericPassword returned rc=-25308
The return code of SecKeychainAddGenericPassword indicates
that "Interaction with the Security Server is not allowed".
Are we missing some prior setup, outside of alpine(1)
(say, with security(1) and the Security.framework)
to make this work correctly ?
Security(1) reports that a default keychain is enabled,
and has entries from other Internet applications.
Suggestions and/or pointers to solutions are appreciated.
--
Dr Gary E RAFE: drgerlists at gmail dot com