Skip to content

Conversation

liulinC
Copy link
Collaborator

@liulinC liulinC commented Mar 4, 2024

XS9 3943842

[08:13:19 04/03] SSH [email protected] /opt/xensource/debug/import-update-key /opt/xenrt/keys/RPM-GPG-KEY-XS-Eng-Test.pub
gpg: key 7610CBCE078E581F: public key "XS Eng test key <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1

gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   2  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 2u
pub  rsa2048/7610CBCE078E581F
     created: 2024-01-08  expires: 2024-07-06  usage: SCEA
     trust: unknown       validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>

pub  rsa2048/7610CBCE078E581F
     created: 2024-01-08  expires: 2024-07-06  usage: SCEA
     trust: unknown       validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu


pub  rsa2048/7610CBCE078E581F
     created: 2024-01-08  expires: 2024-07-06  usage: SCEA
     trust: ultimate      validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>
Please note that the shown key validity is not necessarily correct
unless you restart the program.


pub  rsa2048/7610CBCE078E581F
     created: 2024-01-08  expires: 2024-07-06  usage: SCEA
     trust: ultimate      validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>

XS8 25618140

[07:59:24 04/03] SSH [email protected] /opt/xensource/debug/import-update-key /opt/xenrt/keys/RPM-GPG-KEY-XS-Eng-Test.pub
gpg: key 078E581F: public key "XS Eng test key <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   2  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 2u
pub  2048R/078E581F  created: 2024-01-08  expires: 2024-07-06  usage: SCEA
                     trust: unknown       validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>

pub  2048R/078E581F  created: 2024-01-08  expires: 2024-07-06  usage: SCEA
                     trust: unknown       validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu


pub  2048R/078E581F  created: 2024-01-08  expires: 2024-07-06  usage: SCEA
                     trust: ultimate      validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>
Please note that the shown key validity is not necessarily correct
unless you restart the program.


pub  2048R/078E581F  created: 2024-01-08  expires: 2024-07-06  usage: SCEA
                     trust: ultimate      validity: unknown
[ unknown] (1). XS Eng test key <[email protected]>

@liulinC liulinC force-pushed the private/linl/dev branch from 2687420 to ba237b0 Compare March 6, 2024 09:00
@liulinC liulinC force-pushed the private/linl/dev branch from ba237b0 to ed46327 Compare March 6, 2024 09:06
@liulinC liulinC requested review from edwintorok and lindig March 6, 2024 09:10
@liulinC liulinC force-pushed the private/linl/dev branch 4 times, most recently from d73816b to 577a243 Compare March 7, 2024 05:21
@liulinC liulinC force-pushed the private/linl/dev branch from 577a243 to 1ff083a Compare March 7, 2024 10:13
Copy link
Contributor

@edwintorok edwintorok left a comment

Choose a reason for hiding this comment

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

No more version detection, this looks good now.
Please run some automated tests on both XS8 and XS9 to check it works on both.

@liulinC
Copy link
Collaborator Author

liulinC commented Mar 8, 2024

New XenRT:

  • XS8: 3947678
  • XS9: 3947677, Import key succeed. Failed with known issue which will be fixed in another ticket.

@liulinC liulinC merged commit b11f678 into xapi-project:feature/xs9 Mar 8, 2024
@@ -1,6 +1,9 @@
#!/bin/sh
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be /bin/bash because the script it using bash features and would not work in a Posix shell.

Copy link
Collaborator Author

@liulinC liulinC Mar 8, 2024

Choose a reason for hiding this comment

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

I merged the PR, will fix it up later.
Could you clarify which feature causing that issue? My testing of sh -x looks good.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I was wrong. I assumed ${#keyhash} (for string length) requires bash but it is in Posix.

Copy link

github-actions bot commented Mar 8, 2024

pytype_reporter extracted 50 problem reports from pytype output

.

You can check the results of the job here

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.

4 participants