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

修復使用 bdk ca up 啟動 ICA 時,不會使用設定到期時間 #41

Merged
merged 8 commits into from
Jan 11, 2022

Conversation

RuiSiang
Copy link
Contributor

PULL REQUEST

說明 (Description)

修復使用 bdk ca up 啟動 ICA 時,不會使用設定到期時間

相關問題 (Linked Issues)

貢獻種類 (Type of change)

  • Bug fix (除錯 non-breaking change which fixes an issue)
  • New feature (增加新功能 non-breaking change which adds functionality)
  • Breaking change (可能導致相容性問題 fix or feature that would cause existing functionality to not work as expected)
  • Doc change (需要更新文件 this change requires a documentation update)

測試環境 (Test Configuration):

  • OS:
  • NodeJS Version:
  • NPM Version:
  • Docker Version:

檢查清單 (Checklist):

  • 我的程式碼遵從此專案的規範 (My code follows the style guidelines of this project)
  • 我有對於自己的程式碼進行測試檢查 (I have performed a self-review of my own code)
  • 我有在程式碼中提供必要的註解 (I have commented my code, particularly in hard-to-understand areas)
  • 我有在文件中進行必要的更動 (I have made corresponding changes to the documentation)
  • 我的程式碼更動沒有顯著增加錯誤數量 (My changes generate no new warnings)
  • 我有新增必要的單元測試 (I have added tests that prove my fix is effective or that my feature works)
  • 我有檢查並更正程式碼錯誤的拼字 (I have checked my code and corrected any misspellings)

我已完成以上清單,並且同意遵守 Code of Conduct

I have completed the checklist and agree to abide by the code of conduct.

  • 同意 (I consent)

Copy link
Collaborator

@kth-tw kth-tw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. -i要改(現在ica不會問這些問題)
  2. 這幾個參數要不要改名?

    bdk/src/command/ca/up.ts

    Lines 96 to 113 in e1e7a53

    'rca-cn': {
    describe: '(RCA) Common name for RCA CSR if this is an RCA',
    type: 'string',
    },
    'rca-hosts': {
    describe: '(RCA) Hosts for RCA CSR if this is an RCA',
    type: 'string',
    },
    'rca-expiry': {
    describe: '(RCA) Certificate expiry for RCA CSR if this is an RCA',
    type: 'string',
    default: '131400h',
    },
    'rca-pathlength': {
    describe: '(RCA) Pathlength for RCA CSR if this is an RCA',
    type: 'number',
    default: 0,
    },

@RuiSiang RuiSiang requested a review from kth-tw January 6, 2022 03:39
src/command/ca/up.ts Show resolved Hide resolved
@kth-tw kth-tw merged commit fffde7e into cathayddt:master Jan 11, 2022
This was referenced Jan 22, 2022
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