<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_apps_KeyChain/tests/AndroidManifest.xml, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/'/>
<entry>
<title>Inspect issuers when deciding on a certificate to display</title>
<updated>2020-03-18T20:09:26+00:00</updated>
<author>
<name>Eran Messeri</name>
<email>eranm@google.com</email>
</author>
<published>2020-03-12T22:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/commit/?id=6f5ada6c4601a7d98eab79b789be8e450c462f4a'/>
<id>6f5ada6c4601a7d98eab79b789be8e450c462f4a</id>
<content type='text'>
To comply with RFC5246, KeyChain activity needs to inspect every
certificate in the certificate chain of a client certificate,
as the issuers list specified by the server could denote any
certificate in the chain.

Add a test to assert that specifying any issuer in the chain would cause
the certificate to be marked presentable, and modify KeyChain to load
and extract all issuers from the chain installed with the certificate.

To get the test running, it's fixed to be a proper instrumentation test
sharing the system UID so it can call code internal to the KeyChain
package.

Also fix broken service logging tests.

Bug: 142043186
Test: atest KeyChainTests
Change-Id: If03a71dcf0d8dc51f00f414c6aaad23b3ef2e952
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To comply with RFC5246, KeyChain activity needs to inspect every
certificate in the certificate chain of a client certificate,
as the issuers list specified by the server could denote any
certificate in the chain.

Add a test to assert that specifying any issuer in the chain would cause
the certificate to be marked presentable, and modify KeyChain to load
and extract all issuers from the chain installed with the certificate.

To get the test running, it's fixed to be a proper instrumentation test
sharing the system UID so it can call code internal to the KeyChain
package.

Also fix broken service logging tests.

Bug: 142043186
Test: atest KeyChainTests
Change-Id: If03a71dcf0d8dc51f00f414c6aaad23b3ef2e952
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding modern KeyChain tests</title>
<updated>2019-08-13T20:11:19+00:00</updated>
<author>
<name>Eran Messeri</name>
<email>eranm@google.com</email>
</author>
<published>2019-08-12T14:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/commit/?id=59a0d34cd1748abbfe1c5992c84c74e037f8993e'/>
<id>59a0d34cd1748abbfe1c5992c84c74e037f8993e</id>
<content type='text'>
The old KeyChain tests had to be manually run, which meant they never
ran and were mostly broken.

Add new, modern KeyChain tests that can be run with atest, as they are
based on instrumentation tests.

In particular:
* Add BasicKeyChainServiceTest which currently includes one test case:
  importing a key and validating access to a key given a grant.
* Removed mentioning of the KeyChainServiceTest as a service from the
  tests' AndroidManifest.xml because there's no reason this service
  should be bound anymore.
* Adding AndroidTest.xml to describe the dependency between the support
  package and the tests: The KeyChainServiceSupport package must be
  installed alongside the test apk as this is a system package that
  is used to manipulate the KeyStore state directly. Its service
  is directly bound.
* Overhaul the AndroidManifest.xml to indicate use of the instrumentation
  test runner.

Bug: 138375478
Test: atest KeyChainTests
Change-Id: If12251b40e5b089e2658788b008ce0a1be062a97
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old KeyChain tests had to be manually run, which meant they never
ran and were mostly broken.

Add new, modern KeyChain tests that can be run with atest, as they are
based on instrumentation tests.

In particular:
* Add BasicKeyChainServiceTest which currently includes one test case:
  importing a key and validating access to a key given a grant.
* Removed mentioning of the KeyChainServiceTest as a service from the
  tests' AndroidManifest.xml because there's no reason this service
  should be bound anymore.
* Adding AndroidTest.xml to describe the dependency between the support
  package and the tests: The KeyChainServiceSupport package must be
  installed alongside the test apk as this is a system package that
  is used to manipulate the KeyStore state directly. Its service
  is directly bound.
* Overhaul the AndroidManifest.xml to indicate use of the instrumentation
  test runner.

Bug: 138375478
Test: atest KeyChainTests
Change-Id: If12251b40e5b089e2658788b008ce0a1be062a97
</pre>
</div>
</content>
</entry>
<entry>
<title>KeyChain testing: Fix KeyChainServiceTest</title>
<updated>2017-11-03T13:48:11+00:00</updated>
<author>
<name>Eran Messeri</name>
<email>eranm@google.com</email>
</author>
<published>2017-11-01T10:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/commit/?id=43fb3695ddc259f12f1fc8b7b6fa13a04dcf2465'/>
<id>43fb3695ddc259f12f1fc8b7b6fa13a04dcf2465</id>
<content type='text'>
Since O, launching the KeyChainServiceTest in the background does not
work since background execution is limited by default.
Add instructions how to work around this for the test.

Additionally, include the component in the intents to launch the
support &amp; keychain services, as Service Intents must be explicit.

Bug: 65624467
Test: Fixed tests.

Change-Id: I8d8a7d7dcc3c85e2b5cd58b0539cdcac062afa7b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since O, launching the KeyChainServiceTest in the background does not
work since background execution is limited by default.
Add instructions how to work around this for the test.

Additionally, include the component in the intents to launch the
support &amp; keychain services, as Service Intents must be explicit.

Bug: 65624467
Test: Fixed tests.

Change-Id: I8d8a7d7dcc3c85e2b5cd58b0539cdcac062afa7b
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing GET_ACCOUNTS permission.</title>
<updated>2016-02-16T23:42:34+00:00</updated>
<author>
<name>Carlos Valdivia</name>
<email>carlosvaldivia@google.com</email>
</author>
<published>2016-02-12T01:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/commit/?id=4b0333ffbf17356539198a1f84fff38df8684609'/>
<id>4b0333ffbf17356539198a1f84fff38df8684609</id>
<content type='text'>
It doesn't appear that GET_ACCOUNTS was ever needed in KeyChain and it is going
to be non-functional in targetSdkVersion &gt;= 24.

Bug: 21901286
Change-Id: Id393d884e1dc5f67863bb0146c589aee3abd9091
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It doesn't appear that GET_ACCOUNTS was ever needed in KeyChain and it is going
to be non-functional in targetSdkVersion &gt;= 24.

Bug: 21901286
Change-Id: Id393d884e1dc5f67863bb0146c589aee3abd9091
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obsolete KeyChain references to USE_CREDENTIALS (1 of 2)</title>
<updated>2012-03-01T23:14:06+00:00</updated>
<author>
<name>Brian Carlstrom</name>
<email>bdc@google.com</email>
</author>
<published>2012-03-01T23:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/commit/?id=db6218b771e86f77740532fc86c6ae4081eacd75'/>
<id>db6218b771e86f77740532fc86c6ae4081eacd75</id>
<content type='text'>
Change-Id: I3838e8cead176043d1066802ff62ba2f4930f579
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3838e8cead176043d1066802ff62ba2f4930f579
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding KeyChainService and KeyChainActivity</title>
<updated>2011-04-23T00:15:31+00:00</updated>
<author>
<name>Brian Carlstrom</name>
<email>bdc@google.com</email>
</author>
<published>2011-04-11T16:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_KeyChain/commit/?id=3e6251dedc92654476c70bdc413f24a4b31ce6a4'/>
<id>3e6251dedc92654476c70bdc413f24a4b31ce6a4</id>
<content type='text'>
Change-Id: I6c862d3e687cf80fb882966adb3245f2244244fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6c862d3e687cf80fb882966adb3245f2244244fe
</pre>
</div>
</content>
</entry>
</feed>
