Auth: Support PKCS#1 RSA Private Keys for mTLS

Open
#2,100 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
java

Research direction

Start at SecurityUtils.createMtlsKeyStore and trace how the existing -----BEGIN PRIVATE KEY----- PKCS#8 input is loaded. Add equivalent support for -----BEGIN RSA PRIVATE KEY----- PKCS#1 input while retaining PKCS#8 behavior, then verify both key formats can be used for Java mTLS.

Written by the indexing model from the issue text.

Description

priority: p3 type: feature request

The Java mTLS key loading (SecurityUtils.createMtlsKeyStore) currently only supports PKCS#8 format (-----BEGIN PRIVATE KEY-----) private keys. This issue requests adding support for the older PKCS#1 format (-----BEGIN RSA PRIVATE KEY-----) to align with Go and Python implementations.

Dominant language
Java
Stars
1.4k
Forks
476
Avg merge
10h 47m
Merged PRs (30d)
3

Getting set up

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 googleapis/google-http-java-client

All issues in googleapis/google-http-java-client

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.