Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | protected function execute(InputInterface $input, OutputInterface $output) |
||
23 | { |
||
24 | $signingKey = SigningSecretKey::generate(); |
||
25 | $sealKey = SealingSecretKey::generate(); |
||
26 | $output->writeln('Copy generated configuration below into sapient.yml configuration file.'); |
||
27 | $output->writeln(<<<CONFIG |
||
28 | sapient: |
||
29 | sign: |
||
30 | public: '{$signingKey->getPublickey()->getString()}' |
||
31 | private: '{$signingKey->getString()}' |
||
32 | host: ~ |
||
33 | seal: |
||
34 | public: '{$sealKey->getPublickey()->getString()}' |
||
35 | private: '{$sealKey->getString()}' |
||
36 | sealing_public_keys: ~ |
||
43 |