Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
Re: [zypp-devel] CredentialManager to get data for authentication
  • From: Michael Calmer <mc@xxxxxxx>
  • Date: Tue, 9 Sep 2008 12:13:18 +0200
  • Message-id: <200809091213.19134.mc@xxxxxxx>
Hi,

Am Montag, 8. September 2008 schrieb Jan Kupec:
Hi,

Current solution uses simple text files containing one URL per line,
_containing_ also 'username:password@'. These URLs are then fed to the
zypp::Url constructor which parses them into an object from which you
can get the username and password, as well as compare with other URLs
using different zypp::url::ViewOption, etc...

I would like to see an enhancement to this. It should be possible to write a
pointer to a file into the url. With this we have the possibility to use the
same credentials for more then one repo/service.

Proposal:

https://hostname.domain.top/path/?credentials=/etc/credentials.d/mycredential

The credential file has the format:

username=...
password=...

(of soemthing similar if curl supports credentials from file)


The current inplementation can stay. So
http://username:password@xxxxxxxxxxxxxxxxxx/path is an alternative.

--
MFG

Michael Calmer

--------------------------------------------------------------------------
Michael Calmer
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
T: +49 (0) 911 74053 0
F: +49 (0) 911 74053575 - e-mail: Michael.Calmer@xxxxxxxx
--------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
< Previous Next >
Follow Ups
References