DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th February 2016
slowtechstef slowtechstef is offline
Port Guard
 
Join Date: Sep 2015
Posts: 10
Default alpine with .pine-passfile support

For several reasons I really enjoy using alpine as a mail client. I know most people use mutt, however I myself like the sane defaults of alpine. I did try mutt, but just kept reconfiguring the program.

I just discovered that on OpenBSD 5.8 (arch i386) when you install alpine as a package there is no support compiled in for .pine-passfile so the program keeps asking your password every time you open your inbox or send an e-mail.

Both the manpage of alpine and "alpine -supported" both do not show the .pine-pass option. So I guess it just not compiled in.

Is there a specific reason to not use a .pine-passfile? Is this really bad behaviour security-wise?

I use alpine only for my gmail account with IMAP access, and then use it with an application specific password that is tied explicitly to that program on that specific computer.

So I guess if I would like to use alpine with .pine-passfile support I should install it from ports? I ask this because compiling programs from ports is something I am not quite sure if I am ready to do that. Also the FAQ encourages users to install packages if possible.

Or is there another easy solution I just overlooked?
Reply With Quote
  #2   (View Single Post)  
Old 26th February 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,271
Default

Quote:
Originally Posted by slowtechstef View Post
Or is there another easy solution I just overlooked?
Perhaps someone with experience/knowledge of mail/alpine will respond, but in case not, the next step would be to contact the maintainer of the port.

Unfortunately, there is no designated maintainer. The next step would be to post to the official ports@ mailing list. Information on subscribing can be found at the following address:

http://www.openbsd.org/mail.html
Reply With Quote
  #3   (View Single Post)  
Old 26th February 2016
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,497
Default

At this moment the developers are in "release" mode

You could look at the Makefile of the the alpine port and check whether there is such an option that you can enable.

BTW I always install alpine to read the system mail, but there I don't need a password
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #4   (View Single Post)  
Old 26th February 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,735
Default

I don't know anything about alpine. But I did look through the source and noted that if you run the GNU configure script with the option --with-passfile=FILENAME you will get a warning that states, "--with-passfile definition overrides OS-Specific password caching".

This option is not among those included among those in the port's Makefile $CONFIGURE_ARGS variable. Could it be added? Sure. Will it fail to build, or fail to operate properly? It might. Adding the option would require testing.

----

Looking through the history of comments on the ports@ mailing list, I found this comment from 15 years ago:
Quote:
In order for you to have pine log in without a password, it needs to use rsh or ssh with RSA/DSA authentication, or you compile it with the PASSFILE option...
My guess is that an ssh(1) session might be used, perhaps with a passphrase stored once by ssh-agent(1). ssh-agent() is currently the only "password caching" tool in the base OpenBSD system. It doesn't really do that. It caches private keys used in with public key authentication, so that a user is only prompted for a private key passphrase once.

The history of the port (in ports@ archives) indicates that the PASSFILE option was once proposed, but rejected along with other added options as too large a change at the time. It was never implemented.

Last edited by jggimi; 26th February 2016 at 10:37 PM. Reason: clarity (ssh-agent)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alpine Linux J65nko Other BSD and UNIX/UNIX-like 5 3rd July 2015 01:12 PM
Alpine (.pinerc) configuration help cssgalactic FreeBSD General 1 1st March 2011 05:26 AM
openbsd postfix pine problem werwer OpenBSD Packages and Ports 4 29th May 2010 10:08 PM
Alpine not working tomageeni OpenBSD General 7 2nd April 2010 10:06 PM
Help configuring pine cssgalactic FreeBSD General 4 29th June 2008 11:50 PM


All times are GMT. The time now is 11:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick