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

Exporting elements from a FIPs enabled device #65

Closed
oleksandriegorov opened this issue Nov 18, 2024 · 1 comment
Closed

Exporting elements from a FIPs enabled device #65

oleksandriegorov opened this issue Nov 18, 2024 · 1 comment

Comments

@oleksandriegorov
Copy link

oleksandriegorov commented Nov 18, 2024

How to supply a password in python's API to "export_elements" granted that SMC is FIPS enabled?
Tried to use it as is and getting the error: "Error occurred during export file: You must provide a password to encrypt export file."

Here is Export all elements in FIPS KB article for UI:
https://help.forcepoint.com/ngfw/en-us/6.11.0/GUID-14764A37-F336-43C7-95EB-48827B1D3375.html

@lilianValeroFp
Copy link
Contributor

Hi @oleksandriegorov, indeed it is not support by the smc_python lib but you can workaround it by using SMCRequest with ".../system/export_elements" POST operation and "file_password" query parameter. We will handle it in our next release.

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