deployd / deployd-cli

The Deployd Command Line Interface
MIT License
7 stars 9 forks source link

Keygen errors #4

Open rgolea opened 7 years ago

rgolea commented 7 years ago

I get this error on keygen. I think in the integrated cli we did not have this problem. Had we?

{ Error: ENOENT: no such file or directory, open '.dpd/keys.json'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '.dpd/keys.json' }
moorthi07 commented 7 years ago

dpd Kegen, dpd showkey - work as expected. keys.json created in .dpd folder.

But there is little glitch , ie. If you rerun 'dpd keygen' - its not overwriting existing key. But its negligible. So closing as per 'PR #12'

C:\Users\iadmin\Downloads\deployd-cli-master\newdpd-app>dpd keygen created key 4dd350ace2567f50...

C:\Users\iadmin\Downloads\deployd-cli-master\newdpd-app>dpd showkey Copy this key for use in remote dashboard

4dd350ace2567f5010653e196b1a34e92b12e13c5e94d3aa05b2c78ece637455cbdde7c8380522d05a5f070c517d3d86a9b67a27e9d0c91d6 dbed1c29a48a3177dce7a5e44c6db2ca0ca150ea16642b5176b0a060f52fa80f988d057b1f9d9d5c6b07a785a51300d3d17abfc06d1ea3bf7 e64d9babae29de3e4c2194f4cc56bf54487caa6405b32298906de41c696f76ddcfb89c84696667b6c20af6f94974ff04589deb96c6f78dae3 47f75ba7645c61502fba90ba98732d3b6c1348b24fc76c4251791af8f16adfb65faee497e048fc0de9196aff5652f481c9727f53f36e734a5 9334775aa18cb0b54e9ae4117ca5e0425ec67f0c20fa74caaeb16742101d

C:\Users\iadmin\Downloads\deployd-cli-master\newdpd-app>cd .dpd

C:\Users\iadmin\Downloads\deployd-cli-master\newdpd-app.dpd>dir Volume in drive C has no label. Volume Serial Number is 0AF9-C560

Directory of C:\Users\iadmin\Downloads\deployd-cli-master\newdpd-app.dpd

07/15/2017 07:18 PM

. 07/15/2017 07:18 PM .. 07/15/2017 07:18 PM 521 keys.json 07/14/2017 09:09 PM pids 1 File(s) 521 bytes 3 Dir(s) 83,065,991,168 bytes free