@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Minor, correct spelling of PKCS8 key format

Summary: I faked this out locally because of the OSX stuff and goofed the
key format spelling.

Auditors: btrahan

+3 -3
+2 -2
src/applications/auth/sshkey/PhabricatorAuthSSHPublicKey.php
··· 107 107 return $key; 108 108 } 109 109 110 - public function toPCKS8() { 110 + public function toPKCS8() { 111 111 112 112 // TODO: Put a cache in front of this. 113 113 114 114 $tmp = new TempFile(); 115 115 Filesystem::writeFile($tmp, $this->getEntireKey()); 116 116 list($pem_key) = execx( 117 - 'ssh-keygen -e -m pcks8 -f %s', 117 + 'ssh-keygen -e -m PKCS8 -f %s', 118 118 $tmp); 119 119 unset($tmp); 120 120
+1 -1
src/applications/conduit/controller/PhabricatorConduitAPIController.php
··· 224 224 225 225 $raw_key = idx($metadata, 'auth.key'); 226 226 $public_key = PhabricatorAuthSSHPublicKey::newFromRawKey($raw_key); 227 - $ssl_public_key = $public_key->toPCKS8(); 227 + $ssl_public_key = $public_key->toPKCS8(); 228 228 229 229 // First, verify the signature. 230 230 try {