Commit graph

7 commits

Author SHA1 Message Date
e726f2234d
feat: use fixed value for an instance for DNS challenge
DESCRIPTION
    Randomly generated values for forge ownership verification through
    DNS TXT records was making development process complicated. Using
    starchart instance's hostname for the TXT record's value is secure
    enough for our use case.

    This patch gets rid of all the code necessary to implement random
    value challenges
2023-02-22 12:05:49 +05:30
31fd0f0c51
chore: clippy lints 2022-07-15 20:59:32 +05:30
fe8bd2fb26
fix & chore: handle hostname/URL cleaning within trait implementation
SUMMARY
    Renamed function parameters from "hostname" to "url" wherever a
    url::Url is received

    db_core::get_hostname is renamed to db_core::clean_url, better
    describing its new implementation

    forge_core::get_hostname is renamed to forge_core::get_url to better
    describe its new implementation

URL PROCESSING METHODS

    federate/federate-core
	Parses URL and returns only the hostname

    db/db-core
	Parses URL, cleans it by removing path and query parameters and
	returns the end result
2022-07-15 20:52:47 +05:30
0ca420d1ff feat: impl get and submit DNS challenge 2022-05-19 17:35:22 +05:30
a2582fdce8 feat: use constant format challenge TXT key 2022-05-19 16:24:18 +05:30
5d1799a93d
chore: rename repo from world to starchart 2022-03-30 10:10:14 +05:30
ed18820b7a
feat: verify DNS TXT challenge 2022-03-28 12:20:03 +05:30