adobe-license-decoder.rs icon indicating copy to clipboard operation
adobe-license-decoder.rs copied to clipboard

Look at Windows registry for Acrobat licensing info

Open adorton-adobe opened this issue 5 years ago • 3 comments

Why do you need this feature? Please describe.

On Windows, there are a pair of registry keys that enforce either NGL (next-gen licensing) or serialized licensing. We should add hooks to these keys in the decoder. I'm not sure if it makes sense to add the ability to manipulate these keys, but we should at least check for the presence of these keys in the registry and report their status.

Describe the solution you'd like

TBD - I assume for reporting we would include it with the rest of the license reports, but it could make more sense to implement a subcommand or something similar.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context about the feature request here.

adorton-adobe avatar Dec 18 '20 00:12 adorton-adobe

@adobeDan - Let me know if I captured the feature requirements accurately. And if you'd like, I can have someone on my team work on this. I think it would be a good way to start getting them familiar with Rust.

adorton-adobe avatar Dec 18 '20 00:12 adorton-adobe

Hi @adorton-adobe, I think you captured this very well, and I agree it would be a great feature, even in read-only form. I'd be delighted if you can spare someone to work on this and I agree it would be a good Rust immigration exercise so I've marked it as a good first issue.

For concreteness, here are the Windows registry keys (they are in the same hive):

  • The hive is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat\DC\Activation
  • The "force NGL" key is IsNGLEnforced which should be a DWORD with value 1
  • The "force serialization" key is IsAMTEnforced which should be DWORD with value 1

No one knows what happens if both are specified 😄 . So "don't do that"...

adobeDan avatar Dec 18 '20 01:12 adobeDan

Hi, just want to ask how and where do you run this?

MARK-XXX avatar Jan 19 '24 11:01 MARK-XXX