GithubHelp home page GithubHelp logo

Comments (7)

mbechler avatar mbechler commented on August 17, 2024

And another one in pkdecrypt: Looks like gnupg now expects padding if not indicated otherwise (making decryption fail).

@@ -1283,6 +1285,7 @@
 				&ptext_len
 			)
 		)) != GPG_ERR_NO_ERROR ||
+		(error = assuan_write_status (ctx, "PADDING", "0")) != GPG_ERR_NO_ERROR ||
 		(error = assuan_send_data(ctx, ptext, ptext_len)) != GPG_ERR_NO_ERROR
 	) {
 		goto cleanup;

from gnupg-pkcs11-scd.

alonbl avatar alonbl commented on August 17, 2024

from gnupg-pkcs11-scd.

alonbl avatar alonbl commented on August 17, 2024

Hi,
Can you please checkout gnupg-2.1 branch and see if it works for you?
Thanks!

from gnupg-pkcs11-scd.

mbechler avatar mbechler commented on August 17, 2024

Thanks for your work. Sorry for the delay.

The corruption while signing is gone but now produces unsupported algorithm as we get into the first branch (hash parameter set) and the hash size won't match as the OID prefix is already included.

Patch adding explicit branches for these cases
gnupg-pkcs11-scd-hashcomp.patch.txt

from gnupg-pkcs11-scd.

alonbl avatar alonbl commented on August 17, 2024

from gnupg-pkcs11-scd.

alonbl avatar alonbl commented on August 17, 2024

Merged, can I release?

from gnupg-pkcs11-scd.

mbechler avatar mbechler commented on August 17, 2024

Seems fine to me. I haven't seen any more issues with the patched version. Thanks.

from gnupg-pkcs11-scd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.