pashword
ultra-weather
Our great sponsors
pashword | ultra-weather | |
---|---|---|
30 | 15 | |
262 | 70 | |
0.4% | - | |
0.0 | 1.5 | |
about 2 months ago | 11 months ago | |
TypeScript | Svelte | |
GNU Affero General Public License v3.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pashword
-
Show HN: Pashword – Hashed Password Calculator
Source Code: https://github.com/pashword/pashword
I built this webapp a few months ago because I forgot my bank account password and got locked out. A few days later, my friend complained to me about the same problem, he forgot his password and couldn't login.
This was a fun way to learn more about cryptography and hashing in detail and it was a lot of fun creating something that I would personally use.
I am well aware of the pitfalls and shortcomings of using such a tool but to be honest, I like Pashword because it suits my threat model and it's very convenient for me to use as well.
Would love to know what HN thinks about it and if there's anything I could do to improve it as well :)
This is beautifully done, great design work.
Scrypt for password stretching seems good. I see you're using CPU cost of 2^15. When storing a password hash you'd want to use 2^17 (with agility to change algorithm or increase cost in the future) [1]. Since you're not storing the result, I suspect the lower number is reasonable.
I don't like simple concatenation when building a salt from two variable length fields. You'll get the same salt for `"foo" + "bar"` and `"foob" + "ar"`, but the salt should be unique. Although I don't think that's an issue for this project since the first is a website.
Using the website in the salt has some issues when there are multiple domains that use the same password. Do I use mail.google.com, auth.google.com, or google.com? trello.com or atlassian.net? What if the website it bought and the new owner changes the domain name? With a password manager, I can just look in my vault to figure out the old domain name.
Phishing is a major way passwords are stolen and this project doesn't seem to do anything to protect against that. A browser extension (and mobile app), that checks the domain name before showing/filling the password could help.
The secret key field let me use `1234` as the key, although the color of the field was red. I think this should either prevent obviously weak passphrases or show a much more obvious warning if when one is used. Using a password found in a breach is also a bad idea (even it the password looks strong). You don't have a way to check HIBP, so users will be vulnerable if they make that mistake. It's too easy to make a critical mistake with the current design.
A bug: I filled out the form but forgot to enable JavaScript. The form posted my passphrase back to the server (https://pashword.app/?website=google.com&username=me&passphr...). I'd recommend changing the form so the submit button doesn't do anything when JS isn't loaded, otherwise the server will learn users passphrases. This is also a good place to remember that the user fully trusts that you wont steal their info (I'm not sure why anyone should trust that).
Also check out other similar projects, lots of discussion which likely applies here as well. I believe one of these supports uses a counter to support password rotation. You'd just need to remember the counter value for each site.
* LessPass - https://news.ycombinator.com/item?id=12889807
- Ask HN: Tools you have built for yourself?
- Hard reset every day
- Design-first open source softwares, is that a thing/possible?
-
Why Tailwindcss over styled-components?
Just take a look here: https://github.com/pashword/pashword/blob/main/pages/index.tsx
-
Pashword - FOSS Hashed Password Generator - Works without internet, Works anywhere, Never forget your passwords ever again.
Source Code/Star it on Github: https://github.com/NayamAmarshe/pashword
-
I forgot my bank account password and got locked out (not the first time), so I made a webapp that generates strong passwords that I don't need to remember. After months of work, here it is! A FOSS Webapp that works offline! Never forget passwords ever again!
Fully FOSS, Everything happens on the client side. Source Code: https://github.com/NayamAmarshe/pashword
ultra-weather
- Show HN: Briefsky – a free Dark Sky clone for multiple weather APIs
-
Ask HN: What have you created that deserves a second chance on HN?
I tried sharing a couple of my web apps:
- HN the way I want to read it: https://hw.leftium.com/
- Source code: https://github.com/Leftium/hckrweb
- Weather forecast compared to last two days' weather: https://github.com/Leftium/ultra-weather#readme
- Ask HN: Tools you have built for yourself?
- Ask HN: Where do you get weather forecasting in a browser?
-
Dark Sky iOS app ends December 31, 2022
One of the reasons I built https://uw.leftium.com/ was so I could see the previous two days' weather.
It uses the DarkSky API, but also supports other weather API's: https://github.com/Leftium/ultra-weather#readme
- Ask HN: Share Your Personal Site
-
Show HN: Weather API for non-commercial use (open-meteo.com)
Great idea. It should be simple to add. Just need to connect the variable that controls C/F display with the logic that handles other query string parameters.
If you're referring to https://uw.leftium.com/, tap the temperature in landscape mode ;)
The app defaults to F because it gives the more "human" temperature range.
I've investigated and tried several (free) weather API's for my web app: https://uw.leftium.com.
Open-Meteo looks pretty good! The only thing that seems to be missing for me is precipitation probability. The weathercode is sort of a proxy for this... I'm also interested in sunrise/sunset times; direct_radiation is kind of a proxy for this.
Kudos for providing optional historical data with the same API call for the forecast. Many weather API's don't provide historical data, and even if they do, it requires extra calls. My weather app charts the previous two days of weather with the forecast for comparison. I feel this gives a more intuitive sense of the weather vs. raw numbers because weather is very relative. ("Warm" vs "cool" depends on your location and season.)
In addition, I am in the process of adding AQI forecasts, which requires even more network calls. It seems like this is on the roadmap for open-meteo. I was surprised to find there are so many different standards for AQI. Curious to know which one you plan to use.
One possible suggestion for optimizing the output format: sending seconds since the Unix epoch would save a few bytes per timestamp. I'm not sure if this would make any noticeable difference with gzip compression. The current datetime format is much more human-readable and may save a conversion before displaying.
These were the best (free) weather API's I could find. It's interesting how the three different weather forecasts can disagree so much:
- https://openweathermap.org/api
- https://www.visualcrossing.com/weather-api
- https://darksky.net/dev (deprecated)
When I find the time, I will add open-meteo as to my app! I'll probably have more feedback then.
The app hit the DarkSky API free tier limit, so it's displaying mock data. There is a little message at the bottom. (Probably didn't snow two days ago, either...)
This API still works: https://uw.leftium.com/?api=openweather
What are some alternatives?
h3 - Hexagonal hierarchical geospatial indexing system
open-meteo - Free Weather Forecast API for non-commercial use
yr-weather-symbols - Weather symbols for yr.no
formkiq-core - A full-featured Document Layer for your application, providing the functionality of a flexible document management system, including storage, discovery, processing, and retrieval. Deploys directly into your Amazon Web Services Cloud. 🌟 Star to support our work!
kushagharahi
quinnkeast-website
nextjs-notion-starter
hugo-HackThePlanet-theme - A simple two column theme for Hugo
local-reverse-geocoder - Local reverse geocoder for Node.js based on GeoNames data
zxcvbn - Low-Budget Password Strength Estimation
react-simple-terminal - A very simplistic react terminal
jetson-nano-image - Create minimalist, Ubuntu based images for the Nvidia jetson boards [Moved to: https://github.com/pythops/jetson-image]