GithubHelp home page GithubHelp logo

Comments (6)

singpolyma avatar singpolyma commented on August 14, 2024

Yes, you will need to implement https://tools.ietf.org/html/rfc3156 yourself, though, as I don't have that in here yet. You should be able to use the encryption and enarmoring functions from this library to create the pieces needed for the encoding

from openpgp-php.

fabacab avatar fabacab commented on August 14, 2024

Okay, thank you for the pointer! :) This is not something I can do myself quickly because I am not skilled enough but it is a good excuse/exercise to improve.

from openpgp-php.

DanielRuf avatar DanielRuf commented on August 14, 2024

https://github.com/DanielRuf/honeypot-scripts/blob/7a8b0daf5d57f27ab9ab164e6672af490d07b472/upload_mail.php#L30-L41

Just in case someone else stumbles into this issue here. ;-) You should not implement this yourself.

S/MIME is different from OpenPGP, these are two solutions, OpenPGP should be ok.
http://security.stackexchange.com/questions/7874/how-does-pgp-differ-from-s-mime

from openpgp-php.

singpolyma avatar singpolyma commented on August 14, 2024

@DanielRuf No one said anything about S/MIME.

from openpgp-php.

singpolyma avatar singpolyma commented on August 14, 2024

@DanielRuf The example you pasted looks like it's separately encrypting each attachment and attaching encrypted files. Unless I'm misreading the code, which I might be. PGP/MIME will provide a much better user experience.

from openpgp-php.

DanielRuf avatar DanielRuf commented on August 14, 2024

Okay, but so far this should work with my example code which just uses another library (but already tested it with openpgp-php and it worked).

from openpgp-php.

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.