Anton Sviridenko

Results 75 comments of Anton Sviridenko

Started to work on PHP module, 5 API functions are implemented so far :) https://github.com/rnpgp/php-rnp

Any ideas about password provider implementations for PHP? :) If PHP script runs as a command line, it can use stdin password provider, like default in CLI, but most frequent...

Yeah, it appears callbacks are available in PHP. https://www.php.net/manual/en/language.types.callable.php Btw, how it is done in other language bindings?

Let's talk about the license of this module. If we want it to be included into the PECL, "The PHP License, version 3.01" is preferred. https://pecl.php.net/account-request.php

@ronaldtse ok, added LICENSE file with Ribose license text https://github.com/rnpgp/php-rnp/blob/main/LICENSE

So, minimal amount of required APIs for key generation/sign/verify/encrypt/decrypt operations is implemented so far. PHP API looks like this now - https://github.com/rnpgp/php-rnp/blob/main/rnp.stub.php. Time to write some PHP documentation :)

Keys are referenced using fingerprint strings or arrays containing such strings (`$keys_fp, $recipient_keys_fp, return value of rnp_op_generate_key()`)

@ronaldtse Did you receive any response from PECL-Dev? Probably you need to subscribe to this mailing list first, your email is not visible in mailing list archives, probably it did...

@ronaldtse any news about the PECL account?

What version number should we assign to the first release of this module? PECL requires versioned releases as I see.