Comments (7)
I been thinking this in a while. Im not sure if 2193228 could expose a security gap for you I guess no, so I would go more for a fake testkey
like
-----BEGIN RSA PRIVATE KEY-----
SoMeThIngFuNhErEaNdOthErsRaNdoMsChArAtEres
-----END RSA PRIVATE KEY-----
ssh-rsa MoArRandOmChArAcTeReSHeRe [email protected]
In that case we should select different files when nock
is disabled and point the users to create their own key when want to do a "live" run tests like we do on authentication configs.
from pkgcloud.
Excellent suggestion. I will give the fake testkey files a try to make sure they do not break any tests on all the providers. I will also update azure to use fake management certificates (if possible). We already select different config files when nock is turned off and errors are thrown when the files are not found. The user is already required to add a config file in test/configs for each provider when nock is off. These .json config files are ignored with .gitignore. When nock is on, we look in test/configs/mock for the provider config files.
from pkgcloud.
Yeah, thats what I mean, do the same.
@stammen you are doing an awesome work.
from pkgcloud.
I submitted a pull request with the testkeys now using the dummy data. I used SoMeThIngFuNhErEaNdOthErsRaNdoMsChArAtEres encoded to base64 in all of the files.
from pkgcloud.
Thanks @stammen, can you try now with the HEAD of master at bc154ff if your reproducible test case is solved, for confirm please.
from pkgcloud.
All tests pass in reproducible test case on windows and mac using HEAD of master at bc154ff.
from pkgcloud.
awesome!
from pkgcloud.
Related Issues (20)
- Openstack Object Storage temporary URLs return 401 HOT 7
- Whitesource vulnerability in package extend HOT 1
- Liboneandone is no longer supported HOT 2
- Image upload on Rackspace gets stuck in a loop HOT 7
- This package has a critical vulnerability by including an old version of growl, via mocha. Need to remove this dependency or upgrade dependencies in liboneandone. HOT 2
- Rackspace getNodes(): TypeError: Url must be a string. Received 123456
- How to use getVolume for Openstack in v3? HOT 1
- Possibility to set more s3 client options
- Update Keystone API version to 3 HOT 1
- Azure Storage getfiles issue and fix
- Software
- Program HOT 1
- Security vulnerability for transitive dependency => [email protected]
- TypeError: Cannot read property 'id' of undefined
- #FF5300
- Browser support? HOT 2
- The keyword 'interface' is reserved
- Is it possible to modify "Cache-Control" header of a file in Rackspace CDN?
- Unable to find matching endpoint for requested service
- Create containers with type: public
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkgcloud.