Merge branch 'master' of https://github.com/danog/MadelineProto
This commit is contained in:
commit
f9147b8c18
@ -14,10 +14,8 @@ addons:
|
|||||||
before_script:
|
before_script:
|
||||||
- composer update --dev
|
- composer update --dev
|
||||||
script:
|
script:
|
||||||
- "./testing.php"
|
- "tests/testing.php"
|
||||||
before_install:
|
before_install:
|
||||||
- openssl aes-256-cbc -K $encrypted_223c5fe08d29_key -iv $encrypted_223c5fe08d29_iv
|
|
||||||
-in enc.tar.xz.enc -out enc.tar.xz -d
|
|
||||||
- openssl aes-256-cbc -K $encrypted_0b05103af24b_key -iv $encrypted_0b05103af24b_iv
|
- openssl aes-256-cbc -K $encrypted_0b05103af24b_key -iv $encrypted_0b05103af24b_iv
|
||||||
-in enc.tar.xz.enc -out enc.tar.xz -d
|
-in enc.tar.xz.enc -out enc.tar.xz -d
|
||||||
- tar -xJpf enc.tar.xz
|
- tar -xJpf enc.tar.xz
|
||||||
|
BIN
enc.tar.xz.enc
BIN
enc.tar.xz.enc
Binary file not shown.
@ -18,6 +18,7 @@ class RSA
|
|||||||
use \danog\MadelineProto\Tools;
|
use \danog\MadelineProto\Tools;
|
||||||
|
|
||||||
public $keydata = [];
|
public $keydata = [];
|
||||||
|
|
||||||
public function __construct($rsa_key)
|
public function __construct($rsa_key)
|
||||||
{
|
{
|
||||||
\danog\MadelineProto\Logger::log('Istantiating \phpseclib\Crypt\RSA...', LOGGER::ULTRA_VERBOSE);
|
\danog\MadelineProto\Logger::log('Istantiating \phpseclib\Crypt\RSA...', LOGGER::ULTRA_VERBOSE);
|
||||||
@ -47,6 +48,7 @@ class RSA
|
|||||||
),
|
),
|
||||||
-8
|
-8
|
||||||
))[0];
|
))[0];
|
||||||
|
|
||||||
return $this->keydata;
|
return $this->keydata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user