Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-cyg should check if required executables are provided by cygwin itself #26

Open
wrobelda opened this issue Oct 2, 2017 · 6 comments

Comments

@wrobelda
Copy link

wrobelda commented Oct 2, 2017

I have GnuPG installed in C:\Program Files which is picked up by apt-cyg if gnupg is not available from within cygwin. This causes apt-cyg to fail, since the external gpg.exe is not aware of cygwin's System V folder structure.

apt-cyg should check during the initial check whether the tools required are provided by cygwin itself.

@kou1okada
Copy link
Owner

kou1okada commented Apr 25, 2018

Hmm,,,
Why do you avoid to install gnupg on cygwin?
I think that is important to verify signatures for security.
Thus, I strongly recommend to install gnupg on cygwin, if you want to use apt-cyg of my fork.

But, my fork provides -X option for peoples who temporary can't use gnupg on cygwin or who don't want to use gnupg on cygwin.
My suggestion for such peoples is below:

alias apt-cyg='apt-cyg -X'

But, it is not a good idea for security.

@E3V3A
Copy link

E3V3A commented Oct 19, 2018

Why do you avoid to install gnupg on cygwin?

Proabably because the Cygwin packages of gnupg always used to be outdated or dysfunctional.

@kou1okada
Copy link
Owner

kou1okada commented Oct 19, 2018

Is it outdated, really?

Current version of GnuPG seems:

Name Version Date
GnuPG 2.2.10 2018-08-30
GnuPG 1.4 1.4.23 2018-06-11

See: https://gnupg.org/download/

And current gnupg package of cygwin is:

$ apt-cyg download gnupg gnupg2
$ ls -lgo --time-style="+%F %T"
-rw-r--r-- 1 1147816 2018-08-03 23:58:46 gnupg-1.4.23-1.tar.xz
-rw-r--r-- 1 2365240 2018-08-31 00:32:06 gnupg2-2.2.10-1.tar.xz

It seems up to date.
Hmm,,,

@E3V3A
Copy link

E3V3A commented Nov 17, 2018

Yep, now it is, but a 6 months ago it wasn't.

@E3V3A
Copy link

E3V3A commented Dec 9, 2018

I think you can close this issue.

@kou1okada
Copy link
Owner

Hmm,,,
This issue relates to issue #41.
Windows 10 1803 has win32 native tar and curl, but it doesn't have wget at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants