pliancy / intune-node Goto Github PK
View Code? Open in Web Editor NEWNodeJS API wrapper for Intune
Home Page: https://pliancy.github.io/intune-node/
License: MIT License
NodeJS API wrapper for Intune
Home Page: https://pliancy.github.io/intune-node/
License: MIT License
main
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can fix this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
semantic-release cannot push the version tag to the branch main
on the remote Git repository with URL https://x-access-token:[secure]@github.com/santese/intune-node.git
.
This can be caused by:
Good luck with your project β¨
Your semantic-release bot π¦π
@santese, thank you for this wonderful library π.
When submitting a LOB app, things are failing on the commit step. I think the problem is in my fileEncryptionInfo
. Would you please share the javascript, if you have it, that creates the fileEncryptionInfo
? I'd love to reference my code against a working example.
This is my attempt at it, which fails on the commit step.
const originalFileBuffer = fs.readFileSync(originalPath);
const key = crypto.randomBytes(32);
const iv = crypto.randomBytes(16);
const encryptor = crypto.createCipheriv('aes-256-cbc', key, iv);
// readFileSync will return a buffer when no encoding option is supplied
let encrypted = encryptor.update(originalFileBuffer);
encrypted = Buffer.concat([encrypted, encryptor.final()])
const hmacKey = crypto.randomBytes(32);
const hmac = crypto.createHmac('sha256', hmacKey);
hmac.update(encrypted)
const hmacHash = hmac.digest();
let encryptedWithHmac = Buffer.concat([hmacHash, iv, encrypted])
fs.writeFileSync(encryptedPath, encryptedWithHmac)
const encryptionInfo = {
encryptionKey: key.toString('base64'),
macKey: hmacKey.toString('base64'),
initializationVector: iv.toString('base64'),
mac: hmacHash.toString('base64'),
profileIdentifier: 'ProfileVersion1',
fileDigest: crypto.createHash('sha256').update(originalFileBuffer).digest('base64'),
fileDigestAlgorithm: 'SHA256'
};
console.log("***ENCRYPTION INFO***")
console.log(encryptionInfo)
const originalSize = fs.statSync(originalPath).size;
const encryptedSize = fs.statSync(encryptedPath).size;
console.log(`Original size ${originalSize} and encrypted size ${encryptedSize}`)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | npm-run-all |
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@azure/storage-blob
, @types/node
, @types/qs
, node
, qs
, rimraf
, semantic-release
, ts-jest
, tslib
, typedoc
, typedoc-plugin-missing-exports
, typescript
)@semantic-release/github
, @semantic-release/npm
, semantic-release
).github/workflows/push.yml
actions/checkout v4
actions/setup-node v4
.github/workflows/release.yml
actions/checkout v4
actions/setup-node v4
stefanzweifel/git-auto-commit-action v5
package.json
@azure/storage-blob 12.17.0
@microsoft/microsoft-graph-client 3.0.7
@microsoft/microsoft-graph-types-beta 0.40.0-preview
axios 1.6.7
isomorphic-fetch 3.0.0
qs ^6.11.2
tslib 2.6.2
@digitalroute/cz-conventional-changelog-for-jira 8.0.1
@pliancy/eslint-config-ts 1.1.1
@pliancy/semantic-release-config-npm 2.2.0
@semantic-release/git 10.0.1
@semantic-release/github 9.2.6
@semantic-release/npm 11.0.3
@types/isomorphic-fetch 0.0.39
@types/jest 29.5.12
@types/node 20.11.25
@types/qs 6.9.12
commitizen 4.3.0
cpy-cli 5.0.0
husky 8.0.3
jest 29.7.0
npm-run-all 4.1.5
pinst 3.0.0
rimraf 5.0.5
semantic-release 23.0.2
ts-jest 29.1.2
ts-node 10.9.2
typedoc 0.25.11
typedoc-plugin-missing-exports 2.2.0
typescript 5.4.2
node 20.11.1
uploadToAzureBlob function is failing at blockBlobClient.uploadStream(file, bufferSize, 5). I have confirmed all the steps above the uploadStrem() are successful. This is the error message:
TypeError: _this.readable.on is not a function
at /home/??????/node_modules/@azure/storage-blob/src/utils/BufferScheduler.ts:237:21
....
...
at BlockBlobClient.uploadStream (/home/????????/node_modules/@azure/storage-blob/dist/index.js:14813:22)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.