unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Proxy authentication
@ 2018-01-23 20:40 Jorge
  2018-01-24  8:31 ` Konrad Hinsen
  2018-01-31 14:58 ` Jorge
  0 siblings, 2 replies; 3+ messages in thread
From: Jorge @ 2018-01-23 20:40 UTC (permalink / raw)
  To: Help-Guix

Hi.  I am trying to use Guix at my workplace, where we have mandatory
proxy.  In my foreign distribution (Debian 9), I have configured Gnome
for automatic proxy configuration (PAC file) and, for applications that
do not integrate with Gnome’s proxy configuration (such as Emacs), I
have set up ntlmaps (localhost:5865).  I have tried to make Guix use
ntlmaps, but guix pull fails with hash mismatches.  For example:
--8<---------------cut here---------------start------------->8---
Starting download of /gnu/store/zdahqsfvra1r2ic61x1blh3i3p7xsax6-libpng-1.6.29.tar.xz
From http://downloads.sourceforge.net/project/libpng/libpng16/1.6.29/libpng-1.6.29.tar.xz...
following redirection to `https://sourceforge.net/projects/libpng/files/'...
warning: 'https_proxy' is ignored
 ....29.tar.xz  226KiB                243KiB/s 00:01 [##################] 100.0%
sha256 hash mismatch for output path `/gnu/store/zdahqsfvra1r2ic61x1blh3i3p7xsax6-libpng-1.6.29.tar.xz'
  expected: 0fgjqp7x6jynacmqh6dj72cn6nnf6yxjfqqqfsxrx0pyx22bcia2
  actual:   1kwj40d23c25r9q67vk9giqrq7vp4zsrxvrzxm45zpy01nbhnxpa
--8<---------------cut here---------------end--------------->8---

Now I want to make Guix talk to the corporate proxy server directly (not
mediated by ntlmaps) but then it needs to authenticate.  I could
temporarily put my login and password in the proxy URL in
/etc/systemd/system/guix-daemon.service.d/override.conf, and erase it
after using Guix.  I am afraid, though, that these environment variables
could be logged.  So, is it secure to temporarily put proxy login and
password in override.conf, or could they be inadvertently logged?

Regards

- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-31 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-23 20:40 Proxy authentication Jorge
2018-01-24  8:31 ` Konrad Hinsen
2018-01-31 14:58 ` Jorge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).