Yury Strozhevsky

Results 70 comments of Yury Strozhevsky

Should aware you that implementing of decoding REAL numbers could be a mess :) Already done this on C++ and may say it for sure.

Of course same should be done for "decrypt" function.

We need to support the HMAC since Chrome and Firefox are supporting it. Also for PKIjs the algorithm is necessary for encryption cases.

Just a hint: [ByteStream.js](https://github.com/PeculiarVentures/ByteStream.js) has class BitStream which supports right and left shifting for unlimited data.

Now we the latest changes in ASN1.js and pvutils you would be able to get string representation like this: ```javascript const serialNumberRepresentation = certificate.serialNumber.valueBlock.toString(); ``` Integer could be arbitrary in...

@colourful-land Frankly speaking I do not remember why I made the `getCorrectBuffer`. Most probably it is an issue in `fs.readFileSync`. I do not have a time to investigate it again....

@xbqian There were a number of bugs related to rollup in the past. I did not check all in details but I strongly bet it is a bug in rollup....

@lukastaegert Thanks for explanations, I will try to find a better way, but for now I moved PKIjs to older Rollup versions. @xbqian I moved PKIjs to older Rollup packages...

I have PER in mind but at the moment do not have any estimates regarding implementation.

@koolsys Have you seen [this example](https://github.com/PeculiarVentures/PKI.js/tree/master/examples/SMIMEEncryptionExample)? 1. I do like you to rename example to something like `SMIMESignedEncryptComplexExample` because in fact all your data is not a pure CMS, but...