-
Notifications
You must be signed in to change notification settings - Fork 203
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
Smimedemo #196
base: master
Are you sure you want to change the base?
Smimedemo #196
Commits on Oct 3, 2018
-
First submission of a working CMS S/MIME encoding/decoding
demo. Only works with the most up to date MUA which there only seems to be one open source project availabe at this time. Offloaded many switches into a separate config file named "smime.js". DOM operation centric routines where placed into "dom.js" Expanded the field which can be created in an X509 certificate or PKCS10 to include alternate_name fields, including IP addresses. Removed email from the DN as it's depricated. Added nessesary parsing so multipart/signed messages can be parsed in this demo long with opaque signed. Expanded the amount of information extracted from included message certificates. Fields are first returned in an object with arrays, which are then proccessed into a table. Certificate chain for verification is extracted from the message at time of parsing. On branch smimedemo Changes to be committed: new file: examples/CMSSignedEncryptComplexExample/README.md new file: examples/CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml new file: examples/CMSSignedEncryptComplexExample/dom.js new file: examples/CMSSignedEncryptComplexExample/es6.js new file: examples/CMSSignedEncryptComplexExample/package.json new file: examples/CMSSignedEncryptComplexExample/rollup.config.js new file: examples/CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 9f23902 - Browse repository at this point
Copy the full SHA 9f23902View commit details -
Remove bundle.js, accidentally included.
On branch smimedemo Changes to be committed: deleted: examples/CMSSignedEncryptComplexExample/bundle.js
David Koolhoven authored and David Koolhoven committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for fe5ca7c - Browse repository at this point
Copy the full SHA fe5ca7cView commit details
Commits on Oct 4, 2018
-
Changed line ending from LF to CRLF for windows users.
Changes to be committed: modified: examples/CMSSignedEncryptComplexExample/README.md modified: examples/CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml modified: examples/CMSSignedEncryptComplexExample/dom.js modified: examples/CMSSignedEncryptComplexExample/es6.js modified: examples/CMSSignedEncryptComplexExample/rollup.config.js modified: examples/CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedOct 4, 2018 Configuration menu - View commit details
-
Copy full SHA for 6a4ba12 - Browse repository at this point
Copy the full SHA 6a4ba12View commit details
Commits on Oct 5, 2018
-
Changes to be committed: new file: SMIMESignedEncryptComplexExample/README.md new file: SMIMESignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml new file: SMIMESignedEncryptComplexExample/dom.js new file: SMIMESignedEncryptComplexExample/es6.js new file: SMIMESignedEncryptComplexExample/package.json new file: SMIMESignedEncryptComplexExample/rollup.config.js new file: SMIMESignedEncryptComplexExample/smime.js Changes not staged for commit: deleted: CMSSignedEncryptComplexExample/README.md deleted: CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml deleted: CMSSignedEncryptComplexExample/dom.js deleted: CMSSignedEncryptComplexExample/es6.js deleted: CMSSignedEncryptComplexExample/package.json deleted: CMSSignedEncryptComplexExample/rollup.config.js deleted: CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedOct 5, 2018 Configuration menu - View commit details
-
Copy full SHA for f55ec4e - Browse repository at this point
Copy the full SHA f55ec4eView commit details -
modified: examples/SMIMESignedEncryptComplexExample/dom.js modified: examples/SMIMESignedEncryptComplexExample/es6.js modified: examples/SMIMESignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedOct 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 180ec21 - Browse repository at this point
Copy the full SHA 180ec21View commit details -
Transition from var to let. Renamed test file.
Changes to be committed: modified: examples/SMIMESignedEncryptComplexExample/package.json
David Koolhoven authored and David Koolhoven committedOct 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 0a04ead - Browse repository at this point
Copy the full SHA 0a04eadView commit details
Commits on Oct 10, 2018
-
Switched from constructor calls to litteral calls where
possible. Changes to be committed: modified: examples/SMIMESignedEncryptComplexExample/es6.js
David Koolhoven authored and David Koolhoven committedOct 10, 2018 Configuration menu - View commit details
-
Copy full SHA for b776410 - Browse repository at this point
Copy the full SHA b776410View commit details -
Removing copied files from branch.
Changes to be committed: deleted: examples/CMSSignedEncryptComplexExample/README.md deleted: examples/CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml deleted: examples/CMSSignedEncryptComplexExample/dom.js deleted: examples/CMSSignedEncryptComplexExample/es6.js deleted: examples/CMSSignedEncryptComplexExample/package.json deleted: examples/CMSSignedEncryptComplexExample/rollup.config.js deleted: examples/CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedOct 10, 2018 Configuration menu - View commit details
-
Copy full SHA for 0b0671e - Browse repository at this point
Copy the full SHA 0b0671eView commit details
Commits on Oct 17, 2018
-
Remove JSLint warnings. Must set following globals in JSLint:
var Blob; var crypto; var TextEncoder; var TextDecoder; var context; var it; var assert; Options: Allow "this", Allow bitwise operators.
David Koolhoven authored and David Koolhoven committedOct 17, 2018 Configuration menu - View commit details
-
Copy full SHA for 5f06dc0 - Browse repository at this point
Copy the full SHA 5f06dc0View commit details
Commits on Oct 18, 2018
-
Implemented "use strict" in accordance with the environment
the functions would operate in. Removed one variable from the global space.
David Koolhoven authored and David Koolhoven committedOct 18, 2018 Configuration menu - View commit details
-
Copy full SHA for 73edf63 - Browse repository at this point
Copy the full SHA 73edf63View commit details -
Text box label will now appear above as a block rather than
to the left.
David Koolhoven authored and David Koolhoven committedOct 18, 2018 Configuration menu - View commit details
-
Copy full SHA for 25e542c - Browse repository at this point
Copy the full SHA 25e542cView commit details
Commits on Oct 19, 2018
-
Parsed certificate table generator now produces internal
tables to list Subject attribute value pairs, and alt name rather than generating a DN string and an unordered.
David Koolhoven authored and David Koolhoven committedOct 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 0913807 - Browse repository at this point
Copy the full SHA 0913807View commit details
Commits on Oct 22, 2018
-
Corrected a problem when clicking import certificates.
David Koolhoven authored and David Koolhoven committedOct 22, 2018 Configuration menu - View commit details
-
Copy full SHA for be74514 - Browse repository at this point
Copy the full SHA be74514View commit details -
Merge remote-tracking branch 'upstream/master' into smimedemo
Syncing this fork with upstream.
David Koolhoven authored and David Koolhoven committedOct 22, 2018 Configuration menu - View commit details
-
Copy full SHA for ab9b36d - Browse repository at this point
Copy the full SHA ab9b36dView commit details -
Corrected a key import problem.
David Koolhoven authored and David Koolhoven committedOct 22, 2018 Configuration menu - View commit details
-
Copy full SHA for 6b21577 - Browse repository at this point
Copy the full SHA 6b21577View commit details
Commits on Oct 24, 2018
-
Changed a configuration variable to make demo deployment
more convenient.
David Koolhoven authored and David Koolhoven committedOct 24, 2018 Configuration menu - View commit details
-
Copy full SHA for 257e2fe - Browse repository at this point
Copy the full SHA 257e2feView commit details -
Merge branch 'smimedemo' of github.com:koolsys/PKI.js into smimedemo
David Koolhoven authored and David Koolhoven committedOct 24, 2018 Configuration menu - View commit details
-
Copy full SHA for 4f535e1 - Browse repository at this point
Copy the full SHA 4f535e1View commit details -
When exporting as PKCS12, the private key and first
certificate will now share the same localKeyID.
David Koolhoven authored and David Koolhoven committedOct 24, 2018 Configuration menu - View commit details
-
Copy full SHA for 2b7ff06 - Browse repository at this point
Copy the full SHA 2b7ff06View commit details
Commits on Oct 26, 2018
-
David Koolhoven authored and David Koolhoven committed
Oct 26, 2018 Configuration menu - View commit details
-
Copy full SHA for ab3e7e4 - Browse repository at this point
Copy the full SHA ab3e7e4View commit details -
Merge branch 'smimedemo' of github.com:koolsys/PKI.js into smimedemo
David Koolhoven authored and David Koolhoven committedOct 26, 2018 Configuration menu - View commit details
-
Copy full SHA for da2e9ba - Browse repository at this point
Copy the full SHA da2e9baView commit details -
Merge remote-tracking branch 'upstream/master' into smimedemo
David Koolhoven authored and David Koolhoven committedOct 26, 2018 Configuration menu - View commit details
-
Copy full SHA for dca10e8 - Browse repository at this point
Copy the full SHA dca10e8View commit details
Commits on Oct 27, 2018
-
Fixed a bug where encryption was pulling source data from an
internal variable rather than a text field in the document.
David Koolhoven authored and David Koolhoven committedOct 27, 2018 Configuration menu - View commit details
-
Copy full SHA for c3bd664 - Browse repository at this point
Copy the full SHA c3bd664View commit details -
Merge branch 'smimedemo' of github.com:koolsys/PKI.js into smimedemo
David Koolhoven authored and David Koolhoven committedOct 27, 2018 Configuration menu - View commit details
-
Copy full SHA for 2c55605 - Browse repository at this point
Copy the full SHA 2c55605View commit details
Commits on Nov 1, 2018
-
Trusted certificates are cleared from the internal array
each time a new certificate is added to the textarea.
David Koolhoven authored and David Koolhoven committedNov 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 61ed751 - Browse repository at this point
Copy the full SHA 61ed751View commit details -
Certificate tables are now cleared before appending new
tables to the document object. Information regarding parsed messages is cleared before new information is appended to the document object. Message encapsulation is now included.
David Koolhoven authored and David Koolhoven committedNov 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 7f65d91 - Browse repository at this point
Copy the full SHA 7f65d91View commit details
Commits on Nov 5, 2018
-
Fix problems with encryption example and OriginatorInfo class
Signed-off-by: YuryStrozhevsky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a1cf28 - Browse repository at this point
Copy the full SHA 2a1cf28View commit details
Commits on Nov 7, 2018
-
Added setEngine call so getCrypto will return undefined if window.crypto.subtle is undefined.
David Koolhoven authored and David Koolhoven committedNov 7, 2018 Configuration menu - View commit details
-
Copy full SHA for 685df09 - Browse repository at this point
Copy the full SHA 685df09View commit details
Commits on Nov 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f8a9c77 - Browse repository at this point
Copy the full SHA f8a9c77View commit details
Commits on Nov 11, 2018
-
Merge pull request PeculiarVentures#203 from kant/patch-1
Typos on paragraph PeculiarVentures#288
Configuration menu - View commit details
-
Copy full SHA for 163758f - Browse repository at this point
Copy the full SHA 163758fView commit details
Commits on Nov 13, 2018
-
Fix problem with getCrypto for old-style browsers
Signed-off-by: YuryStrozhevsky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd4e9ac - Browse repository at this point
Copy the full SHA fd4e9acView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e2246 - Browse repository at this point
Copy the full SHA c9e2246View commit details
Commits on Nov 19, 2018
-
Fix problem described in issue PeculiarVentures#206
Signed-off-by: YuryStrozhevsky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 578d0c3 - Browse repository at this point
Copy the full SHA 578d0c3View commit details
Commits on Nov 28, 2018
-
Implementing example for OpenSSL encrypted keys, new tests and fixes
Signed-off-by: YuryStrozhevsky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69c9cac - Browse repository at this point
Copy the full SHA 69c9cacView commit details
Commits on Nov 29, 2018
-
Possible fix for issue PeculiarVentures#210
Signed-off-by: YuryStrozhevsky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b165c18 - Browse repository at this point
Copy the full SHA b165c18View commit details
Commits on Dec 5, 2018
-
Protections Against Wrong Types Added
Checks for scheme type on data before decoding, this allows us to alert the user if a key is being used where a certificate should be. Also checks for base64 decode success before continuing. Removed setEngine call as issue PeculiarVentures#204 is closed upstream.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for e31fdf1 - Browse repository at this point
Copy the full SHA e31fdf1View commit details -
First submission of a working CMS S/MIME encoding/decoding
demo. Only works with the most up to date MUA which there only seems to be one open source project availabe at this time. Offloaded many switches into a separate config file named "smime.js". DOM operation centric routines where placed into "dom.js" Expanded the field which can be created in an X509 certificate or PKCS10 to include alternate_name fields, including IP addresses. Removed email from the DN as it's depricated. Added nessesary parsing so multipart/signed messages can be parsed in this demo long with opaque signed. Expanded the amount of information extracted from included message certificates. Fields are first returned in an object with arrays, which are then proccessed into a table. Certificate chain for verification is extracted from the message at time of parsing. On branch smimedemo Changes to be committed: new file: examples/CMSSignedEncryptComplexExample/README.md new file: examples/CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml new file: examples/CMSSignedEncryptComplexExample/dom.js new file: examples/CMSSignedEncryptComplexExample/es6.js new file: examples/CMSSignedEncryptComplexExample/package.json new file: examples/CMSSignedEncryptComplexExample/rollup.config.js new file: examples/CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 2f647df - Browse repository at this point
Copy the full SHA 2f647dfView commit details -
Remove bundle.js, accidentally included.
On branch smimedemo Changes to be committed: deleted: examples/CMSSignedEncryptComplexExample/bundle.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 1382d78 - Browse repository at this point
Copy the full SHA 1382d78View commit details -
Changed line ending from LF to CRLF for windows users.
Changes to be committed: modified: examples/CMSSignedEncryptComplexExample/README.md modified: examples/CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml modified: examples/CMSSignedEncryptComplexExample/dom.js modified: examples/CMSSignedEncryptComplexExample/es6.js modified: examples/CMSSignedEncryptComplexExample/rollup.config.js modified: examples/CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 9193fa2 - Browse repository at this point
Copy the full SHA 9193fa2View commit details -
Changes to be committed: new file: SMIMESignedEncryptComplexExample/README.md new file: SMIMESignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml new file: SMIMESignedEncryptComplexExample/dom.js new file: SMIMESignedEncryptComplexExample/es6.js new file: SMIMESignedEncryptComplexExample/package.json new file: SMIMESignedEncryptComplexExample/rollup.config.js new file: SMIMESignedEncryptComplexExample/smime.js Changes not staged for commit: deleted: CMSSignedEncryptComplexExample/README.md deleted: CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml deleted: CMSSignedEncryptComplexExample/dom.js deleted: CMSSignedEncryptComplexExample/es6.js deleted: CMSSignedEncryptComplexExample/package.json deleted: CMSSignedEncryptComplexExample/rollup.config.js deleted: CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 62c7e7b - Browse repository at this point
Copy the full SHA 62c7e7bView commit details -
modified: examples/SMIMESignedEncryptComplexExample/dom.js modified: examples/SMIMESignedEncryptComplexExample/es6.js modified: examples/SMIMESignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 1ac56ba - Browse repository at this point
Copy the full SHA 1ac56baView commit details -
Transition from var to let. Renamed test file.
Changes to be committed: modified: examples/SMIMESignedEncryptComplexExample/package.json
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 06d1bc8 - Browse repository at this point
Copy the full SHA 06d1bc8View commit details -
Switched from constructor calls to litteral calls where
possible. Changes to be committed: modified: examples/SMIMESignedEncryptComplexExample/es6.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 2cc828a - Browse repository at this point
Copy the full SHA 2cc828aView commit details -
Removing copied files from branch.
Changes to be committed: deleted: examples/CMSSignedEncryptComplexExample/README.md deleted: examples/CMSSignedEncryptComplexExample/SMIMESignEncryptionExample.xhtml deleted: examples/CMSSignedEncryptComplexExample/dom.js deleted: examples/CMSSignedEncryptComplexExample/es6.js deleted: examples/CMSSignedEncryptComplexExample/package.json deleted: examples/CMSSignedEncryptComplexExample/rollup.config.js deleted: examples/CMSSignedEncryptComplexExample/smime.js
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 139edb0 - Browse repository at this point
Copy the full SHA 139edb0View commit details -
Remove JSLint warnings. Must set following globals in JSLint:
var Blob; var crypto; var TextEncoder; var TextDecoder; var context; var it; var assert; Options: Allow "this", Allow bitwise operators.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 915c317 - Browse repository at this point
Copy the full SHA 915c317View commit details -
Implemented "use strict" in accordance with the environment
the functions would operate in. Removed one variable from the global space.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for eb916e5 - Browse repository at this point
Copy the full SHA eb916e5View commit details -
Text box label will now appear above as a block rather than
to the left.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 2dc801a - Browse repository at this point
Copy the full SHA 2dc801aView commit details -
Parsed certificate table generator now produces internal
tables to list Subject attribute value pairs, and alt name rather than generating a DN string and an unordered.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 2e72d96 - Browse repository at this point
Copy the full SHA 2e72d96View commit details -
Corrected a problem when clicking import certificates.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for ef10c03 - Browse repository at this point
Copy the full SHA ef10c03View commit details -
Corrected a key import problem.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 76b6478 - Browse repository at this point
Copy the full SHA 76b6478View commit details -
Changed a configuration variable to make demo deployment
more convenient.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 26675a2 - Browse repository at this point
Copy the full SHA 26675a2View commit details -
When exporting as PKCS12, the private key and first
certificate will now share the same localKeyID.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for cd0115d - Browse repository at this point
Copy the full SHA cd0115dView commit details -
David Koolhoven authored and David Koolhoven committed
Dec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 0875363 - Browse repository at this point
Copy the full SHA 0875363View commit details -
Fixed a bug where encryption was pulling source data from an
internal variable rather than a text field in the document.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 54981d9 - Browse repository at this point
Copy the full SHA 54981d9View commit details -
Trusted certificates are cleared from the internal array
each time a new certificate is added to the textarea.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 889c836 - Browse repository at this point
Copy the full SHA 889c836View commit details -
Certificate tables are now cleared before appending new
tables to the document object. Information regarding parsed messages is cleared before new information is appended to the document object. Message encapsulation is now included.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 88286db - Browse repository at this point
Copy the full SHA 88286dbView commit details -
Added setEngine call so getCrypto will return undefined if window.crypto.subtle is undefined.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 948ed53 - Browse repository at this point
Copy the full SHA 948ed53View commit details -
Protections Against Wrong Types Added
Checks for scheme type on data before decoding, this allows us to alert the user if a key is being used where a certificate should be. Also checks for base64 decode success before continuing. Removed setEngine call as issue PeculiarVentures#204 is closed upstream.
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 3f46af1 - Browse repository at this point
Copy the full SHA 3f46af1View commit details -
Merge branch 'smimedemo' of github.com:koolsys/PKI.js into smimedemo
Recommended by git program
David Koolhoven authored and David Koolhoven committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for fc1ac16 - Browse repository at this point
Copy the full SHA fc1ac16View commit details