harbor/make/photon
Wang Yan 4017e995b7 roll back go for notary binary
Fixes #14932

Harbor recompiles the notary v0.6.1 with go 1.15 from v2.2.0, which introduces an break change that leads to notary key not found after migration.

[Root cause]
Notary v0.6.1 consumed an old version dvsekhvalnov/jose2, which is not compatible with go 1.15.

[References]
https://github.com/dvsekhvalnov/jose2go/issues/26
https://github.com/golang/go/issues/41089

[Resolve]
To resolve this issue, we have to roll back go vesrion to v1.14 for notary v0.6.1 binary and keep it until upstream have a patch release to support go 1.15 or above.

[Break change]
If you pushed and signed image using Harbor v2.2.0 ~ v2.2.2 and created new repository key in notary, you will encouter the same issue after migrate to v2.2.3(or above) or v2.3.1(or above) because of the go version downgrade. We will have a FAQ to help you to resovle this particular scenario.

The influence path of the particular case:
Harbor v2.1.0(or lower) --> [v2.2.0 ~ v2.2.2] --> v2.2.3(or above)
Harbor v2.1.0(or lower) --> v2.3.0 --> v2.3.1(or above)

The non influence path of the paticular case:
Harbor v2.1.0(or lower) --> v2.2.3(or above)
Harbor v2.1.0(or lower) --> v2.3.1(or above)

[Fix in Version]
Harbor v2.2.3 or above
Harbor v2.3.1 or above

[Note]
If you're a heavy user of notary, avoid using v2.2.0, v2.2.1, v2.2.2 and v2.3.0, and use the fixed version for instead.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-06-29 16:18:55 +08:00
..
chartserver Add IPv6 support 2021-06-03 09:04:49 +00:00
common Replace tilde in install_cert.sh 2020-12-21 20:39:34 +08:00
core Add IPv6 support 2021-06-03 09:04:49 +00:00
db fix: listen to 5443 when clean unexpected status of db 2021-06-08 06:41:23 +00:00
exporter bump up photon to 4.0 2021-03-31 13:25:29 +08:00
jobservice Add IPv6 support 2021-06-03 09:04:49 +00:00
log bump up photon to 4.0 2021-03-31 13:25:29 +08:00
nginx Add IPv6 support 2021-06-03 09:04:49 +00:00
notary roll back go for notary binary 2021-06-29 16:18:55 +08:00
notary-server bump up photon to 4.0 2021-03-31 13:25:29 +08:00
notary-signer bump up photon to 4.0 2021-03-31 13:25:29 +08:00
portal Undate Angular to the latest version (#15129) 2021-06-16 16:39:10 +08:00
prepare perf: configurations for perf improvement (#15142) 2021-06-15 18:39:15 +08:00
redis bump up photon to 4.0 2021-03-31 13:25:29 +08:00
registry Add IPv6 support 2021-06-03 09:04:49 +00:00
registryctl Add IPv6 support 2021-06-03 09:04:49 +00:00
standalone-db-migrator Provide a standalone migrator to migrate DB schema. 2020-08-06 18:57:55 +08:00
trivy-adapter Add IPv6 support 2021-06-03 09:04:49 +00:00
Makefile Fix issue of missing db base build process in build base workflow 2021-06-16 15:22:32 +08:00