summaryrefslogtreecommitdiff
path: root/docs/Publish.md
blob: 4692c1400fbe24fb2c7cb91114f2412cfb1edb67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
### Metadata publish workflow
The basic workflow is to:
1. Check metadata in metadata web tool: https://metadata.swamid.se/?showEntity=1234
2. check out swamid-metadata repo
3. cd swamid-metadata/metadata
4. Install dependencies:
`apt install xsltproc libdate-calc-perl libxml2-utils xmlsec1`

5. `scripts/get-metadata.sh 1234`  *Where 1234 is the entity number from website above*

.

    Replace login.sunet.se-oidc-authenticate-broker.xml with metadata [Y/n]? y
    ~/s/s/metadata (master)> git diff *Should show expected diff*
6. `make tag`

.

    cd ..; make tag
    make[1]: Entering directory '/home/mikael/src/swamid-metadata'
    cd metadata ; make commit
    make[2]: Entering directory '/home/mikael/src/swamid-metadata/metadata'
    Recreating MXML files
    swamid-2.0.mxml validates
    swamid-discovery.mxml validates
    swamid-edugain-1.0.mxml validates
    swamid-edugain-idp-1.0.mxml validates
    swamid-edugain-sp-1.0.mxml validates
    swamid-idp-2.0.mxml validates
    swamid-idp-transitive.mxml validates
    swamid-idp.mxml validates
    swamid-interfederations-2.0.mxml validates
    swamid-registered.mxml validates
    swamid-sp-2.0.mxml validates
    swamid-sp-transitive.mxml validates
    swamid-testing-1.0.mxml validates
    swamid-testing-idp-1.0.mxml validates
    swamid-testing-sp-1.0.mxml validates
    <snip>
    Differences between tag md-2023-08-17-v02 and what you are about to sign:
    diff --git a/metadata/swamid-edugain/login.sunet.se-oidc-authenticate-broker.xml b/metadata/swamid-edugain/login.sunet.se-oidc-authenticate-broker.xml
    index 7f41b2b5..2fb2eed2 100644
    --- a/metadata/swamid-edugain/login.sunet.se-oidc-authenticate-broker.xml
    +++ b/metadata/swamid-edugain/login.sunet.se-oidc-authenticate-broker.xml
    @@ -46,6 +46,7 @@
    <snip>
    ONLY SIGN IF YOU APPROVE OF VERIFICATION AND DIFF ABOVE

7. Touch yubikey to sign
8. Done! (Remember to answer the request in jira!)