From f1642c96de9a7dce22daffc7a3001425ff75e576 Mon Sep 17 00:00:00 2001 From: "jeevan.kamkar" Date: Fri, 11 Aug 2023 11:34:39 +0530 Subject: [PATCH] updating the cert for ut --- caphandler/basicAuth_test.go | 324 +++++++++++++++++++++-------------- config/mockconfig.go | 232 +++++++++++++------------ 2 files changed, 315 insertions(+), 241 deletions(-) diff --git a/caphandler/basicAuth_test.go b/caphandler/basicAuth_test.go index b6b2814..a98da4a 100644 --- a/caphandler/basicAuth_test.go +++ b/caphandler/basicAuth_test.go @@ -1,15 +1,15 @@ -//(C) Copyright [2020] Hewlett Packard Enterprise Development LP +// (C) Copyright [2020] Hewlett Packard Enterprise Development LP // -//Licensed under the Apache License, Version 2.0 (the "License"); you may -//not use this file except in compliance with the License. You may obtain -//a copy of the License at +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain +// a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -//WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -//License for the specific language governing permissions and limitations +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations // under the License. package caphandler @@ -19,137 +19,207 @@ import ( "encoding/base64" "encoding/json" "fmt" - "github.com/ODIM-Project/PluginCiscoACI/config" - iris "github.com/kataras/iris/v12" - "github.com/kataras/iris/v12/httptest" - log "github.com/sirupsen/logrus" "net" "net/http" testhttp "net/http/httptest" "strings" "testing" + + "github.com/ODIM-Project/PluginCiscoACI/config" + iris "github.com/kataras/iris/v12" + "github.com/kataras/iris/v12/httptest" + log "github.com/sirup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65lVk2itjzqWkEA4X5U1E4mkRBs3l4GCwpaw7rKUF +URZohcbG2+qtaL2nLZTvuy3CSEn3blGtWd9zp2IVibhF7HdFEgV8U+Fr0ao= +-----END RSA PRIVATE KEY-----`) + hostPubKey = []byte(`-----BEGIN PUBLIC KEY----- +MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAuZwJSkQK5blNhxu+Fo5c +xeUcMX9rpUcB8us4BwZCsGq5DDpY8iunwmxLjtZb/fLFiz6iAfWx1vqLOcXPYbeY +LjF8jIqJaWuYryrV9WRctw5p7OdiYmtJK8ILqe08VIZLfs8qr0KZZP5zzoMNEntu +Elbs3Id2HUTrj7uJbSTZVMS32oJUEqtDzNK9pDl+cQIKFiV7Do+KPyMamKeiiari +zDKiyYsNxtBS+53Cp1MPctqKwcr85u5aN1MXZnDSVoB6HewwuPlrLzf/f1d0H7Hf +LJzAjxA9ikizJPL90oQiA94Ra1ZcTSMKZxbcErPJoOEWqMwTAzmYfd7KDinu64vL +NF+CEQEJlLFdMIf3zIDQKY9UI8SD9JqM1NYfzH6a8GGK3rqEUBDrLkvUbOZs8DV6 +3YzY7ZB0lDxxtV/BVoSoVqONNYFyn7/vz+HXCaFGuO5x3ddPb5Gt0ckUWV9h3AsL +CPe1s3VnWVys/lJyLuTGRs1QdR77gXQbv29g6QfB4fIrqaOit4DguTV1xmyWjIhj +BMaLcqDJJ1bPJiyhMl5fQvnRgyk/HbKejW7wli59OnZW9stYxrhrPTqVfJOWvnJE +Bq4VYWoMrcs2G3NGfgwBABsMEYbm2Nn558Nv8OkXuYd2ENFndoSxRa5Crk3HZ5mE +Fy7PCcRO16uhaVrY97PbthcCAwEAAQ== +-----END PUBLIC KEY-----`) + hostRSAPrivKey = []byte(`-----BEGIN RSA PRIVATE KEY----- +MIIJKQIBAAKCAgEAuZwJSkQK5blNhxu+Fo5cxeUcMX9rpUcB8us4BwZCsGq5DDpY +8iunwmxLjtZb/fLFiz6iAfWx1vqLOcXPYbeY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7tNm3eJPS++Op5THmfpXY73jjJ1mZlZHdGHwbcCODK+cYd3m +UO+qI9hIchPuBohdV1BM104bNg9/u4O3Clx6w58R6VrtWL0fh8RMKR5je46+VLBM +6F8xB6Y4O8WM8wC/3YMrgAXfwp/uyOmqSjwiCbOTiab3sl9lIYuY02BKjgXxtwN0 +50USi4eIQC2b8r0iyt7W+CQ72EQaz65bapwu6KmXP1H4MQ171GQHlmwnRIholOtN +WzdNAoIBAQDAEM7OFO0afI60OpHAsTVi+UGToQkTCvFbykja/BQdADOEfYvkD8VJ +ID8g6WqqkMdS4fl3sLYigP/eIv5LnWnCSTHlbe4iKmmnvOXGGMcgFC2GsaVfhsuU +StuwLJMCpR8o4McDZj8TFIj47fiBb1ZwI3XGZDzThRlHeSFBJP06o61bi+o2eJoj +rwM9WstYuu1tNEOTYx3edtAhpggpAIN/WEDMjipR5DmfTgETbTpOGfmr2QPn12vp +HYug6aU1kugLq/Iov+KThbq14UdRqPAtLdlUdiEEGI8w4LJtwd+FZvV/VwcJj8Cu +kZs21/rWj+Z9CyrJk0ZJ7LqjOy40zGjhAoIBAQCkYKFno3xrW4qoWD84B2FEYWD7 +749mRxRxLqWCJ/eX5uqTVb+iYCQktmQDOjvpzsHL6YF6nNqf39Usawonj/ihnrsS +tT/0liov9zm6IbpBFlj+ML2ybS06yNf8RNLnG69QP6Ey4wbx/xMRNQjBHivEr8IW +QOcGKzUBzrRQBYwS8He/5vM0Sjn/+GRcIVWKhzWx6rQhTjTtW6TvFcDkNNqcXQxm +acl5jRgKpUnN5bp581jXxPOzQXgJOAKVcxhlOT2WtTmksXH7yIiCwLlF63vziro1 +2m/i230KQhjBXBQrEdrnzc1vs18VflEW9tmbhNI3c5trsapniaGBtjKVXkYd -----END RSA PRIVATE KEY-----`) ) diff --git a/config/mockconfig.go b/config/mockconfig.go index 18c3ca9..0813335 100644 --- a/config/mockconfig.go +++ b/config/mockconfig.go @@ -88,124 +88,128 @@ dLfmAFsFh1pNv8p7MQyOaQo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