Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Why is a Shockwave Flash SWF file included #414

Open
mehboob-alam81 opened this issue Jul 28, 2022 · 3 comments · Fixed by #415
Open

Why is a Shockwave Flash SWF file included #414

mehboob-alam81 opened this issue Jul 28, 2022 · 3 comments · Fixed by #415
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@mehboob-alam81
Copy link

We noticed that [email protected] has a dependency on node-forge. [email protected] is includes swf/SocketPool.swf, apparently for some special networking features that can be optionally use a Flash component. As you know most browsers have disabled flash support for security reason. But customers are not allowing flash components (.swf files etc.) to be deployed.
Can this be cleaned up from google-p12-pem?

@mehboob-alam81 mehboob-alam81 added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jul 28, 2022
@sofisl sofisl self-assigned this Aug 2, 2022
@alexander-fenster
Copy link
Contributor

Hi @mehboob-at-ibm,

Are you aware of any replacement for node-forge that can be used instead of it?

I will keep this PR open as a feature request for now; if the existence of this swf file bothers anyone else, please +1 and we'll see what we can do. Probably one easy thing we could technically do without rewriting the code is forking node-forge and shipping the fork without an swf file. If any of the folks who experience this problem has a support contract, please mention this issue there.

Thank you!

@alexander-fenster alexander-fenster added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Aug 4, 2022
@mehboob-alam81
Copy link
Author

@alexander-fenster I am not aware. But I am not sure if " swf/SocketPool.swf" is really useful/needed anymore either.
There is an open an issue on the node-forege side as well - digitalbazaar/forge#843

@danielbankhead
Copy link
Member

I think we should work on internalizing the key functionality for node-forge - we use a very limited subset of it's API capabilities.

Related: It's also the largest dependency for downstream modules, such as @google-cloud/storage, which include node-forge from this package:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants