<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-apple/Sources/Shared, branch am/codable-key</title>
<subtitle>iOS and macOS apps for WireGuard</subtitle>
<id>https://git.zx2c4.com/wireguard-apple/atom/Sources/Shared?h=am%2Fcodable-key</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-apple/atom/Sources/Shared?h=am%2Fcodable-key'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/'/>
<updated>2021-09-23T04:11:19Z</updated>
<entry>
<title>Model: migrate iOS 14 keychain references to iOS 15 format</title>
<updated>2021-09-23T04:11:19Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-09-23T04:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=03a59ff38e96fb3bb5dde2f15fe42198d1dfb995'/>
<id>urn:sha1:03a59ff38e96fb3bb5dde2f15fe42198d1dfb995</id>
<content type='text'>
Keychain references used to be bijective, but with the change in format,
Apple tried to be too clever, and references are no longer bijective.
This lead to us deleting keychain entries, which in turn emptied out
people's configs upon upgrading to iOS 15. Disaster!

Fix this by detecting the change in format and saving the new password
reference. We still rely on this being bijective moving forward;
hopefully this bug won't repeat itself. It would be nice to not rely on
that property, but doing so without grinding startup to a halt isn't
obviously done, given how slow the keychain accesses are and how limited
the API is.

Reported-by: Eddie &lt;stunnel@attglobal.net&gt;
Reported-by: Anatoli &lt;me@anatoli.ws&gt;
Reported-by: Alan Graham &lt;alan@meshify.app&gt;
Reported-by: Jacob Wilder &lt;oss@jacobwilder.org&gt;
Reported-by: Miguel Arroz &lt;miguel.arroz@gmail.com&gt;
Reported-by: Reid Rankin &lt;reidrankin@gmail.com&gt;
Reported-by: Fabien &lt;patate.cosmique@pm.me&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>WireGuardApp: use file to communicate launch-by-login-helper</title>
<updated>2021-09-22T17:22:44Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-09-22T17:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=7171df84fa57e577d5da3b17946a334e330abcb0'/>
<id>urn:sha1:7171df84fa57e577d5da3b17946a334e330abcb0</id>
<content type='text'>
Apple event params are broken on recent macOS versions.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>Keychain: remove class constraint when copying</title>
<updated>2021-09-22T14:51:25Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-09-22T14:51:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=d882a486a9d0370bf7d4a34580907e30eb6319f2'/>
<id>urn:sha1:d882a486a9d0370bf7d4a34580907e30eb6319f2</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>Global: bump copyright year</title>
<updated>2021-06-17T14:56:46Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-06-17T14:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=13b720442d47b67a18d6841aa34569633a22b458'/>
<id>urn:sha1:13b720442d47b67a18d6841aa34569633a22b458</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>UI: use NotificationToken to properly clean up observers</title>
<updated>2020-12-22T11:46:30Z</updated>
<author>
<name>Andrej Mihajlov</name>
<email>and@mullvad.net</email>
</author>
<published>2020-12-22T10:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=631286e2d12670e44ff9c74f9608ea740773228a'/>
<id>urn:sha1:631286e2d12670e44ff9c74f9608ea740773228a</id>
<content type='text'>
When the variable goes out of scope, the observer isn't removed unless
an explicit call is made to the token.

Signed-off-by: Andrej Mihajlov &lt;and@mullvad.net&gt;
</content>
</entry>
<entry>
<title>Keychain: prevent call to stat() when determining appex path</title>
<updated>2020-12-22T11:46:14Z</updated>
<author>
<name>Andrej Mihajlov</name>
<email>and@mullvad.net</email>
</author>
<published>2020-12-21T16:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=74cd7041dcd78261832b04fff92a6e1219be345d'/>
<id>urn:sha1:74cd7041dcd78261832b04fff92a6e1219be345d</id>
<content type='text'>
Signed-off-by: Andrej Mihajlov &lt;and@mullvad.net&gt;
</content>
</entry>
<entry>
<title>global: support DNS search domains</title>
<updated>2020-12-15T14:54:12Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-12-15T12:49:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=9231c03513e480a0a6f7ed2aa86f69e47d078774'/>
<id>urn:sha1:9231c03513e480a0a6f7ed2aa86f69e47d078774</id>
<content type='text'>
This has been supported by Windows and Linux for quite some time. Add
support here for iOS and macOS.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>global: bump year in header</title>
<updated>2020-12-04T11:15:29Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-12-04T11:15:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=90acf2b2204ef2281dd9b716cb5196bea68234a1'/>
<id>urn:sha1:90acf2b2204ef2281dd9b716cb5196bea68234a1</id>
<content type='text'>
A bit overdue, but better late than never.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>WireGuardApp: Remove backend version call in Logger.swift &amp; extract wireguard-go version script from network extension targets</title>
<updated>2020-12-04T10:50:44Z</updated>
<author>
<name>Andrej Mihajlov</name>
<email>and@mullvad.net</email>
</author>
<published>2020-12-04T10:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=b4ebe2440f83b90e597603c9ce21ef293d016396'/>
<id>urn:sha1:b4ebe2440f83b90e597603c9ce21ef293d016396</id>
<content type='text'>
Signed-off-by: Andrej Mihajlov &lt;and@mullvad.net&gt;
</content>
</entry>
<entry>
<title>Keychain: Avoid roundtrip via items when accessing item label (stored in kSecAttrLabel)</title>
<updated>2020-12-04T08:39:09Z</updated>
<author>
<name>Andrej Mihajlov</name>
<email>and@mullvad.net</email>
</author>
<published>2020-12-02T17:16:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-apple/commit/?id=bcc34e0bb63caff1e9f3de04a60fd6ad33388f4b'/>
<id>urn:sha1:bcc34e0bb63caff1e9f3de04a60fd6ad33388f4b</id>
<content type='text'>
Signed-off-by: Andrej Mihajlov &lt;and@mullvad.net&gt;
</content>
</entry>
</feed>
