-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix bugs where device certificates cannot be uploaded or downloaded - Fix broken certificate download by preloading device certificates in plug - Fix certificate upload by adding phx-change handler to live upload * Add tests for certificate upload and download * Add tests for deleting and downloading certificates --------- Co-authored-by: Josh Kalderimis <josh.kalderimis@gmail.com>
- Loading branch information
Showing
6 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIFuzCCA6OgAwIBAgIUHqiYsi4e8UyttoXk2/xDsaYXZq8wDQYJKoZIhvcNAQEL | ||
BQAwbTELMAkGA1UEBhMCU0UxDTALBgNVBAgMBHRlc3QxDTALBgNVBAcMBHRlc3Qx | ||
DTALBgNVBAoMBHRlc3QxDTALBgNVBAsMBHRlc3QxDTALBgNVBAMMBHRlc3QxEzAR | ||
BgkqhkiG9w0BCQEWBHRlc3QwHhcNMjQwOTI0MDgwMDA4WhcNMzgwNjAzMDgwMDA4 | ||
WjBtMQswCQYDVQQGEwJTRTENMAsGA1UECAwEdGVzdDENMAsGA1UEBwwEdGVzdDEN | ||
MAsGA1UECgwEdGVzdDENMAsGA1UECwwEdGVzdDENMAsGA1UEAwwEdGVzdDETMBEG | ||
CSqGSIb3DQEJARYEdGVzdDC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D+QiMDNc/btmMgjYpX6nuDFFhRdSz8tfAyc5LzJxKG02Wbgq/yL9qE | ||
P217KH/gDWmpXRXw119T9nzmTewA03Eh/rr5VC/AKX8txRzJW/A1xY2iitLEiGW7 | ||
V8Z4wZTdKX1FY3CHBR8m9P7oglXovteLN+49uqs5kDz5rvS27oTSLUCcsUNS/JGR | ||
rh2Yn50FJsQuBvAAdNfVNv9DFmIv+D1GM138FtJlWF+7pI0KUqfG2LZ2DD3+e/Kv | ||
whv3OIk7Y9B/SN1e4SGNvq9IICd0UETy2AwxRzL0+deFv5S4H3EBKHoytvi0r/Ht | ||
70E/zwEJYuET6diqgN60DNxontPgg0HT+CJ9jqRaQJVPdq+183Igtyo/W1OPDkqu | ||
lVV+qW65DZKr+3/TTyq36HUaWOOqNo4Ra5gKo1ya9sn5aaUgfzrW87emU165qDS9 | ||
vrLA/Cd1UOxk4Dep7y7zeDkxe2C+RKkPOg7jJff+I3ZIk0SMQ8i4ILcy/EHmWSbJ | ||
nPOUTOHUL85z8RdFOcttEK79o4D/XuquYoHMxvSm+A== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters