Skip to content

Update documentation for "keytool -genkey -v -keystore" from JKS to PKCS12 #10798

Open
@tdkehoe

Description

@tdkehoe

Steps to Reproduce

The documentation Build and release an Android app says to create an upload keystore from the CLI:

keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload

This command prompts a warning

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /Users/TDK/upload-keystore.jks -destkeystore /Users/TDK/upload-keystore.jks -deststoretype pkcs12".

Perhaps the documentation should be changed to suggest using the latter command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev.deploymentRelates to deploying Flutter app section of Flutter.deve1-hoursEffort: < 8 hrsfrom.flutter-sdkReported via move from flutter/flutterp2-mediumNecessary but not urgent concern. Resolve when possible.target.AndroidTarget apps on the Android Platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions