Skip to content
Snippets Groups Projects
Commit 152691cf authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3332

Closes #3332

Merge request studip/studip!2262
parent d99fc722
No related branches found
No related tags found
Loading
......@@ -47,8 +47,8 @@ class Keys extends Command
$this->storeKeyContentsToFile($encryptionKey, $this->generateEncryptionKey());
$keys = RSA::createKey(4096);
$this->storeKeyContentsToFile($publicKey, $keys['publickey']);
$this->storeKeyContentsToFile($privateKey, $keys['privatekey']);
$this->storeKeyContentsToFile($publicKey, $keys->getPublicKey()->toString('PKCS1'));
$this->storeKeyContentsToFile($privateKey, $keys->toString('PKCS1'));
$io->info('Schlüsseldateien erfolgreich angelegt.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment