Sign and verify in SMIME format
In some project, I found the need to use SMIME format https://www.ietf.org/rfc/rfc3851.txt, basically is an standard used to wrap a message together with its signature using a certificate (usually X509). Ensemble don't have a single class to do that but inside the Ensemble installation we have the openssl utility, so in this example I use the "openssl smime" command to sign or verify a message.
The example has two Business Process that able to sign or verify and in order to test I made a simple production.
Hope this helps
HI, David! Thanks for sharing this! Would you like to post your project as a repository on github?
We'll fork it on https://github.com/intersystems
Thanks you in advance!
Yes, but give me some instructions on how to do that
Thanks
Is it your account on github ?
Looks like you already know how to create repository and work with github.
Just create another repository, and create some readme (in english), license file. Most of projects on InterSystems technologies uses MIT license.
In your porject more then one class, so better to export each file separately. Easy to do it with Studio hooks, for example with this project. It can help to export project files automaticaly after compile.
And then after publish your project, Evgeny or somebody else who manage intersystems account, will fork it.
Configuring Git integration in the Studio and creating proper GitHub repo is not a rocket science, thoug it requires some getting used to the 1st time. If you want to I'll call you this Moday.
Hi David! Besides listed suggestions there are some another options to work with git from Cache Studio:
1. sc.plugin - Studio hooks tool for exporting/importing COS code in UDL format
2. source control - very simple Studio hooks implementation to export/import in xml format.
To work with github repos and source files you can try github desktop:
Create new repo on github and then click 'Install github Desktop' button as shown here.
Follow instructions.
Thanks Timur, I want to use Atelier, but in that case the source classes are not XML projected. There is any "indication" about the Repository format.
In other hand, yes, I know how to create and publish the Repository, but my doubt is about how to fork it on https://github.com/intersystems, I guess you re-create the repository there, true?
Thanks for the clarification
From the practical point of view, taking into account backward compatibility and trying to cover as wide audience today as possible, I'd still recommend today to create repositories with XML classes exported. In a longer run, UDL export is much easier to handle [and provide better Cache' visibility], but this moment IMHO is not yet achieved.
Back to repositories questions: well, there are several people which has commit permissions to intersystems and intersystems-ru hubs. So many people could create fork of "interesting" project. But usually it's me, who maintain repositories in synchronized state (using this set of scripts if this matter).
So here is the recommended plan - you create personal repo, with reasonable README and accepted license (MIT is recommended, BSD or Apache is ok). Then give us know (via this same channels as we use at the moment).
And, if this sort of question is of some interest for you, in our (originated from Russian office) projects, which we start to recommend this simple set of code guidelines - https://github.com/intersystems-ru/cos-guidelines
You may entirely ignore them, if they are incompatible with your style (and we still ok to fork your code in that case, if it's still interesting and useful), but at least pay your attention. Eventually. [Or better yet open GitHub issue if you have any complaint or suggestion]
I think the repo is well created and populated https://github.com/drechema/ensemble-smime
Tell me if works and anything you need in order to fork it
Looks nice! Thank you!
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue