WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* Security of Android QuickSettings Tile
@ 2019-11-06 21:53 Simon
  2019-11-27 10:36 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Simon @ 2019-11-06 21:53 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 463 bytes --]

Hi all,

Has there been any discussion on forcing the Quick Settings tile for
Android to check if the device is unlocked prior to allowing interaction
with tunnels?

According to
https://developer.android.com/reference/android/service/quicksettings/TileService
-- isLocked() can be used to ensure the device is unlocked by an
authenticated user before initiating or terminating existing tunnels.

Attached is a crude patch which adds this functionality.

- Simon

[-- Attachment #1.2: Type: text/html, Size: 705 bytes --]

<div dir="ltr"><div>Hi all,</div><div><br></div>Has there been any discussion on forcing the Quick Settings tile for Android to check if the device is unlocked prior to allowing interaction with tunnels?<div><div><br></div><div>According to <a href="https://developer.android.com/reference/android/service/quicksettings/TileService" target="_blank">https://developer.android.com/reference/android/service/quicksettings/TileService</a> -- isLocked() can be used to ensure the device is unlocked by an authenticated user before initiating or terminating existing tunnels.</div></div><div><br></div><div>Attached is a crude patch which adds this functionality.</div><div><br></div><div>- Simon</div></div>

[-- Attachment #2: Force_QuickToggle_Secure.patch --]
[-- Type: application/x-patch, Size: 1991 bytes --]

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: Security of Android QuickSettings Tile
  2019-11-06 21:53 Security of Android QuickSettings Tile Simon
@ 2019-11-27 10:36 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2019-11-27 10:36 UTC (permalink / raw)
  To: Simon; +Cc: WireGuard mailing list

Nice idea. More simply implemented here:
https://git.zx2c4.com/wireguard-android/commit/?id=cc82f29d296aa51f44d295a855762d7f9543cf93
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-06 21:53 Security of Android QuickSettings Tile Simon
2019-11-27 10:36 ` Jason A. Donenfeld

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git