~mehdix

Somewhere in Germany

https://mehdix.ir

I donate code.

~mehdix/public-inbox

Last active 2 months ago

~mehdix/rtltest

Last active 4 months ago

~mehdix/mehdix.ir

Last active 4 months ago
View more

Recent activity

Re: I will be moving to the Netherlands a month ago

From Mehdi Sadeghi to ~sircmpwn/public-inbox

Wish you a prosperous future in the Netherlands. Good luck, Mehdi

Re: How do I set up sr.ht locally for hacking? 2 months ago

From Mehdi Sadeghi to ~sircmpwn/sr.ht-discuss

On 5/16/21 13:35, Sol Fisher Romanoff wrote:
> I'd like to hack on sourcehut a bit and contribute to it, but I don't yet have a
> server to deploy it on. I'm not very familiar with using this kind of software
> and the Hacking on Sourcehut [1] page isn't very beginner-friendly.
> 
> Can somebody assist me with setting it up on my local machine? I have a 
feeling
> it's a very simple process that I'm missing.
> 
> [1]: https://man.sr.ht/hacking.md
> 

I guess the Hacking document expects you to figure out everything for 
yourself. However there is value in not figuring everything out by trial

Re: Meta thinks my ssh pubkey already exists in the db 3 months ago

From Mehdi Sadeghi to ~sircmpwn/sr.ht-discuss

On Tue, Apr 27, 2021 at 09:11:43AM -0400, Drew DeVault wrote:
> Do you have multiple sr.ht accounts? SSH keys need to be *globally*
> unique.

Yes, that was it. I have a second account which I plan to delete when the
functionality is there. Meanwhile I use it for testing.

Thanks.

Meta thinks my ssh pubkey already exists in the db 3 months ago

From Mehdi Sadeghi to ~sircmpwn/sr.ht-discuss

All,

I was about to push from a new system to git.sr.ht and tried to add my
ssh public key to meta. It was rejected with a message that it already
exists in https://meta.sr.ht/~mehdix.keys, except that it doesn't.

I checked the code below to see what happens upon adding:
https://git.sr.ht/~sircmpwn/meta.sr.ht/tree/master/item/metasrht/types/sshkey.py#L35

I tried the snippet with the keys and the definitely have different fingerprints.
So it looks fine. If I'm not mistaken, a cache somewhere has kept my ssh-key
around. I vaguely remember that I might have added and removed the same
key in the past. Below is the public key I tried to add:

[PATCH] license. 3 months ago

From Mehdi Sadeghi to ~sircmpwn/email-test-drive

---
 LICENSE | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 LICENSE

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e69de29
-- 
2.30.0

Re: Adding a PGP key larger than 3 months ago

From Mehdi Sadeghi to ~sircmpwn/sr.ht-discuss

> pictures in GPG keys are common in the EU, it certainly isn't in my bubble (Germany).

Oh, sorry for the vague statement. I meant putting picture on thing like resumes is common practice. However, from the last FOSDEM keysigning I can certainly remember keys with photos.

btw, I'm in the same bubble!

Re: Adding a PGP key larger than 3 months ago

From Mehdi Sadeghi to ~sircmpwn/sr.ht-discuss

I have also multiple uids and was planning to add a photo. This is I'd guess a common practice in EU.

How is the current size limit calculated? Are there technical difficulties in increasing the limit? Does having a photo  contradicts any of sr.ht goals?

Re: Managing my dotfiles as a git repository 3 months ago

From Mehdi Sadeghi to ~sircmpwn/public-inbox

> pass organizes passwords in a git repository by default.

Yes, you're t right. However, however the way I use it, it exposes a lot of metadata about services and websites I visit or use.  I'd appreciate any hack or thought on this.

What about configs with your email password for mutt, git send-mail and occasional secrets and tokens?

Re: Managing my dotfiles as a git repository 3 months ago

From Mehdi Sadeghi to ~sircmpwn/public-inbox

Thanks for elaborating on your dotfiles strategy. I was using yadm until 
now (which has served me well, thank you Tim Byrne!) and reading your 
article helped me to simplify my dotfiles even further and retire yadm 
in favour of vanilla git and use the `hostname` trick to have variants 
for each different arch or computer.


It would be interesting to know however, if you or anyone else has a 
good recommendation on storing secrets such as pass datastore or some 
personal notes in a similar simple fashion.


P.S.: for some reason TB is pushing for HTML even though I've explicitly 
set it not to do so. Sigh! I have to take more baby steps to learn and

Re: Opt out of FLoC 3 months ago

From Mehdi Sadeghi to ~sircmpwn/sr.ht-discuss

 > I may be a bit dense, but how is a http-server-side setting 
additional personal data?

My bad, you're perfectly right! It would only apply to DNT sent from 
http clients to http servers and not this.