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

fix(config): removed use_allowlist from config #231

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

madhavilosetty-intel
Copy link
Contributor

Also, includes fix for below:

2021-06-07T18:28:51.526Z error: getSecretFromKey error
2021-06-07T18:28:51.527Z error: Status 404

@@ -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.
Copy link
Member

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
Copy link
Member

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> {
Copy link
Member

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()" ?

@madhavilosetty-intel madhavilosetty-intel merged commit 0deb603 into master Jun 9, 2021
@madhavilosetty-intel madhavilosetty-intel deleted the remove-allowlist-flag branch June 9, 2021 16:37
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

Successfully merging this pull request may close these issues.

3 participants