Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fastlane match passphrase forgotten

I am working an iOS project that’s being deployed with Fastlane. However, during the Fastlane match, I don’t have the password to decrypt the repo.

Here is the error message :

bad decrypt - Couldn't decrypt the repo, please make sure you enter the right password!

How could I reset it ..? Looking at community's questions, I tried several manipulations, like Fastlane nuke, but the current password is asked.

Here is my MatchFile :

git_url "https://xxx/_git/xxx"
git_branch "master"
clone_branch_directly true
force_for_new_devices true

type "development"

username "[email protected]" 

Thanks,

like image 552
ClémentFvr Avatar asked May 14 '19 12:05

ClémentFvr


People also ask

Is Fastlane match secure?

This is an additional layer of security: each of the files will be encrypted using openssl . Make sure to remember the password, as you'll need it when you run match on a different machine. To set the passphrase to decrypt your profiles using an environment variable (and avoid the prompt) use MATCH_PASSWORD .

How does Fastlane match work?

What is fastlane match? A new approach to iOS code signing: Share one code signing identity across your development team to simplify your codesigning setup and prevent code signing issues. match creates all required certificates & provisioning profiles and stores them in a separate git repository.


Video Answer


1 Answers

You can create a new commit to the repo that deletes all the files and folder, then you are also rid of the passphrase. It is only used to encrypt the actual file in the repository.

Then you can create new credentials by using match nuke, and then match again.

Note: If you are using Enterprise profiles, you don't want to do this as it will break the apps that are currently installed on your user's devices.

like image 116
janpio Avatar answered Oct 12 '22 07:10

janpio