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

fixes #3332

Closes #3332

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