Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to auto generate p12 files? #12

Closed
thebetterjort opened this issue Sep 28, 2018 · 4 comments
Closed

Method to auto generate p12 files? #12

thebetterjort opened this issue Sep 28, 2018 · 4 comments

Comments

@thebetterjort
Copy link

What is the recomended solutuion to generating P12 files? I can't expect my users to generate in Adobe and export to make use of this library. What were you ideas on how this could sign documents automatically from many different users?

@vbuch
Copy link
Owner

vbuch commented Sep 28, 2018

You are missing the purpose of this lib It uses a p12 file but that's just one way to provide a pair of public and private key. If your uses need to sign documents, they Will need to give you such a pair. A p12/pfx file is a convinient way to do that.

@thebetterjort
Copy link
Author

Thanks for your response and your library. How did you expect this library not to be a dep?

@vbuch
Copy link
Owner

vbuch commented Sep 28, 2018

It's really a small amount of code currently. I imagine people will copy, paste and play around. Then, if they need to, want to and have the time, they may make a PR.
What you are asking makes sense, so I suppose having sign() accept keys in a way other than p12 is a good idea as well. I imagine this method's params will change from buffer, buffer, opts to just buffer, opts having p12Buffer as one of those opts.

@vbuch
Copy link
Owner

vbuch commented Nov 5, 2019

No activity. No further communication expected on the topic. Closing.

@vbuch vbuch closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants