Check `acceptedIssuers` return value

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile, security

Research direction

Start with okhttp’s BasicCertificateChainCleaner and the CustomCertManager implementation; compare acceptedIssuers behavior with X509ExtendedTrustManager and AndroidCertificateChainCleaner. Done means documenting the required behavior and reaching a decision on whether to return issuers and/or implement the extended interface, with verification covering that decision.

Written by the indexing model from the issue text.

Description

refactoring

okhttp BasicCertificateChainCleaner uses the value of CustomCertManager.acceptedIssuers, but we don't return anything.

We should find out what BasicCertificateChainCleaner exactly does and why and whether we should return something in acceptedIssuers.

It may also be useful to implement X509ExtendedTrustManager for Android. Then okhttp would use AndroidCertificateChainCleaner.

Dominant language
Kotlin
Stars
27
Forks
11
Avg merge
1d 1h
Merged PRs (30d)
4

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitfireAT/cert4android

All issues in bitfireAT/cert4android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.