wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Cross compiling wireguard-go for ARM with utiliities
@ 2018-07-26 16:12 Jacob Schooley
  2018-07-26 16:16 ` Jason A. Donenfeld
  0 siblings, 1 reply; 9+ messages in thread
From: Jacob Schooley @ 2018-07-26 16:12 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

I'm trying to run wireguard on an old embedded device. I have a tun module
for it, but the kernel is too old for the wireguard module, so I compiled
wireguard-go and it runs and creates the interface. However, it looks like
I need the the wg utility to configure the interface with the keys, and
wg-quick to use a config file, but I can't seem to find a way to easily
compile those without also compiling the module. Is there a way to do that?
Or will I have to pull out my old raspberry pi and update it just to get
those utilities?

[-- Attachment #2: Type: text/html, Size: 564 bytes --]

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

* Re: Cross compiling wireguard-go for ARM with utiliities
  2018-07-26 16:12 Cross compiling wireguard-go for ARM with utiliities Jacob Schooley
@ 2018-07-26 16:16 ` Jason A. Donenfeld
  2018-07-26 23:02   ` Android Update wants Camera Permissions John Huttley
  0 siblings, 1 reply; 9+ messages in thread
From: Jason A. Donenfeld @ 2018-07-26 16:16 UTC (permalink / raw)
  To: Jacob Schooley; +Cc: WireGuard mailing list

cd src/tools
make

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

* Android Update wants Camera Permissions
  2018-07-26 16:16 ` Jason A. Donenfeld
@ 2018-07-26 23:02   ` John Huttley
  2018-07-26 23:11     ` Jason A. Donenfeld
  2018-07-26 23:15     ` Denis Kisselev
  0 siblings, 2 replies; 9+ messages in thread
From: John Huttley @ 2018-07-26 23:02 UTC (permalink / raw)
  To: wireguard

I just updated. It wanted Camera Access.

Odd..

--John

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

* Re: Android Update wants Camera Permissions
  2018-07-26 23:02   ` Android Update wants Camera Permissions John Huttley
@ 2018-07-26 23:11     ` Jason A. Donenfeld
  2018-07-27  7:10       ` Martin Eskdale Moen
  2018-07-26 23:15     ` Denis Kisselev
  1 sibling, 1 reply; 9+ messages in thread
From: Jason A. Donenfeld @ 2018-07-26 23:11 UTC (permalink / raw)
  To: John Huttley; +Cc: WireGuard mailing list

It now supports scanning QR codes.

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

* Re: Android Update wants Camera Permissions
  2018-07-26 23:02   ` Android Update wants Camera Permissions John Huttley
  2018-07-26 23:11     ` Jason A. Donenfeld
@ 2018-07-26 23:15     ` Denis Kisselev
  2018-07-26 23:21       ` Jason A. Donenfeld
  1 sibling, 1 reply; 9+ messages in thread
From: Denis Kisselev @ 2018-07-26 23:15 UTC (permalink / raw)
  To: John Huttley, wireguard

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

It looks like they recently added scanning QR codes as a way to import tunnel definitions: https://git.zx2c4.com/wireguard-android/commit/?id=2087a10f5533e4b61811a3cb4e5019dcf2560d81

That permission should probably only be requested as-needed but I suspect that wg is targeting an older Android API that doesn't expose that capability.


________________________________
From: WireGuard <wireguard-bounces@lists.zx2c4.com> on behalf of John Huttley <john@mib-infotech.co.nz>
Sent: Thursday, July 26, 2018 4:02 PM
To: wireguard@lists.zx2c4.com
Subject: Android Update wants Camera Permissions

I just updated. It wanted Camera Access.

Odd..

--John

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.zx2c4.com%2Fmailman%2Flistinfo%2Fwireguard&amp;data=02%7C01%7C%7C7d8b0abc06af486ba71508d5f34be34d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636682429617130077&amp;sdata=CXPVASw1Rh8R%2BK8W1fkg3Ub6X0Uk0FnColak%2F%2B5eCe4%3D&amp;reserved=0

[-- Attachment #2: Type: text/html, Size: 2708 bytes --]

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

* Re: Android Update wants Camera Permissions
  2018-07-26 23:15     ` Denis Kisselev
@ 2018-07-26 23:21       ` Jason A. Donenfeld
  2018-07-26 23:25         ` Eric Kuck
  0 siblings, 1 reply; 9+ messages in thread
From: Jason A. Donenfeld @ 2018-07-26 23:21 UTC (permalink / raw)
  To: Denis Kisselev; +Cc: WireGuard mailing list, Eric Kuck

[adding Eric and Harsh to the CC]

On Fri, Jul 27, 2018 at 1:15 AM Denis Kisselev <denis@dkisselev.net> wrote:
> That permission should probably only be requested as-needed but I suspect that wg is targeting an older Android API that doesn't expose that capability.

It was my understanding that only Android 4 would prompt at install
time and Android 5+ would only prompt when actually used. Perhaps I'm
mistaken?

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

* Re: Android Update wants Camera Permissions
  2018-07-26 23:21       ` Jason A. Donenfeld
@ 2018-07-26 23:25         ` Eric Kuck
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Kuck @ 2018-07-26 23:25 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

Yes, that is correct. It's requested at time of first use only.

On Thu, Jul 26, 2018, 6:21 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> [adding Eric and Harsh to the CC]
>
> On Fri, Jul 27, 2018 at 1:15 AM Denis Kisselev <denis@dkisselev.net>
> wrote:
> > That permission should probably only be requested as-needed but I
> suspect that wg is targeting an older Android API that doesn't expose that
> capability.
>
> It was my understanding that only Android 4 would prompt at install
> time and Android 5+ would only prompt when actually used. Perhaps I'm
> mistaken?
>

[-- Attachment #2: Type: text/html, Size: 928 bytes --]

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

* Re: Android Update wants Camera Permissions
  2018-07-26 23:11     ` Jason A. Donenfeld
@ 2018-07-27  7:10       ` Martin Eskdale Moen
  2018-07-27 13:54         ` Laszlo KERTESZ
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Eskdale Moen @ 2018-07-27  7:10 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

This is amazing, thank you.

On Fri, Jul 27, 2018 at 12:12 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> It now supports scanning QR codes.
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>

[-- Attachment #2: Type: text/html, Size: 717 bytes --]

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

* Re: Android Update wants Camera Permissions
  2018-07-27  7:10       ` Martin Eskdale Moen
@ 2018-07-27 13:54         ` Laszlo KERTESZ
  0 siblings, 0 replies; 9+ messages in thread
From: Laszlo KERTESZ @ 2018-07-27 13:54 UTC (permalink / raw)
  To: martinmoen; +Cc: wireguard

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

Wow. It actually works!
I tested it with qrencode and i was able to import the profile from my
headless router via ssh using only a terminal!
Just install qrencode and run:

cat profile.conf | qrencode -t UTF8 -o -


And scan the result.

Well done.

On Fri, Jul 27, 2018 at 10:12 AM Martin Eskdale Moen <martinmoen@gmail.com>
wrote:

> This is amazing, thank you.
>
> On Fri, Jul 27, 2018 at 12:12 AM Jason A. Donenfeld <Jason@zx2c4.com>
> wrote:
>
>> It now supports scanning QR codes.
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>

[-- Attachment #2: Type: text/html, Size: 1862 bytes --]

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

end of thread, other threads:[~2018-07-27 13:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26 16:12 Cross compiling wireguard-go for ARM with utiliities Jacob Schooley
2018-07-26 16:16 ` Jason A. Donenfeld
2018-07-26 23:02   ` Android Update wants Camera Permissions John Huttley
2018-07-26 23:11     ` Jason A. Donenfeld
2018-07-27  7:10       ` Martin Eskdale Moen
2018-07-27 13:54         ` Laszlo KERTESZ
2018-07-26 23:15     ` Denis Kisselev
2018-07-26 23:21       ` Jason A. Donenfeld
2018-07-26 23:25         ` Eric Kuck

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 NNTP newsgroup(s).