-
Notifications
You must be signed in to change notification settings - Fork 25
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
fix(config): removed use_allowlist from config #231
Conversation
83b7c19
to
9a5c819
Compare
9a5c819
to
a60995a
Compare
@@ -25,10 +25,8 @@ To deploy the MPS on a local development system: | |||
git clone https://github.com/open-amt-cloud-toolkit/mps.git && cd mps | |||
``` | |||
|
|||
2. Modify the mps/.mpsrc file’s allowlist and common name settings. Save and close the file. | |||
2. Modify the mps/.mpsrc file common name settings. Save and close the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure this is updated in the docs repo
@@ -8,7 +8,7 @@ | |||
Functionality has been modified for standalone operation only (Meshcentral services will not work with this code) | |||
Parameters: | |||
parent (mpsMicroservice): parent service invoking this module (provides eventing and wiring services) | |||
db: database for credential and allowlisting | |||
db: database for credential |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -67,66 +65,23 @@ export class SecretsDbProvider implements IDbProvider { | |||
const amtpass = data.data.AMT_PASSWORD | |||
return [user, amtpass] | |||
} catch (error) { | |||
this.logger.error('Error while retrieving device credentials\r\n') | |||
this.logger.error(error) | |||
this.logger.error('Error while retrieving device credentials :', error) | |||
return null | |||
} | |||
} | |||
|
|||
async IsGUIDApproved (guid: string, cb: any): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd like to start to "generazing" the vaultDbProvider a bit, so, in essence should the function simple be "GetDevice Secret()" ?
Also, includes fix for below:
2021-06-07T18:28:51.526Z error: getSecretFromKey error
2021-06-07T18:28:51.527Z error: Status 404